more lwip FreeRTOS 7x256 problems: "region full"

OP #1171292
With the hints from this forum (missing system calls) I got my toolchain
to
compile the project.  However the linker runs into an error with the
linker script
"region full".
(256k Flash, 64k Ram -> which also works fine for my other project).
Looks like
7xk are needed :(

Did anyone get the application running on a SAM7X256 with the sources
available from FreeRTOS?

Using WinARM or Cygwin/GNUARM did produce the same errors...

My own sample application works fine... any ideas...?

Thanks!
Guest #1171293
Lars Paape wrote:
> With the hints from this forum (missing system calls) I got my toolchain
> to
> compile the project.  However the linker runs into an error with the
> linker script
> "region full".
> (256k Flash, 64k Ram -> which also works fine for my other project).
> Looks like
> 7xk are needed :(
>
> Did anyone get the application running on a SAM7X256 with the sources
> available from FreeRTOS?
>
> Using WinARM or Cygwin/GNUARM did produce the same errors...
>
> My own sample application works fine... any ideas...?

- Which region is full?
- Memory-configuration in linker-script correct?
- Compiled with -Os?
- Compiled the non-ISR-code with Thumb/Thumb-Interwork?

Martin Thomas
OP #1171294
Martin Thomas wrote:
Hi Thomas

> - Which region is full?

region ram is full (rtosdemo.elf section .bss)

> - Memory-configuration in linker-script correct?
MEMORY
{
        flash   : ORIGIN = 0x00100000, LENGTH = 256K
        ram             : ORIGIN = 0x00200000, LENGTH = 64K
}
rest as in atmel-rom.ld

> - Compiled with -Os?
yes...

> - Compiled the non-ISR-code with Thumb/Thumb-Interwork?
i've used the regular makefile, coming with the freertos sources ?
>
... no more clues from side... thanks
Lars Paape
Guest #1171295
Lars Paape wrote:

>> - Which region is full?

Maybe the config/makefile options are set for "run from RAM" so code and
data is placed in the RAM. Check the used linker-script the sequence
after .text { ends with ">ram" if yes, try to change it to ">flash".

Martin Thomas

Reply

A question of your own? This thread is over 20 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.