File tree 3 files changed +9
-3
lines changed 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 53
53
CPATH = ''
54
54
LPATH = ''
55
55
56
+ AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
57
+ AFLAGS += ' -D__STARTUP_CLEAR_BSS'
58
+
56
59
if BUILD == 'debug' :
57
60
CFLAGS += ' -gdwarf-2'
58
61
AFLAGS += ' -gdwarf-2'
59
62
CFLAGS += ' -O0'
60
63
else :
61
64
CFLAGS += ' -O2 -Os'
62
65
63
- POST_ACTION = OBJCPY + ' -O binary --remove-section=.boot_data --remove-section=.image_vertor_table --remove-section=.ncache $TARGET rtthread.bin\n ' + SIZE + ' $TARGET \n '
66
+ POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n ' + SIZE + ' $TARGET \n '
64
67
65
68
# module setting
66
69
CXXFLAGS = ' -Woverloaded-virtual -fno-exceptions -fno-rtti '
Original file line number Diff line number Diff line change 71
71
72
72
### 快速上手
73
73
74
- 本 BSP 为开发者提供 MDK4、MDK5 和 IAR 工程,暂不支持 GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
74
+ 本 BSP 为开发者提供 MDK4、MDK5 和 IAR 工程,以及GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
75
75
76
76
#### 硬件连接
77
77
@@ -115,4 +115,4 @@ msh >
115
115
116
116
维护人:
117
117
118
- - [ 王强
] ( https://github.com/xfwangqiang ) , 邮箱:
< [email protected] >
118
+ - [ 王强
] (
https://github.com/xfwangqiang , https://gitee.com/xfwangqiang ), 邮箱:
< [email protected] >
Original file line number Diff line number Diff line change 53
53
CPATH = ''
54
54
LPATH = ''
55
55
56
+ AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
57
+ AFLAGS += ' -D__STARTUP_CLEAR_BSS'
58
+
56
59
if BUILD == 'debug' :
57
60
CFLAGS += ' -gdwarf-2'
58
61
AFLAGS += ' -gdwarf-2'
You can’t perform that action at this time.
0 commit comments