[En-Nut-Discussion] Atmega 256 for Ethernut?

Harald Kipp harald.kipp at egnite.de
Tue Oct 25 09:09:48 CEST 2005


Henrik,

At 15:50 24.10.2005 +1000, you wrote:

>I rather suggest to introduce a capability model, where in avr.h for each 
>known CPU certain capability macros are set. The goal should be, that with 
>introduction of a new AVR cpu only avr.h needs to be changed.

I agree with this view, and, to further extend this,
some capabilities like selecting a timer for the
system timer are not limited to the AVR family. Thus
I'd suggest to use MCU_CAP_x instead of AVR_CAP_x.

Harald




More information about the En-Nut-Discussion mailing list