summaryrefslogtreecommitdiff
path: root/software/hello
diff options
context:
space:
mode:
Diffstat (limited to 'software/hello')
-rw-r--r--software/hello/Makefile6
-rw-r--r--software/hello/hello.c8
2 files changed, 14 insertions, 0 deletions
diff --git a/software/hello/Makefile b/software/hello/Makefile
new file mode 100644
index 0000000..c0c5c55
--- /dev/null
+++ b/software/hello/Makefile
@@ -0,0 +1,6 @@
+TARGET = hello
+C_SRCS += hello.c
+CFLAGS += -fno-builtin-printf
+
+BSP_BASE = ../../bsp
+include $(BSP_BASE)/env/common.mk
diff --git a/software/hello/hello.c b/software/hello/hello.c
new file mode 100644
index 0000000..85c5d87
--- /dev/null
+++ b/software/hello/hello.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main()
+{
+ printf("hello world!\n");
+
+ return 0;
+}