-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
some IMHO ugly hacks with conditional compiling should
eliminate the need of editing source files if switching
between linux/mac avra and windows avrasm2.exe (avr
Studio). At least the atmega169 (butterfly) and the
atmega32 work fine for me. The atmega8 still needs some work
regarding the missing jmp instruction (no, a stupid macro
does not work). Please do _not_ ask, why
.if defined(symbol)
.else
; a lot of aliases
.endif
instead of a more obvious .ifndef symbol....
The optional dictionary is now included on a per-target
basis depending on the value of the dict_optional symbol.
0 means do not include, 1 means include it into the lower
part (rww section) and 2 means include it into the nrww section
of the dictionary. The "bigger" atmegas have enough free
space in nrww to keep it there, the smaller ones are simply
too small...
Please keep in mind that the optional words may be full of errors, since
they are not very well tested. Esp. endianess is probably an issue.
Have fun
Matthias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFGDVMTLo3irIddFw4RAm6GAJ0cKeDcYw6HRs8oWR5Xdp7fzxxIKwCgmjWh
9DKG3EARR1fTR/m1t1pxJ0Y=
=eIF1
-----END PGP SIGNATURE-----
|