Question
Dual Bank Linker script for STM32G474CB
Hello
I have a project with STM32G474CB in CubeMX and it generates the linker script with following:
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K
}
But, as I understand, this is only the case when the device is switched into single-bank mode (which is not the default from the manufacturer!). The default would be two 64K flash chunks with second being at offset 0x08040000, am I correct?
Thanks.
