diff --git a/components/hello/SConscript b/components/hello/SConscript new file mode 100644 index 0000000000000000000000000000000000000000..5c3eccd149394a5acb07a346c0c8b8ec1f2293a9 --- /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 0000000000000000000000000000000000000000..c4653793a4f5da5baa1fd3b21715a3214203de26 --- /dev/null +++ b/components/hello/hello.c @@ -0,0 +1,6 @@ +#include + +void hello() +{ + rt_kprintf("Hello RT-Thread\n"); +}