update bsp/stm32/stm32l475-atk-pandora/rtconfig.py.
添加-fstack-usage -fdump-rtl-dfinish选项
This commit is contained in:
parent
07519cf020
commit
37808b135b
@ -44,7 +44,7 @@ if PLATFORM == 'gcc':
|
||||
OBJCPY = PREFIX + 'objcopy'
|
||||
|
||||
DEVICE = ' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
|
||||
CFLAGS = DEVICE + ' -Dgcc'
|
||||
CFLAGS = DEVICE + ' -Dgcc -fstack-usage -fdump-rtl-dfinish'
|
||||
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
|
||||
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rt-thread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user