From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jörg Rapka To: Subject: [ECOS] package definition with CDL Date: Tue, 04 Jul 2000 07:44:00 -0000 Message-id: X-SW-Source: 2000-07/msg00022.html 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