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

bon at elektron.ikp.physik.tu-darmstadt.de bon at elektron.ikp.physik.tu-darmstadt.de
Tue Oct 1 15:48:01 CEST 2013

>>>>> "Ole" == Ole Reinhardt <ole.reinhardt at embedded-it.de> writes:

    Ole> 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

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

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

uromfs is another place where PROGMEM is used. It doesn't include
toolchain.h. Does it need toolchain.h?
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list