From: Peter K. <pe...@pk...> - 2009-03-10 16:19:15
|
Hi, Is it possible to make linker skip a part of code memory? I'd like to use a segment of flash in the middle the whole flash for data. Ex. flash segments are 2k. I'd like to prevent linker putting code in a segment after 0x8000. I tried this: __code __at (0x8000) uint8_t flash_reserved1[2048]={ 0xAA,0x55 ... } but is doesn't initialize the variable at that location. Cheers, Peter |