This is the mail archive of the ecos-discuss@sourceware.org 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: Recommodation for start of new chip-family support


Hi Ross,
hi jerzy,

Am Freitag, den 23.04.2010, 10:43 +0100 schrieb Ross Younger: 
> Manuel Borchers wrote:
> You could create a single board HAL to cope with all the boards, with
> appropriate CDL options to select between them. You would still create
> multiple target entries in ecos.db - they would set_value appropriately as
> well as pulling in the right set of hardware packages.

Thank you both for your suggestions. I'm going to try Ross way, so I'm
doing platform-level ports and will try to support the different boards
using CDL options (will do and try that later on, first the porting is
more important for me).


> Also, you might put common code like the UART drivers into their own
> package(s) and pull them in from the relevant targets. It can be tricky to
> judge whether this is better than putting the code in a single board HAL -
> might the code be reusable on other CPUs of the same family on different boards?

I was referring to the polling-based simple UART driver, that seems to
be somewaht common to ARM9 ports. The driver is implemented on the
platform level. But I'll write about that in a second mail.

Thanks for your suggestions and help!
Cheers,
Manuel

-- 
manuel@matronix.de
http://www.matronix.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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