[En-Nut-Discussion] Nut/OS port for H8/300H.

Harald Kipp harald.kipp at egnite.de
Thu Mar 18 18:19:20 CET 2004


CVS HEAD has gone through a major cleanup.

1. Almost all deprecated functions had been removed.
2. Compiling and linking with ICCAVR and AVRGCC works
again for ATmega128 and ATmega103.
3. app/httpd has been tested with all 4 AVR variants.

Hope I didn't break any H8 routines. If not, then we have
a nice 3.5.0 again. If yes, sorry. In that case please
check first, if you need to include <sys/device.h>. I got
a bit confused during removal of ifstream.h.

For AVR, the httpd sample shrank by more than 13 kByte
compared to 3.4.2. :-)

List of changes:

* include/arch/avr.h: Removed Harvard architecture definition.
It's required in UserConf.mk.

* dev/uartavr.c: Removed deprecated raw I/O.

* os/devclose.c, os/devioctl.c, os/devopen.c, os/devread.c,
os/devtran.c, os/devwrite.c, os/ifstran.c, os/ifstream.c,
os/init.c, os/print.cnet/sostream.c: Deprecated functions
from version 2 finally removed.

* sys/atomic.h: Unused file removed to simplify portability.

* sys/devtran.h, sys/ifstran.h, print.h, netinet/sostream.h:
Deprecated prototypes removed.

* sys/device.h, sys/ifstream.h: Second header file removed.
The IFSTREAM structure is still used by some device drivers
and has been moved to sys/device.h.

* pro/resolv.c: Deprecated header file replaced.

* pro/dhcpc.c, include/pro/dhcp.h: Deprecated NutNetAutoConfig
removed.

* fs/uromfs.c, include/fs/uromfs.h: Deprecated NutRom functions
removed.

* net/arpcache.c, net/icmpin.c, net/ifconfig.c, if_var.h:
Comments updated.

* doc/copying-gpl.txt, doc/copying-liquorice.txt:
Added as required by Liquorice's licence.

* net/pppin.c: Avoid calculation with void pointers.

* include/sys/types.h: compiler.h must be included
early to allow definitions of platform dependant
macros.

* include/compiler.h, include/sys/nutconfig.h: Added ATMEGA
macro for ICCAVR support.

* include/stdio.h: stddef header inclusion removed.

* include/dev/irqreg.h: Bugfix. ICCAVR can't find header files.

* include/arch/avr.h: Added __AVR_ATmega103__ in ICCAVR block.

* include/dev/chat.h, include/sys/atom.h: Bugfix, ICCAVR
does not define __AVR__.

* irqreg.c, avr_irqreg.c: Deprecated AVR interrupt registration
removed.

* include/arch/avr.h: Define Harvard architecture for AVR by
default.




More information about the En-Nut-Discussion mailing list