[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Using progmem on the reduced Tiny core?
From: |
Erik Christiansen |
Subject: |
Re: [avr-gcc-list] Using progmem on the reduced Tiny core? |
Date: |
Fri, 22 Jul 2016 16:22:00 +1000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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