mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-22 00:03:02 +08:00
add hello module
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@593 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
8
components/hello/SConscript
Normal file
8
components/hello/SConscript
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Import('env')
|
||||||
|
|
||||||
|
src = ('hello.c')
|
||||||
|
|
||||||
|
obj = env.Object(src)
|
||||||
|
|
||||||
|
Return('obj')
|
||||||
|
|
6
components/hello/hello.c
Normal file
6
components/hello/hello.c
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#include <rtthread.h>
|
||||||
|
|
||||||
|
void hello()
|
||||||
|
{
|
||||||
|
rt_kprintf("Hello RT-Thread\n");
|
||||||
|
}
|
Reference in New Issue
Block a user