Re: Using progmem on the reduced Tiny core?
Erik Christiansen <[email protected]> Fri, 22 Jul 2016 16:22:00 +1000
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <20160722062200.GA3445@ratatosk> |
On 13.07.16 19:10, Georg-Johann Lay wrote: > As we have a linearized memory model on reduced core and flash memory > is visible in the RAM address range (starting at 0x4000), it would > make sense if the compiler added that offset. > > Attached is a tentative patch that adds this feature to avr-gcc > together with a small test program that demonstrates some use cases. Thanks for all the work on avr-gcc, and the examples. (I'm not sure it'll tempt this old dog away from programming avr_tiny exclusively in assembler, but it's grand to see toolchain improvements.) Erik