Skip to content

Commit 37808b1

Browse files
NU-LLgitee-org
authored andcommitted
update bsp/stm32/stm32l475-atk-pandora/rtconfig.py.
添加-fstack-usage -fdump-rtl-dfinish选项
1 parent 07519cf commit 37808b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/stm32/stm32l475-atk-pandora/rtconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
OBJCPY = PREFIX + 'objcopy'
4545

4646
DEVICE = ' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
47-
CFLAGS = DEVICE + ' -Dgcc'
47+
CFLAGS = DEVICE + ' -Dgcc -fstack-usage -fdump-rtl-dfinish'
4848
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
4949
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rt-thread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
5050

0 commit comments

Comments
 (0)