Re: [Flashforth-devel] Warnings from assembler
Brought to you by:
oh2aun
From: Helge K. <Hel...@gm...> - 2022-12-28 14:27:24
|
Hi Mikael, I have pulled the latest commit 73aba62 from November 11th. This includes HEX files for the AVR targets. I expected that the same sequence of avrdude commands should prepare my Arduino with a running system. avrdude -cusbasp -pm2560 -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuese:w:0xFF:m avrdude -cusbasp -pm2560 -Uflash:w:2560-16MHz-38400.hex:i -Uhfuse:w:0xD8:m With the version from commit c947663 (2022-04-26) I get the output in the terminal: E FlashForth 5 ATmega2560 18.11.2020 Is my expectation invalid to get a similar output with the latest HEX file? I don't see any output with the latest files. Can you recommend how to bring the current version to the Arduino 256 target? Best regards, Helge This sequence works with the files f Am 28.12.2022 um 10:34 schrieb Mikael Nordman: > Those registers are defined by avrasm2 to be xl, xh, zl, zh > Thats why it complains. > > I have moved to XC8. It does not complain about what you have mentioned. > > BR Mikael > > On 2022-12-28 10:33, Helge Kruse wrote: >> I get some compiler diagnostic messages: >> >> avr/src/macros.inc(39): warning: Register r26 already defined by the >> .DEF directive >> avr/src/ff-atmega.asm(35): info: 'avr/src/macros.inc' included from here >> >> The source code line macros.inc#39 defines the symbold t4: >> >> .def t4 = r26 >> >> (The "already defined" warning also occurs for the registers r27, r30, >> and r31. ) Why does the assmbler complains about r26 as already defined? >> Where is it defined elsewehere? I can't find a second #include statement >> that would cause the file macros.inc included twice. Did I miss >> something? >> >> There is also a warning about "Use of undefined or forward referenced >> symbol". > > > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |