It is currently Thu Jan 22, 2026 1:49 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: how to use uIP?
PostPosted: Wed May 30, 2007 10:29 pm 
Offline

Joined: Thu Jan 12, 2006 8:04 am
Posts: 116
Location: Germany / 88471
how do you use uIP on c64/rr-net...
I mean, that i don't get it compiled with cc65 is the one thing ( a whole lotta loads of error messages, file not founds and the like...). but as far as i have seen uIP is written very general, so how about the network device driver (rr-net) in this case and all that..?!
or simple question: what do i do now that i have downloaded the sources?
@rave_guru: didn't you use uIP for Guruterm??


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu May 31, 2007 11:16 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Hmm.. well, first of all you need to get it to compile. For that you need the proper include files and probably need to do a little configuration. I did this more than a year ago so I don't remember but it was fairly simple. The tricky part was to make it link properly and I know i messed around with my makefile quite a lot before I got it right. When everything builds you can start adding code to the uIP call back routines which is where you want to put most of the code.

I still intend to release my GuruTerm framework once I have cleaned up the code, because it's a real mess at the moment. And yes, I did say this all before :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 01, 2007 10:28 am 
Offline

Joined: Thu Jan 12, 2006 8:04 am
Posts: 116
Location: Germany / 88471
RaveGuru wrote:
For that you need the proper include files

where do i get them?
Quote:
And yes, I did say this all before :)
you did...??! where?
thanks for the info, i'll try and see...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 01, 2007 11:04 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Yes, I mean I already promised to release the sources before... uhm. well..


About the include files, i was refering to the uIP include files. Make sure cc65 finds them by specifying the -I{include_path} parameter.

For linking, make sure ld65 finds the cc65 library path by specifying -L{lib_path}. If you wish to build with the standard cc65 C64 framework you need to put {lib_path}\c64.o as the first input file, then all your contiki *.o files and finally c64.lib to make it work. This took me quite some time to figure out :D

Also, you might wanna edit uipopt.h to suit your needs.

Hope this helps!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group