aboutsummaryrefslogtreecommitdiff
path: root/src/modules/helloworld/helloworld.c
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-05-06 23:24:59 +0200
committerJakob Odersky <jodersky@gmail.com>2015-05-14 12:27:10 +0200
commit893d4160e93f47e333b79e380fed88c9d9e7b732 (patch)
tree954752ead085632d0ad158da7dc44c53acd4402e /src/modules/helloworld/helloworld.c
parent20d2c44083911cf1969dc31f37e54a569a94b407 (diff)
downloadpx4-firmware-893d4160e93f47e333b79e380fed88c9d9e7b732.tar.gz
px4-firmware-893d4160e93f47e333b79e380fed88c9d9e7b732.tar.bz2
px4-firmware-893d4160e93f47e333b79e380fed88c9d9e7b732.zip
implement dummy helloworld app
Diffstat (limited to 'src/modules/helloworld/helloworld.c')
-rw-r--r--src/modules/helloworld/helloworld.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/helloworld/helloworld.c b/src/modules/helloworld/helloworld.c
new file mode 100644
index 000000000..5b5912125
--- /dev/null
+++ b/src/modules/helloworld/helloworld.c
@@ -0,0 +1,10 @@
+#include <nuttx/config.h>
+#include <stdio.h>
+#include <errno.h>
+
+__EXPORT int helloworld_main(int argc, char *argv[]);
+
+int helloworld_main(int argc, char *argv[]) {
+ printf("Hello world!\n");
+ return 0;
+}