diff options
| author | bernard.xiong <[email protected]> | 2010-04-07 09:10:24 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-04-07 09:10:24 +0000 |
| commit | c4163480201f3e947c679871ff50b10f922ea83d (patch) | |
| tree | e81cfc18bde69da102fab386d5529c3c913ad853 | |
| parent | 4791db629649e0a7ab3c382c8a8e8adcf7d2f49f (diff) | |
add hello module
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@593 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | components/hello/SConscript | 8 | ||||
| -rw-r--r-- | components/hello/hello.c | 6 |
2 files changed, 14 insertions, 0 deletions
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 <rtthread.h> + +void hello() +{ + rt_kprintf("Hello RT-Thread\n"); +} |
