mirror of
https://github.com/candle-usb/candleLight_fw.git
synced 2025-01-28 06:02:52 +08:00
cmake: stm32g0b1xx: decrease flash size to 128k
The smallest model of the stm32g0b1 series, i.e. the stm32g0b1xb, has only 128 KiBytes of RAM. In order to support these chips, adjust the input for the linker script generation accordingly. Closes: https://github.com/candle-usb/candleLight_fw/issues/174
This commit is contained in:
parent
a876208913
commit
b88e9597a4
@ -197,7 +197,7 @@ populate_ldscript(CPU_FAMILY STM32F407XE
|
||||
|
||||
populate_ldscript(CPU_FAMILY STM32G0B1xx
|
||||
FLASH_START 0x08000000
|
||||
FLASH_SIZE 512k
|
||||
FLASH_SIZE 128k
|
||||
RAM_START 0x20000000
|
||||
RAM_SIZE 144k
|
||||
STACK_SIZE 2k
|
||||
|
Loading…
x
Reference in New Issue
Block a user