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]

at91/eb40 hal


Hi,

this is my second attempt at separating the at91 HAL into
two parts: a generic AT91 variant HAL and a platform HAL
for the EB40 evaluation board. This follows the standard
ecos scheme and allows for creation of more platform HALs
for systems based on AT91 chips.

The EB40 HAL can be built just like before, only the target
name has changed from 'AT91' to 'EB40' (but I kept 'AT91'
as an alias for maximum compatibility).

... and again I forgot to attach the actual patch, stupid me.
Well, it's quite late already...

tk

--

Thomas Koeller, Software Development

Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany

Phone	+49 (4102) 463-390
Fax	+49 (4102) 463-46390

mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com

Attachment: at91.tar.bz2
Description: application/tbz

--- ecos.db-orig	Thu May 30 23:18:09 2002
+++ ecos.db	Thu May 30 23:28:01 2002
@@ -1759,13 +1759,23 @@
 }
 
 package CYGPKG_HAL_ARM_AT91 {
-	alias		{ "Atmel evaluation board (EB40)" hal_arm_at91 arm_at91_hal }
-	directory	hal/arm/at91
+	alias		{ "Atmel AT91 variant HAL" hal_arm_at91 arm_at91_hal }
+	directory	hal/arm/at91/var
 	script		hal_arm_at91.cdl
 	hardware
         description "
-The at91 HAL package provides the support needed to run eCos on an Atmel
-evaluation board (EB40)."
+	The at91 HAL package provides the support needed to run eCos on Atmel
+	AT91 based targets."
+}
+
+package CYGPKG_HAL_ARM_AT91_EB40 {
+	alias		{ "Atmel evaluation board (EB40)" hal_arm_at91 arm_at91_hal }
+	directory	hal/arm/at91/eb40
+	script		hal_arm_at91_eb40.cdl
+	hardware
+        description "
+	The eb40 HAL package provides the support needed to run eCos on an Atmel
+	evaluation board (EB40)."
 }
 
 package CYGPKG_HAL_ARM_EBSA285 {
@@ -2986,16 +2996,17 @@
         module installed."
 }
 
-target at91 {
-	alias { "Atmel evaluation board (EB40)" eb40 }
+target eb40 {
+	alias { "Atmel evaluation board (EB40)" at91}
 	packages { CYGPKG_HAL_ARM
                    CYGPKG_HAL_ARM_AT91
+		   CYGPKG_HAL_ARM_AT91_EB40
                    CYGPKG_DEVS_FLASH_AT91
                    CYGPKG_IO_SERIAL_ARM_AT91
         }
         description "
-The aeb target provides the packages needed to run eCos on an Atmel
-evaluation board (EB40)."
+	The eb40 target provides the packages needed to run eCos on an Atmel
+	evaluation board (EB40)."
 }
 
 target ebsa285 {

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