Menu

#69 Shipped include files don't work with AVRA

open
nobody
None
5
2009-12-13
2009-12-13
Dave Webb
No

Dear all,

the maintainer was so kind to include the AVR000.zip with the definitions from Atmel.
Unfortunately these definitions don't work with AVRA out of the box.
Just an example with m32def.inc

First, #ifndef, #define and #endif in m32inc.def is not understood.
/usr/include/avra/m32def.inc(40) : Error : Unknown mnemonic/macro: #ifndef

This needs to be changed to .ifndef, .define and .endif accordingly.

Second, #pragma is not understood
/usr/include/avra/m32def.inc(44) : Error : Unknown mnemonic/macro: #pragma

Third, long lines are not accepted
/usr/include/avra/m32def.inc(461) : Error : Line to long

Kind regards

Dave Webb

Discussion


Log in to post a comment.