diff options
| author | 来日方长 <[email protected]> | 2020-06-21 22:13:08 +0800 |
|---|---|---|
| committer | Gitee <[email protected]> | 2020-06-21 22:13:08 +0800 |
| commit | 37808b135b7b417c0ce1c83577f809b03ee91d01 (patch) | |
| tree | 5ef39e29ae76ae362f4a624ae647bccd99d1d6bb /bsp/stm32 | |
| parent | 07519cf020f6d50cffa2fef849d0013e51076d5b (diff) | |
update bsp/stm32/stm32l475-atk-pandora/rtconfig.py.
添加-fstack-usage -fdump-rtl-dfinish选项
Diffstat (limited to 'bsp/stm32')
| -rw-r--r-- | bsp/stm32/stm32l475-atk-pandora/rtconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32/stm32l475-atk-pandora/rtconfig.py b/bsp/stm32/stm32l475-atk-pandora/rtconfig.py index 573c1f7492..f09dfbc3b7 100644 --- a/bsp/stm32/stm32l475-atk-pandora/rtconfig.py +++ b/bsp/stm32/stm32l475-atk-pandora/rtconfig.py @@ -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' |
