]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/hal/arm/at91/sam7ex256/v2_0/cdl/hal_arm_sam7ex256.cdl
Initial revision
[karo-tx-redboot.git] / packages / hal / arm / at91 / sam7ex256 / v2_0 / cdl / hal_arm_sam7ex256.cdl
1 # ====================================================================
2 #
3 #      hal_arm_sam7ex256.cdl
4 #
5 #      Olimex SAM7-EX256 development board package configuration data
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## Copyright (C) 2006 Andrew Lunn
10 ##
11 ## eCos is free software; you can redistribute it and/or modify it under
12 ## the terms of the GNU General Public License as published by the Free
13 ## Software Foundation; either version 2 or (at your option) any later version.
14 ##
15 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
16 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 ## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
18 ## for more details.
19 ##
20 ## You should have received a copy of the GNU General Public License along
21 ## with eCos; if not, write to the Free Software Foundation, Inc.,
22 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
23 ##
24 ## As a special exception, if other files instantiate templates or use macros
25 ## or inline functions from this file, or you compile this file and link it
26 ## with other works to produce a work based on this file, this file does not
27 ## by itself cause the resulting work to be covered by the GNU General Public
28 ## License. However the source code for this file must still be made available
29 ## in accordance with section (3) of the GNU General Public License.
30 ##
31 ## This exception does not invalidate any other reasons why a work based on
32 ## this file might be covered by the GNU General Public License.
33 ## -------------------------------------------
34 #####ECOSGPLCOPYRIGHTEND####
35 # ====================================================================
36 ######DESCRIPTIONBEGIN####
37 #
38 # Author(s):      Uwe Kindler
39 # Contributors:   
40 # Date:           2006-12-30
41 #
42 #####DESCRIPTIONEND####
43 #
44 # ====================================================================
45
46 cdl_package CYGPKG_HAL_ARM_SAM7EX256 {
47     display       "Olimex SAM7-EX256 development board"
48     parent        CYGPKG_HAL_ARM_AT91SAM7
49     define_header hal_arm_sam7ex256.h
50     include_dir   cyg/hal
51     hardware
52     description   "
53         The SAM7EX256 HAL package provides the support needed to run
54         eCos on an Olimex SAM7-EX256 development board."
55
56     compile       sam7ex256_misc.c
57     
58     requires      { CYGHWR_HAL_ARM_AT91 == "AT91SAM7S" }
59     requires      { CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7x256" }
60     
61     requires      { is_active(CYGPKG_DEVS_ETH_PHY) implies
62                     (1 == CYGHWR_DEVS_ETH_PHY_KS8721) }
63
64     
65     define_proc {
66         puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_sam7ex256.h>"
67         puts $::cdl_header "/***** proc output start *****/"
68         puts $::cdl_header "#include <pkgconf/hal_arm_at91sam7.h>"
69         puts $::cdl_header "#define HAL_PLATFORM_CPU    \"ARM7TDMI\""
70         puts $::cdl_header "#define HAL_PLATFORM_BOARD  \"Olimex SAM7-EX256\""
71         puts $::cdl_header "#define HAL_PLATFORM_EXTRA  \"\""
72         puts $::cdl_header "/****** proc output end ******/"
73     }
74 }