Gast
#182334
Hallo!
Ich versuche eine Array als __attribute__((_progmem_)) und
_attribute_ ((section (".bootloader"))) zu zeichnen aber es klappt
nicht. Die Idee ist die Array in PROGMEM zu haben, aber in einer
bestimmter Sektion... Beispiel:
const uint16_t dk[] PROGMEM = {0xc564, 0x7a38}; // OK, aber nicht wo es
sein soll
const uint16_t dk[] BOOTLOADER_SECTION = {0xc564, 0x7a38}; // OK, aber
lpm_read_word geht nicht
const uint16_t dk[] PROGMEM BOOTLOADER_SECTION = {0xc564, 0x7a38}; //
waere ideal, aber geht nicht
Ist sowas in GCC/C ueberhaupt moeglich? (In GCC/asm geht's noch...)
Danke,
Richard