Re: [cc65] uIP and cc65

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-11-07 00:40:59
Hi Payton,

> I'm assuming that since Contiki can be compiled with cc65 and Contiki uses
> uIP that there exists some kind of library or sources for uIP that include a
> driver for RR-Net.

Certainly.

> I want to start programming some net applications using
> C and cc65, but I'm having challenges finding a good place to start.

Why?

> IP65
> makes my head spin trying to figure out even where to start as it appears to
> be a VERY low-level library and not really a good place for an app
> programmer like myself to get started.

IP65 is great but surely not the right tool for an application
programmer focusing on C.

> I know some people are having luck
> writing apps with Contiki as the foundation, and I'd be open to that if I
> could find a good example to start with.  I've already googled
> ever-which-way from Sunday and haven't found anything that screams "start
> here" with Contiki, uIP, or IP65.
> Guidance would be greatly appreciated.  You can contact me off the list at
> plbyrd at gmail dot com if you do not want to fill the mailing list with
> noise.

My take:

- IP65 is for assembly language programmers implementing applications
with limited networking needs.
- uIP is for C programmers trying to retrofit networking capabilities
into existing applications.
- Contiki is for C programmers creating new networking-focused applications.

The technical issue with uIP is that the standalone uIP code isn't
maintained so one has to strip a recent uIP from the Contiki code -
which might not be the first thing one wants to do as newbie...

Getting started with Contiki for cc65 is very easy:

- Get cc65 2.13.x
- Get Contiki 2.5 (currently rc1)
- Choose one of the examples
  - ftp
  - email
  - irc
  - webbrowser
  - webserver
  - wget
- Go into the directory of the example of chioce and do 'make TARGET=c64 disk'
- You should end up with a contiki.d64
- Use http://cbm8bit.com/contiki/ to create a contiki.cfg

Have fun,
Oliver

P.S.: How is A2CMD doing ? ;-))
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Nov 7 00:41:04 2010

This archive was generated by hypermail 2.1.8 : 2010-11-07 00:41:07 CET