On Thursday 20 December 2007 07:12, Shaun Jackman wrote: [...] > So, my wishlist item is to be able to use an attribute on a static > bool to locate it in the GPIO section, similar to PROGMEM, such as > #define IOMEM __attribute__((__iomem__)) > static bool IOMEM my_flag; [...]
A little note: PROGMEM (i.e. __attribute__((progmem))) is not a directive to compiler. It is the directive to linker. Themself GCC compiler is absolutely wrong when it deals with PROGMEM variables. Regards, Dmitry. _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
