This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

package definition with CDL


Hello

I'm about to port eCos to M68k. My target uses the M68331 microcontroller.

I have defined a package "M68k" as architecture HAL and I have defined
a package "my_target" as platform HAL.

I try to find out what are the HAL packages between.

The M68331 microcontroller is one of the M683xx family. So the M683xx is a
variant
of the M68k architecture. My first idea was to define the package "M683xx"
as
architecture variant HAL. Within this package the current used
microcontroller should
be selectable (e.g. M68331, M68332,...). Since my target board need the
M68331 (e.g. the
M68332 is not compatible with the M68331), the M68331 should be active in
the "M683xx"
architecture variant HAL package, if "my_target" platform HAL is used.
How can I implement this dependency in CDL?

Summary:
My target "my_target" is defined by the following packages:
- M68k architecture HAL
- M683xx architecture variant HAL (microcontroller M68331 must be selected)
- my_target platform HAL

Or any other idea how to define the packages for the M68k?

Best regards
Joerg


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