This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: at91 HAL patch


Laurent GONZALEZ <laurent.gonzalez@silicomp.fr> 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
complicated.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]