When switching from -O0 to any other option, I get the linking error .\keilproj.sct(54): error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.
the code compiles and builds perfectly when using -O0, and by switching to -O1..3 i'm hoping in freeing up some space for new features.
keilproj.sct(54):
RW_NVRAM2 0x68001000 UNINIT 0x0003E000 { ; no init section *(EMV_Data, +First) ; this is persistant section with data to survive resets }