]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/hal/arm/at91/at91sam7sek/v2_0/cdl/hal_arm_at91sam7sek.cdl
Initial revision
[karo-tx-redboot.git] / packages / hal / arm / at91 / at91sam7sek / v2_0 / cdl / hal_arm_at91sam7sek.cdl
1 # ====================================================================
2 #
3 #      hal_arm_at91_sam7sek.cdl
4 #
5 #      ARM AT91 SAM7S EK 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):      andrew lunn
39 # Contributors:   
40 # Date:           2006-05-20
41 #
42 #####DESCRIPTIONEND####
43 #
44 # ====================================================================
45
46 cdl_package CYGPKG_HAL_ARM_AT91SAM7SEK {
47     display       "Atmel AT91SAM7S EK development board"
48     parent        CYGPKG_HAL_ARM_AT91SAM7
49     define_header hal_arm_at91sam7sek.h
50     include_dir   cyg/hal
51     hardware
52     description   "
53         The AT91SAM7SEK HAL package provides the support needed to run
54         eCos on an Atmel AT91SAM7S-EK development board."
55
56     compile       at91sam7sek_misc.c
57     
58     requires      { CYGHWR_HAL_ARM_AT91 == "AT91SAM7S" }
59     requires      { CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7s256" ||
60                     CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7s128" ||
61                     CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7s64"  ||
62                     CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7s32"  ||
63                     CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7s321" }
64     
65     define_proc {
66         puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_at91sam7sek.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  \"Atmel (AT91SAM7S-EK)\""
71         puts $::cdl_header "#define HAL_PLATFORM_EXTRA  \"\""
72         puts $::cdl_header "/****** proc output end ******/"
73     }
74 }