Re: [Flashforth-devel] building flashforth with avra?
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2021-05-04 10:06:57
|
Hi Chris, Here is the link for the answer I got from Microchip. They modified the XC8 suite somehow. Maybe both AVR-AS and AVR-LD. https://www.microchip.com/forums/m1170217.aspx It is possible use a custom linker script instead, but I did not want to maintain linker files for FlashForth. If you come up with the linker scripts for the supported Atmegas, I can add them into FlashForth. BR Mikael On 2021-05-04 09:01, Christopher Howard wrote: > That you for your help. > > I'm no expert on the subject at this point, but it seems like there _must_ be some better way to do this than filling a ton of memory each time I upload FlashForth to a chip. Seems like I should be able to get something equivalent to .NRWW directive with some combination of a named section and a section address in a linker script. > > I'm mildly curious what is really going on behind that XC8 .NRWW "addition". Unless they've somehow crossed the assembler/linker boundry, they must pass some extra information on to the linker...? Something that gives instructions to their own linker script, or to a modified Gnu LD? > > Anyway, sounds like I've finally got an excuse now to become an expert on linking. |