Re: [Amforth] template.hex can't be build with MCU=atmega8

2020-08-16 Thread Brian
I'm using a butterfly (atmega169) with the latest version, runs great. Brian-in-ohio On 8/16/20 4:49 AM, Malte Frank Gerdes wrote: Okay, i see. I'll use a bigger controller then. Malte ___ Amforth-devel mailing list for http://amforth.sf.net/ Amfo

Re: [Amforth] template.hex can't be build with MCU=atmega8

2020-08-16 Thread Malte Frank Gerdes
Okay, i see. I'll use a bigger controller then. Malte ___ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel

Re: [Amforth] template.hex can't be build with MCU=atmega8

2020-08-15 Thread Tristan Williams
Hi, > Does that mean that it is practically impossible to use amforth on an > atmega8? I would say yes. The ATmega8 has 8K of flash memory. My AmForth 6.8 ATmega328p hex needs ~10K of flash memory. It might be possible to remove words from the current distribution/build so that it would fit int

Re: [Amforth] template.hex can't be build with MCU=atmega8

2020-08-14 Thread Malte Frank Gerdes
Reading the mailing list archive it seems that those errors happen and most of the time it's difficult to know where they come from. I found that it is possible to ignore those Overlaps with -O i. Now i get different errors which at least make sense to me. ../../avr8\macros.asm(94): error: jmp k:

Re: [Amforth] template.hex can't be build with MCU=atmega8

2020-08-14 Thread Malte Frank Gerdes
[Sorry for double posting the question i didn't know that it gets sent automtically after subscribing to the list :(] Thanks for the info, i completely ignored the warnings and didn't search for it, because of the errors. So with your suggestion the warnings are gone, but the Overlap errors are st

Re: [Amforth] template.hex can't be build with MCU=atmega8

2020-08-14 Thread Martin Nicholas via Amforth-devel
In template.asm, a better bet might be: > ; define which usart to use. > .include "drivers/usart.asm" See also: http://amforth.sourceforge.net/TG/recipes/Usart.html On Fri, 14 Aug 2020 13:17:13 +0200 Malte Frank Gerdes wrote: > Hi, > > this is the first time i'm using amforth. I followed > ht

[Amforth] template.hex can't be build with MCU=atmega8

2020-08-14 Thread Malte Frank Gerdes
Hi, this is the first time i'm using amforth. I followed http://amforth.sourceforge.net/UG/linux.html to get amforth and tried to build the template.hex file for an atmega8. I also tried a snapshot of r2450, which has the same error. The template.lst file contains this: AVRASM ver. 2.1.52 templa