Hi Peter,

I've tried to do what you are doing but without success. It would give a lot of work to redo the code, using sdcc syntax. Now i'm using Microchip C18 compiler to compile the tcp/ip stack and sdcc to compile my other applications. I'm running C18 compiler and MPLAB in Wine, and its working fine.

Pedro Henrique Palhares.

On Sun, Jan 25, 2009 at 8:49 PM, Peter Theobald <pete@ptheobald.co.uk> wrote:
Hi List,
I'm very new to SDCC. I'm just starting to develop a project using a pic18f66j60 device to connect a motor drive to an ip network. MY plan is to have a webserver (http/tcp) control protocol that can be accessed through a web browser or other software.  So far i've had an attempt at getting the microchip free tcp/ip stack to compile in sdcc with the correct target. I've found a few complications, primarily language syntax such as packed structs and a rom declaration in a function header that doesn't seem to be supported by SDCC (I assume this is specific to the microchip compiler). Has anyone had any success compiling the microchip tcp/ip stack? or is there a GPLd stack that I could use instead. The pic18 device i'm planning to use includes an integrated ethernet controller, but i'm open to suggestions for other controllers that might be easier to implement.
Any help would be gratefully received as i'm pretty stuck at the moment and not looking forward to rewriting a lot of microchip source code.

This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
Sdcc-user mailing list