1 # ====================================================================
3 # hal_arm_at91_sam7xek.cdl
5 # ARM AT91 SAM7X EK development board package configuration data
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## Copyright (C) 2006 Andrew Lunn
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.
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
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.
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.
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####
38 # Author(s): andrew lunn
42 #####DESCRIPTIONEND####
44 # ====================================================================
46 cdl_package CYGPKG_HAL_ARM_AT91SAM7XEK {
47 display "Atmel AT91SAM7X EK development board"
48 parent CYGPKG_HAL_ARM_AT91SAM7
49 define_header hal_arm_at91sam7xek.h
53 The AT91SAM7XEK HAL package provides the support needed to run
54 eCos on an Atmel AT91SAM7X-EK development board."
56 compile at91sam7xek_misc.c
58 requires { CYGHWR_HAL_ARM_AT91 == "AT91SAM7S" }
59 requires { CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7x256" ||
60 CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7x128" ||
61 CYGHWR_HAL_ARM_AT91SAM7 == "at91sam7x512" }
63 requires { is_active(CYGPKG_DEVS_ETH_PHY) implies
64 (1 == CYGHWR_DEVS_ETH_PHY_DM9161A) }
67 puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_at91sam7xek.h>"
68 puts $::cdl_header "/***** proc output start *****/"
69 puts $::cdl_header "#include <pkgconf/hal_arm_at91sam7.h>"
70 puts $::cdl_header "#define HAL_PLATFORM_CPU \"ARM7TDMI\""
71 puts $::cdl_header "#define HAL_PLATFORM_BOARD \"Atmel (AT91SAM7X-EK)\""
72 puts $::cdl_header "#define HAL_PLATFORM_EXTRA \"\""
73 puts $::cdl_header "/****** proc output end ******/"