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:
Marc Kleine-Budde 2024-06-03 16:25:10 +02:00
parent a876208913
commit b88e9597a4

View File

@ -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