I'm trying to port to SDCC a sample program that
comes with the Atmel devkit, equipped with the
This program sends back data sent to him via UDP.
I'm having problems compiling it with SDCC.
With the default options it compiles the libraries but
when I link the main.c it tells me:
ERROR: Couldn't get 147 bytes allocated in internal RAM
for area DSEG.
I've already made some of the fixes to port the code
from Keil (which the code was originally written for) to
If I use --model-large option it is able to compile but
then the program works oddly for a while and then hangs
If I use --stack-auto when compiling socket.c it gives
socket.c:1201: error 16: variable 'UDPHeader' must be
static to have storage class in reentrant function
PS: This help request refers to the topic
Atmel AT89C5131 Support?
on the Open discussion forum