This might not actually make REG end up in a ZI section. Tryconst uint32 REG__attribute__((section("CONSTSEG"), zero_init));PLACEMENT 0xF0100000 UNINIT 0x0000FFFF { * (+ZI, CONSTSEG) }RegardsMarcus
const uint32 REG__attribute__((section("CONSTSEG"), zero_init));
PLACEMENT 0xF0100000 UNINIT 0x0000FFFF { * (+ZI, CONSTSEG) }
const uint32 REG__attribute__((section("CONSTSEG")));
I'm facing problem while try to placing uninitialized variable manually in the RAM region for execution. And I don't want to initialize REG. But during scatter loading even I don't mention about ZI still it initialize it to 0.