NCS 2.1 + MCUboot + nRF5340 overwriting .noinit areas

In NCS 2.1 with MCUboot on a nRF5340, a huge 256k area is allocated into .bss (see below) called "mock_flash".

unfortunately this writes far enough into RAM that it overwrites some areas we are trying to keep .noinit.

Any chance this can instead be done in .noinit and initialize as the buffer is needed?

 .bss.mock_flash
                0x00000000200061cd    0x40000 zephyr/drivers/flash/libdrivers__flash.a(flash_simulator.c.obj)
Parents Reply Children
Related