Take a look at the following MPLAB C32 compiler options: -membedded-data Allocate variables to the read-only data section first if possible, then next in the small data section if possible, otherwise in data. -muninit-const-in-rodata Put uninitialized const variables in the read-only data section. This option is only meaningful in conjunction with -membedded-data. Cheers Miek On 17 December 2015 at 18:36, Harold Hallikainen wrote: > In C32 (not XC32), how do I place constants in ROM? C18 has const rom, an= d > apparently XC32 puts constants in ROM on its own. But, how do I do it in > C32? > > Thanks! > > Harold > > > > -- > FCC Rules Updated Daily at http://www.hallikainen.com > Not sent from an iPhone. > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .