summaryrefslogtreecommitdiff
path: root/examples/module/basicapp
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-01-15 18:59:57 +0800
committerBernard Xiong <[email protected]>2018-01-15 18:59:57 +0800
commit8123ab4cd7097c04f44220b2d8d0d636a2c8fd8b (patch)
tree67fb897d9b53d68d9cd131ee775c59eedee2725a /examples/module/basicapp
parente14d030de9ab4135e5d006ecbef5a41cb88ce16c (diff)
[Examples] Remove unnecessary files
Diffstat (limited to 'examples/module/basicapp')
-rw-r--r--examples/module/basicapp/Sconscript7
-rw-r--r--examples/module/basicapp/basicapp.c30
2 files changed, 0 insertions, 37 deletions
diff --git a/examples/module/basicapp/Sconscript b/examples/module/basicapp/Sconscript
deleted file mode 100644
index d8dd99964e..0000000000
--- a/examples/module/basicapp/Sconscript
+++ /dev/null
@@ -1,7 +0,0 @@
-import rtconfig
-Import('RTT_ROOT')
-from building import *
-
-src = Glob('*.c')
-group = DefineGroup('', src, depend = [''])
-Return('group') \ No newline at end of file
diff --git a/examples/module/basicapp/basicapp.c b/examples/module/basicapp/basicapp.c
deleted file mode 100644
index 3a1927277e..0000000000
--- a/examples/module/basicapp/basicapp.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <rtthread.h>
-
-static int a = 0;
-static int b = 1000000;
-int c = 100;
-
-static void function(int count1, int count2, int count3)
-{
- rt_kprintf("Hello RT-Thread %d %d\n", count1, count2, count3);
-}
-
-int main(void)
-{
- int i;
-
- rt_kprintf("application entry\n");
- rt_kprintf("[addr]a-0x%x,b-0x%x,c-0x%x\n", &a, &b, &c);
- rt_kprintf("[value]a-%d,b-%d,c-%d\n", a, b, c);
-
- for(i=0; i<100; i++)
- {
- a++;
- b--;
- c++;
- function(a, c, b );
- }
-
- return 0;
-}
-