diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7s/current/ChangeLog ecos/ecos/packages/hal/arm/at91/at91sam7s/current/ChangeLog
--- ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7s/current/ChangeLog	2006-09-09 15:26:05.000000000 +0200
+++ ecos/ecos/packages/hal/arm/at91/at91sam7s/current/ChangeLog	2007-01-03 00:08:51.000000000 +0100
@@ -1,3 +1,9 @@
+2007-01-02  Uwe Kindler <uwe_kindler@web.de>
+
+	* cdl/hal_arm_at91sam7s.cdl Moved HAL_PLATFORM_XXX defines and
+	definition of platform header file (CYGBLD_HAL_PLATFORM_H) from
+	package CYGPKG_HAL_ARM_AT91SAM7 into board specific packages.
+	
 2006-06-01  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* cdl/hal_arm_at91sam7s.cdl: Implement the SPI bus 1 interface for
diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7s/current/cdl/hal_arm_at91sam7s.cdl ecos/ecos/packages/hal/arm/at91/at91sam7s/current/cdl/hal_arm_at91sam7s.cdl
--- ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7s/current/cdl/hal_arm_at91sam7s.cdl	2006-06-02 20:15:29.000000000 +0200
+++ ecos/ecos/packages/hal/arm/at91/at91sam7s/current/cdl/hal_arm_at91sam7s.cdl	2007-01-02 21:53:50.000000000 +0100
@@ -69,11 +69,7 @@
     define_proc {
         puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H   <pkgconf/hal_arm.h>"
         puts $::cdl_system_header "#define CYGBLD_HAL_VARIANT_H  <pkgconf/hal_arm_at91.h>"
-        puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_at91sam7.h>"
         puts $::cdl_system_header "#define CYGBLD_HAL_ARM_VAR_IO_H"
-        puts $::cdl_header "#define HAL_PLATFORM_CPU    \"ARM7TDMI\""
-        puts $::cdl_header "#define HAL_PLATFORM_BOARD  \"Atmel (at91sam7)\""
-        puts $::cdl_header "#define HAL_PLATFORM_EXTRA  \"\""
     }
 
     cdl_option CYGHWR_HAL_ARM_AT91SAM7 {
@@ -124,6 +120,7 @@
                         CYGHWR_HAL_ARM_AT91SAM7X                     ||
                         CYGHWR_HAL_ARM_AT91SAM7XC }
         implements    CYGINT_DEVS_USB_AT91_HAS_USB
+        display       "USB device"
         default_value 1
         no_define
         description   "
@@ -134,6 +131,7 @@
         active_if     { CYGHWR_HAL_ARM_AT91SAM7X ||
                         CYGHWR_HAL_ARM_AT91SAM7XC }
         implements    CYGINT_DEVS_SPI_ARM_AT91_HAS_BUS1
+        display       "Second SPI bus controller"
         default_value 1
         no_define
         description   "
diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7sek/current/ChangeLog ecos/ecos/packages/hal/arm/at91/at91sam7sek/current/ChangeLog
--- ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7sek/current/ChangeLog	2006-06-02 20:22:22.000000000 +0200
+++ ecos/ecos/packages/hal/arm/at91/at91sam7sek/current/ChangeLog	2007-01-03 00:09:36.000000000 +0100
@@ -1,3 +1,9 @@
+2007-01-02  Uwe Kindler <uwe_kindler@web.de>
+
+	* cdl/hal_arm_at91sam7s.cdl Moved HAL_PLATFORM_XXX defines and
+	definition of platform header file (CYGBLD_HAL_PLATFORM_H) from
+	package CYGPKG_HAL_ARM_AT91SAM7 into board specific packages.
+	
 2006-05-20  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* AT91SAM7X-EK development board package
diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7sek/current/cdl/hal_arm_at91sam7sek.cdl ecos/ecos/packages/hal/arm/at91/at91sam7sek/current/cdl/hal_arm_at91sam7sek.cdl
--- ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7sek/current/cdl/hal_arm_at91sam7sek.cdl	2006-06-02 20:22:22.000000000 +0200
+++ ecos/ecos/packages/hal/arm/at91/at91sam7sek/current/cdl/hal_arm_at91sam7sek.cdl	2007-01-03 08:26:15.000000000 +0100
@@ -61,4 +61,14 @@
                     CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7s64"  ||
                     CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7s32"  ||
                     CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7s321" }
+    
+    define_proc {
+        puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_at91sam7sek.h>"
+        puts $::cdl_header "/***** proc output start *****/"
+        puts $::cdl_header "#include <pkgconf/hal_arm_at91sam7.h>"
+        puts $::cdl_header "#define HAL_PLATFORM_CPU    \"ARM7TDMI\""
+        puts $::cdl_header "#define HAL_PLATFORM_BOARD  \"Atmel (AT91SAM7S-EK)\""
+        puts $::cdl_header "#define HAL_PLATFORM_EXTRA  \"\""
+        puts $::cdl_header "/****** proc output end ******/"
+    }
 }
diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7xek/current/ChangeLog ecos/ecos/packages/hal/arm/at91/at91sam7xek/current/ChangeLog
--- ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7xek/current/ChangeLog	2006-06-02 20:22:47.000000000 +0200
+++ ecos/ecos/packages/hal/arm/at91/at91sam7xek/current/ChangeLog	2007-01-03 00:10:21.000000000 +0100
@@ -1,3 +1,9 @@
+2007-01-02  Uwe Kindler <uwe_kindler@web.de>
+
+	* cdl/hal_arm_at91sam7s.cdl Moved HAL_PLATFORM_XXX defines and
+	definition of platform header file (CYGBLD_HAL_PLATFORM_H) from
+	package CYGPKG_HAL_ARM_AT91SAM7 into board specific packages.
+	
 2006-05-20  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* AT91SAM7X-EK development board package
diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7xek/current/cdl/hal_arm_at91sam7xek.cdl ecos/ecos/packages/hal/arm/at91/at91sam7xek/current/cdl/hal_arm_at91sam7xek.cdl
--- ecos_web_cvs/ecos/packages/hal/arm/at91/at91sam7xek/current/cdl/hal_arm_at91sam7xek.cdl	2006-06-02 20:22:47.000000000 +0200
+++ ecos/ecos/packages/hal/arm/at91/at91sam7xek/current/cdl/hal_arm_at91sam7xek.cdl	2007-01-03 08:26:31.000000000 +0100
@@ -58,4 +58,14 @@
     requires      { CYGHWR_HAL_ARM_AT91 == "AT91SAM7S" }
     requires      { CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7x256" ||
                     CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7x128" }
+                        
+    define_proc {
+        puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_at91sam7xek.h>"
+        puts $::cdl_header "/***** proc output start *****/"
+        puts $::cdl_header "#include <pkgconf/hal_arm_at91sam7.h>"
+        puts $::cdl_header "#define HAL_PLATFORM_CPU    \"ARM7TDMI\""
+        puts $::cdl_header "#define HAL_PLATFORM_BOARD  \"Atmel (AT91SAM7X-EK)\""
+        puts $::cdl_header "#define HAL_PLATFORM_EXTRA  \"\""
+        puts $::cdl_header "/****** proc output end ******/"
+    }
 }
diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/sam7ex256/current/ChangeLog ecos/ecos/packages/hal/arm/at91/sam7ex256/current/ChangeLog
--- ecos_web_cvs/ecos/packages/hal/arm/at91/sam7ex256/current/ChangeLog	1970-01-01 01:00:00.000000000 +0100
+++ ecos/ecos/packages/hal/arm/at91/sam7ex256/current/ChangeLog	2006-12-30 11:16:22.000000000 +0100
@@ -0,0 +1,35 @@
+2006-12-30  Uwe Kindler  <uwe_kindler@web.de>
+
+	* SAM7-EX256 development board package
+
+//===========================================================================
+//####ECOSGPLCOPYRIGHTBEGIN####
+// -------------------------------------------
+// This file is part of eCos, the Embedded Configurable Operating System.
+// Copyright (C) 2006 Andrew Lunn <andrew.lunn@ascom.ch>
+//
+// eCos is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2 or (at your option) any later version.
+//
+// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+// for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with eCos; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+//
+// As a special exception, if other files instantiate templates or use macros
+// or inline functions from this file, or you compile this file and link it
+// with other works to produce a work based on this file, this file does not
+// by itself cause the resulting work to be covered by the GNU General Public
+// License. However the source code for this file must still be made available
+// in accordance with section (3) of the GNU General Public License.
+//
+// This exception does not invalidate any other reasons why a work based on
+// this file might be covered by the GNU General Public License.
+// -------------------------------------------
+//####ECOSGPLCOPYRIGHTEND####
+//===========================================================================
diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/sam7ex256/current/cdl/hal_arm_sam7ex256.cdl ecos/ecos/packages/hal/arm/at91/sam7ex256/current/cdl/hal_arm_sam7ex256.cdl
--- ecos_web_cvs/ecos/packages/hal/arm/at91/sam7ex256/current/cdl/hal_arm_sam7ex256.cdl	1970-01-01 01:00:00.000000000 +0100
+++ ecos/ecos/packages/hal/arm/at91/sam7ex256/current/cdl/hal_arm_sam7ex256.cdl	2007-01-02 21:58:01.000000000 +0100
@@ -0,0 +1,70 @@
+# ====================================================================
+#
+#      hal_arm_sam7ex256.cdl
+#
+#      Olimex SAM7-EX256 development board package configuration data
+#
+# ====================================================================
+#####ECOSGPLCOPYRIGHTBEGIN####
+## Copyright (C) 2006 Andrew Lunn
+##
+## eCos is free software; you can redistribute it and/or modify it under
+## the terms of the GNU General Public License as published by the Free
+## Software Foundation; either version 2 or (at your option) any later version.
+##
+## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
+## WARRANTY; without even the implied warranty of MERCHANTABILITY or
+## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+## for more details.
+##
+## You should have received a copy of the GNU General Public License along
+## with eCos; if not, write to the Free Software Foundation, Inc.,
+## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+##
+## As a special exception, if other files instantiate templates or use macros
+## or inline functions from this file, or you compile this file and link it
+## with other works to produce a work based on this file, this file does not
+## by itself cause the resulting work to be covered by the GNU General Public
+## License. However the source code for this file must still be made available
+## in accordance with section (3) of the GNU General Public License.
+##
+## This exception does not invalidate any other reasons why a work based on
+## this file might be covered by the GNU General Public License.
+## -------------------------------------------
+#####ECOSGPLCOPYRIGHTEND####
+# ====================================================================
+######DESCRIPTIONBEGIN####
+#
+# Author(s):      Uwe Kindler
+# Contributors:   
+# Date:           2006-12-30
+#
+#####DESCRIPTIONEND####
+#
+# ====================================================================
+
+cdl_package CYGPKG_HAL_ARM_SAM7EX256 {
+    display       "Olimex SAM7-EX256 development board"
+    parent        CYGPKG_HAL_ARM_AT91SAM7
+    define_header hal_arm_sam7ex256.h
+    include_dir   cyg/hal
+    hardware
+    description   "
+        The SAM7EX256 HAL package provides the support needed to run
+        eCos on an Olimex SAM7-EX256 development board."
+
+    compile       sam7ex256_misc.c
+    
+    requires      { CYGHWR_HAL_ARM_AT91 == "AT91SAM7S" }
+    requires      { CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7x256" }
+    
+    define_proc {
+        puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_sam7ex256.h>"
+        puts $::cdl_header "/***** proc output start *****/"
+        puts $::cdl_header "#include <pkgconf/hal_arm_at91sam7.h>"
+        puts $::cdl_header "#define HAL_PLATFORM_CPU    \"ARM7TDMI\""
+        puts $::cdl_header "#define HAL_PLATFORM_BOARD  \"Olimex SAM7-EX256\""
+        puts $::cdl_header "#define HAL_PLATFORM_EXTRA  \"\""
+        puts $::cdl_header "/****** proc output end ******/"
+    }
+}
diff -ruN -x 'Entries*' ecos_web_cvs/ecos/packages/hal/arm/at91/sam7ex256/current/src/sam7ex256_misc.c ecos/ecos/packages/hal/arm/at91/sam7ex256/current/src/sam7ex256_misc.c
--- ecos_web_cvs/ecos/packages/hal/arm/at91/sam7ex256/current/src/sam7ex256_misc.c	1970-01-01 01:00:00.000000000 +0100
+++ ecos/ecos/packages/hal/arm/at91/sam7ex256/current/src/sam7ex256_misc.c	2007-01-03 00:36:20.000000000 +0100
@@ -0,0 +1,69 @@
+/*==========================================================================
+//
+//      sam7ex256_misc.c
+//
+//      HAL misc board support code for Olimex SAM7-EX256 board
+//
+//==========================================================================
+//####ECOSGPLCOPYRIGHTBEGIN####
+// -------------------------------------------
+// This file is part of eCos, the Embedded Configurable Operating System.
+// Copyright (C) 2006 Andrew Lunn <andrew.lunn@ascom.ch>
+//
+// eCos is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2 or (at your option) any later version.
+//
+// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+// for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with eCos; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+//
+// As a special exception, if other files instantiate templates or use macros
+// or inline functions from this file, or you compile this file and link it
+// with other works to produce a work based on this file, this file does not
+// by itself cause the resulting work to be covered by the GNU General Public
+// License. However the source code for this file must still be made available
+// in accordance with section (3) of the GNU General Public License.
+//
+// This exception does not invalidate any other reasons why a work based on
+// this file might be covered by the GNU General Public License.
+// -------------------------------------------
+//####ECOSGPLCOPYRIGHTEND####
+//==========================================================================
+//#####DESCRIPTIONBEGIN####
+//
+// Author(s):    Uwe Kindler
+// Contributors: Andrew Lunn, John Eigelaar
+// Date:         2006-12-30
+// Purpose:      HAL board support
+// Description:  Implementations of HAL board interfaces
+//
+//####DESCRIPTIONEND####
+//
+//========================================================================*/
+
+#include <pkgconf/system.h>
+#include <pkgconf/hal.h>
+
+#include <cyg/hal/hal_io.h>             // IO macros
+
+//
+// the development board does not contain any leds but this function is
+// required for proper compilation - maybe we can use the integrated
+// nokia 320x 320 pixel lcd for led debug output
+//
+void hal_at91_led (int val)
+{
+    //
+    // todo: implement led simulation for nokia 320 x 320 pixel LCD
+    //
+}
+
+
+//--------------------------------------------------------------------------
+// EOF sam7ex256_misc.c
