#1 macros.inc missing

closed-fixed
john taylor
None
5
2003-06-01
2003-05-27
Anonymous
No

Assembler files do not assemble under WinAVR GCC
because macros.inc is not included with XMK nor is part of
WinAVR GCC.

I worked around this by hacking XCALL and XJMP to
mnemonics to work with my ATmega128.

Discussion

  • john taylor
    john taylor
    2003-06-01

    missing .incs files for AVR port

     
  • john taylor
    john taylor
    2003-06-01

    Logged In: YES
    user_id=347429

    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
    macros.inc).

    We will fix this in the next release.

     
  • john taylor
    john taylor
    2003-06-01

    • assigned_to: nobody --> johntaylor
    • status: open --> open-postponed
     
  • john taylor
    john taylor
    2003-06-01

    Logged In: YES
    user_id=347429

    Fixed in v0.0.6. The Atmel/AVR port now contains its "own"
    macros.inc file in the
    src/xmk/platform/atmel/avr/kernel/gcc directory.

     
  • john taylor
    john taylor
    2003-06-01

    • status: open-postponed --> closed-fixed