summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-08-09 15:34:21 +0800
committerBernard Xiong <[email protected]>2015-08-09 15:34:21 +0800
commit300c7fd8ecd1f355038cf91a3a649677e2c103ab (patch)
tree07b4653b73c7843aef024772829497297da4dcff
parent200282a0bc392a9c45fc9954daa48dee9a90d2ea (diff)
[BSP] reduce the code size for STM32F0x
-rw-r--r--bsp/stm32f0x/rtconfig.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/bsp/stm32f0x/rtconfig.h b/bsp/stm32f0x/rtconfig.h
index f72cdfa6d3..03fa50ba3c 100644
--- a/bsp/stm32f0x/rtconfig.h
+++ b/bsp/stm32f0x/rtconfig.h
@@ -83,11 +83,13 @@
#define FINSH_THREAD_STACK_SIZE 1024
#define FINSH_HISTORY_LINES 1
/* Using symbol table */
-#define FINSH_USING_SYMTAB
-#define FINSH_USING_DESCRIPTION
+//#define FINSH_USING_SYMTAB
+//#define FINSH_USING_DESCRIPTION
+#define FINSH_USING_MSH
+#define FINSH_USING_MSH_ONLY
/* SECTION: libc management */
-#define RT_USING_LIBC
+// #define RT_USING_LIBC
/* SECTION: device filesystem */
/* #define RT_USING_DFS */