CubeMX 6.16.1 linker generation bugs
Hello,
We appear to be experiencing a severe code generation bug with CubeMX. After naming and sizing application regions in the memory management tool, what used to generate a correct linker script now generates bad output.
Upon generation the linker script STM32U575XX_FLASH.ld now shows:
/* Specify the memory areas */
MEMORY
{
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 768K
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
/*start of MX regions Auto-generated By STM32CubeMX*/
RAMBK (rw) : ORIGIN = 0x20000000, LENGTH = 768K
RAM4 (rwx) : ORIGIN = 0x20000000, LENGTH = 768K
SPIFLASH (rwx) : ORIGIN = 0x08000000, LENGTH = 2048K
/*end of MX regions*/
}Given that we cannot downgrade the IOC and have performed more work this is an awkward situation and we will manually manage regions in the meantime. This was not an issue before. Please advise what may be going on.
Host: OS X 26.2
CubeMX: 6.16.1
Target: STM32U575xx

