AnsweredAssumed Answered

How do you place stuff into a fixed page of flash?

Question asked by ThorMJ on Jun 4, 2013
Latest reply on Jun 5, 2013 by ABuda

I'm using Keil uVision; I tried to put code into a certain page of flash:

const MODBUS_REG flashreg __attribute__ ((aligned (128)))

    // __attribute__ ((section(IROM2)))

     __attribute__ ((at(0x87600)));

 

I was trying to set up a section "IROM2" to make sure Keil doesn't put anything else in the last page.

But I can't seem to make an IROM2 and have it deal with "IROM2"...

 

Any tips?

Outcomes