This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Split Variant HAL into two Packages
- From: Martin Laabs <martin dot laabs at mailbox dot tu-dresden dot de>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 22 Jun 2010 17:24:43 +0200
- Subject: [ECOS] Split Variant HAL into two Packages
- Reply-to: uni at martinlaabs dot de
Hello,
is there an example how I can split a variant HAL into two Packages.
I wanna split the at91sam9 processor variant into a core part which is
common to all at91sam9xxx processors (and which also will have dependencies
to the second stage). Upon this package I'd like the second stage variant
HAL that actual implements the whole processor support. And upon this
second stage I wanna put the board package.
The approach to implement all at91sam9xxx processor in one variant/platform
produces overmuch #ifdefs.
Greetings,
Martin Laabs
PS: Just to prevent getting to much e-mails. Yes - I have implemented the
AT91SAM9260 processor but the code must be cleaned up and have to become
more structured until I can release it.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss