[En-Nut-Discussion] Switching between Ethernut 1.3f/g and 2.1 (ICCAVR)

Harald Kipp harald.kipp at egnite.de
Tue Mar 1 10:17:32 CET 2005


Brett,

Code for Ethernut 1.3 and 2.x is almost identical. The
ETHERNUT2 macro is used by applications, so they don't
need to determine the right Ethernet controller to
initialize.

However, there are some settings, which differ between
1.3 and 2.x code, like the number of memory banks.

I'd suggest to create two different build directories
and copy the right libs to the ICC lib directory when
switching the environment.

Harald


At 08:18 01.03.2005 +1300, you wrote:
>Harald/All
>
>Could I please ask someone to point me to the "definitive" list of steps 
>required when switching back and forth between Ethernut2 and Ethernut 1.3, 
>on the ICCAVR.
>
>I havent been able to find a reference to the ETHERNUT2 define anywhere in 
>the configurator or assocciated confi files so are unsure if Im doing all 
>the right things when swapping between the hardware versions.  The only 
>variable Im changing is adding and removing the ETHERNUT2 define in the 
>Compiler tab - Im not recompiling the libraries as I couldnt find values 
>to change.  Should I be setting any other values?
>We use ICCAVR, and NutOS from about Jan 2005.
>
>Any help would be both reassuring and appreciated.
>Brett




More information about the En-Nut-Discussion mailing list