| retrohackers.org https://www.retrohackers.org/ |
|
| how to use uIP? https://www.retrohackers.org/viewtopic.php?f=5&t=271 |
Page 1 of 1 |
| Author: | hannenz [ Wed May 30, 2007 10:29 pm ] |
| Post subject: | how to use uIP? |
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?? |
|
| Author: | RaveGuru [ Thu May 31, 2007 11:16 pm ] |
| Post subject: | |
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 |
|
| Author: | hannenz [ Fri Jun 01, 2007 10:28 am ] |
| Post subject: | |
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... |
|
| Author: | RaveGuru [ Fri Jun 01, 2007 11:04 pm ] |
| Post subject: | |
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 Also, you might wanna edit uipopt.h to suit your needs. Hope this helps! |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|