diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2016-09-11 11:46:21 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2016-09-11 11:46:21 +0200 |
commit | 82ca0c1af744cb2b4b7f5680f3866f5ed7ee0270 (patch) | |
tree | f44588f0c9a59fb0bac7dbfb44dabefa301eb205 /apps/helloworld | |
download | nrf-playground-82ca0c1af744cb2b4b7f5680f3866f5ed7ee0270.tar.gz nrf-playground-82ca0c1af744cb2b4b7f5680f3866f5ed7ee0270.tar.bz2 nrf-playground-82ca0c1af744cb2b4b7f5680f3866f5ed7ee0270.tar.xz nrf-playground-82ca0c1af744cb2b4b7f5680f3866f5ed7ee0270.zip |
o Almost working version, not quite. Probably not the right way to do stuff.
Diffstat (limited to 'apps/helloworld')
-rw-r--r-- | apps/helloworld/CMakeLists.txt | 2 | ||||
-rw-r--r-- | apps/helloworld/main.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/apps/helloworld/CMakeLists.txt b/apps/helloworld/CMakeLists.txt new file mode 100644 index 0000000..a6bda1d --- /dev/null +++ b/apps/helloworld/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(helloworld main.c) +mcu_add_executable(TARGET helloworld) diff --git a/apps/helloworld/main.c b/apps/helloworld/main.c new file mode 100644 index 0000000..5fe71da --- /dev/null +++ b/apps/helloworld/main.c @@ -0,0 +1,6 @@ +#include <stdio.h> + +int main() { + printf("Hello world!"); + return 0; +} |