File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -835,12 +835,16 @@ def __init__(self):
835835 'nucleo_f401re' : {'STM32_Main_Clock_Frequency' : '168_000_000' ,
836836 'STM32_HSE_Clock_Frequency' : '8_000_000' ,
837837 'STM32_FLASH_Latency' : '5' ,
838- 'STM32_SRAM_Size' : '96K' },
838+ 'STM32_Linker_RAM_Size' : '96K'
839+ 'STM32_Linker_Flash_Size' : '512K' ,
840+ 'STM32_Linker_CCM_Size' : '64K' },
839841
840842 'nucleo_f411re' : {'STM32_Main_Clock_Frequency' : '168_000_000' ,
841843 'STM32_HSE_Clock_Frequency' : '8_000_000' ,
842844 'STM32_FLASH_Latency' : '5' ,
843- 'STM32_SRAM_Size' : '128K' },
845+ 'STM32_Linker_RAM_Size' : '128K' ,
846+ 'STM32_Linker_Flash_Size' : '512K' ,
847+ 'STM32_Linker_CCM_Size' : '64K' },
844848
845849 'feather_stm32f405' : {'STM32_Main_Clock_Frequency' : '168_000_000' ,
846850 'STM32_HSE_Clock_Frequency' : '12_000_000' ,
Original file line number Diff line number Diff line change 3636
3737MEMORY
3838{
39- flash (rx) : ORIGIN = 0x08000000, LENGTH = 512K
40- sram12 (rwx) : ORIGIN = 0x20000000, LENGTH = "${STM32_SRAM_Size }"
41- ccm (rw) : ORIGIN = 0x10000000, LENGTH = 64K
39+ flash (rx) : ORIGIN = 0x08000000, LENGTH = "${STM32_Linker_Flash_Size}"
40+ sram12 (rwx) : ORIGIN = 0x20000000, LENGTH = "${STM32_Linker_RAM_Size }"
41+ ccm (rw) : ORIGIN = 0x10000000, LENGTH = "${STM32_Linker_CCM_Size}"
4242}
4343
4444REGION_ALIAS("sram_tx", sram12)
You can’t perform that action at this time.
0 commit comments