Question
How to store code into two discontinuous flash area automatically in CubeIDE?
STM32G474RC,flash size is 256kB,default dual bank,so the flash size is 0x08000000~0x08020000, 0x080400000~0x08060000.
If the code size is larger than 128kB, but the address is non-contiguous.
How to store the exceeded programs into Bank2 automatically?
Is there any method to configure the link file in CubeIDE?
I know i can specify some function to certain address, but it's inconvenient at all.