aboutsummaryrefslogtreecommitdiff
path: root/src/modules/helloworld/helloworld.c
diff options
context:
space:
mode:
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;
+}