This is the mail archive of the
mailing list for the eCos project.
Re: at91 HAL patch
Laurent GONZALEZ <firstname.lastname@example.org> writes:
> Hi all,
> What about target eb55 that uses this at91/var package ?
> The rigth place for defining such bit field is in at91/var, it's
> true, however at91/var's cdl file shall contain an option (using
> interface - implements mechanism) that defines which series of mcu
> the target (at91/ebxx or at91/custom_board) will use. Using this
> option, it will be easy to choose a dedicated file that import mcu
> specifics definitions into var_io.h.
Well, we already have the CYGHWR_HAL_ARM_AT91 option that must be set
in the platform HAL to select the correct AT91 variant. This is used
in var_io.h to differentiate between different power-saving
devices. The same option should be used to select different sets of
PIO pin definitions. There's probably no need to do anything more
Of course someone will have to type in all the pin definitions.
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts