From c4163480201f3e947c679871ff50b10f922ea83d Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Wed, 7 Apr 2010 09:10:24 +0000 Subject: [PATCH] add hello module git-svn-id: https://rt-thread.googlecode.com/svn/trunk@593 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/hello/SConscript | 8 ++++++++ components/hello/hello.c | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 components/hello/SConscript create mode 100644 components/hello/hello.c diff --git a/components/hello/SConscript b/components/hello/SConscript new file mode 100644 index 0000000000..5c3eccd149 --- /dev/null +++ b/components/hello/SConscript @@ -0,0 +1,8 @@ +Import('env') + +src = ('hello.c') + +obj = env.Object(src) + +Return('obj') + diff --git a/components/hello/hello.c b/components/hello/hello.c new file mode 100644 index 0000000000..c4653793a4 --- /dev/null +++ b/components/hello/hello.c @@ -0,0 +1,6 @@ +#include + +void hello() +{ + rt_kprintf("Hello RT-Thread\n"); +}