Assembler files do not assemble under WinAVR GCC
because macros.inc is not included with XMK nor is part of
I worked around this by hacking XCALL and XJMP to
mnemonics to work with my ATmega128.
missing .incs files for AVR port
Logged In: YES
The file macros.inc is actually part of the source tree for
AVR GCC. GCC uses the file when it builds the compiler and
AVRLibc. On the development system, macros.inc has been
manually copied from the AVR GCC source tree to the
avr/include directory. This was a quick and dirty hack
done to get the XMK ported to the AVR and was never cleaned
up. There are two short term workarounds. One modify
the "XCALL" to "XJMP" or "JMP" dependenting on what flavor
of AVR you have. Two, place a copy of macros.inc in your
system include directory (I have attached a copy of
We will fix this in the next release.
Fixed in v0.0.6. The Atmel/AVR port now contains its "own"
macros.inc file in the