[En-Nut-Discussion] Possible brackage, More progmem use for AVR

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue Oct 1 11:23:23 CEST 2013


Hi!

> to move constants to flash for AVR8 in putf by using PROGMEM, PSTR and
> friends, I had to add some PROGMEM related definitions to arm.h and cm3.h

I had to add toolchain.h as include to putf.c, otherwise the PROGMEM
definde was not found.

I've just checked in the patch. Have you used PROGMEM at any other place
as well?

bye,

Ole


-- 
kernel concepts GmbH            Tel: +49-271-771091-14
Sieghuetter Hauptweg 48         Mob: +49-177-7420433
D-57072 Siegen
http://www.embedded-it.de
http://www.kernelconcepts.de


More information about the En-Nut-Discussion mailing list