File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 5353 CPATH = ''
5454 LPATH = ''
5555
56+ AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
57+ AFLAGS += ' -D__STARTUP_CLEAR_BSS'
58+
5659 if BUILD == 'debug' :
5760 CFLAGS += ' -gdwarf-2'
5861 AFLAGS += ' -gdwarf-2'
5962 CFLAGS += ' -O0'
6063 else :
6164 CFLAGS += ' -O2 -Os'
6265
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 '
6467
6568 # module setting
6669 CXXFLAGS = ' -Woverloaded-virtual -fno-exceptions -fno-rtti '
Original file line number Diff line number Diff line change 7171
7272### 快速上手
7373
74- 本 BSP 为开发者提供 MDK4、MDK5 和 IAR 工程,暂不支持 GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
74+ 本 BSP 为开发者提供 MDK4、MDK5 和 IAR 工程,以及GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
7575
7676#### 硬件连接
7777
@@ -115,4 +115,4 @@ msh >
115115
116116维护人:
117117
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 5353 CPATH = ''
5454 LPATH = ''
5555
56+ AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
57+ AFLAGS += ' -D__STARTUP_CLEAR_BSS'
58+
5659 if BUILD == 'debug' :
5760 CFLAGS += ' -gdwarf-2'
5861 AFLAGS += ' -gdwarf-2'
You can’t perform that action at this time.
0 commit comments