summaryrefslogtreecommitdiff
path: root/ecos/examples/hello.c
diff options
context:
space:
mode:
authorMichael Gielda <mgielda@antmicro.com>2014-04-03 14:53:04 +0200
committerMichael Gielda <mgielda@antmicro.com>2014-04-03 14:53:04 +0200
commitae1e4e08a1005a0c487f03ba189d7536e7fdcba6 (patch)
treef1c296f8a966a9a39876b0e98e16d9c5da1776dd /ecos/examples/hello.c
parentf157da5337118d3c5cd464266796de4262ac9dbd (diff)
Added the OS files
Diffstat (limited to 'ecos/examples/hello.c')
-rw-r--r--ecos/examples/hello.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ecos/examples/hello.c b/ecos/examples/hello.c
new file mode 100644
index 0000000..94709d9
--- /dev/null
+++ b/ecos/examples/hello.c
@@ -0,0 +1,8 @@
+/* this is a simple hello world program */
+#include <stdio.h>
+
+int main(void)
+{
+ printf("Hello, eCos world!\n");
+ return 0;
+}