Mercurial > nand-ecoscentric
annotate packages/hal/arm/lpc24xx/ea2468/current/cdl/hal_arm_lpc24xx_ea2468.cdl @ 3368:56fc685b878c
Merge from anon-hg
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Fri, 01 Aug 2014 20:54:15 +1200 |
| parents | 052db7de22b6 7446751761c7 |
| children |
| rev | line source |
|---|---|
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
1 # ==================================================================== |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
2 # |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
3 # hal_arm_lpc24xx_ea2468.cdl |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
4 # |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
5 # Embedded Artists LPC2468 OEM Board HAL package configuration data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
6 # |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
7 # ==================================================================== |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
8 ## ####ECOSGPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
9 ## ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
10 ## This file is part of eCos, the Embedded Configurable Operating System. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2008 Free Software Foundation, Inc. |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
12 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
13 ## eCos is free software; you can redistribute it and/or modify it under |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
14 ## the terms of the GNU General Public License as published by the Free |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
15 ## Software Foundation; either version 2 or (at your option) any later |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
16 ## version. |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
17 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
19 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
21 ## for more details. |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
22 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
23 ## You should have received a copy of the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
24 ## along with eCos; if not, write to the Free Software Foundation, Inc., |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
25 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
26 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
27 ## As a special exception, if other files instantiate templates or use |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
28 ## macros or inline functions from this file, or you compile this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
29 ## and link it with other works to produce a work based on this file, |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
30 ## this file does not by itself cause the resulting work to be covered by |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
31 ## the GNU General Public License. However the source code for this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
32 ## must still be made available in accordance with section (3) of the GNU |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
33 ## General Public License v2. |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
34 ## |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
35 ## This exception does not invalidate any other reasons why a work based |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
36 ## on this file might be covered by the GNU General Public License. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
37 ## ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2720
diff
changeset
|
38 ## ####ECOSGPLCOPYRIGHTEND#### |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
39 # ==================================================================== |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
40 ######DESCRIPTIONBEGIN#### |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
41 # |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
42 # Author(s): Uwe Kindler |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
43 # Contributors: Uwe Kindler |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
44 # Date: 2008-07-06 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
45 # |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
46 #####DESCRIPTIONEND#### |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
47 # |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
48 # ==================================================================== |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
49 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
50 cdl_package CYGPKG_HAL_ARM_LPC24XX_EA2468 { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
51 display "Embedded Artists LPC2468 OEM Board board HAL" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
52 parent CYGPKG_HAL_ARM_LPC24XX |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
53 define_header hal_arm_lpc24xx_ea2468.h |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
54 include_dir cyg/hal |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
55 hardware |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
56 implements CYGINT_DEVS_CAN_LPC2XXX_CAN0 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
57 implements CYGINT_DEVS_CAN_LPC2XXX_CAN1 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
58 implements CYGINT_IO_SERIAL_LPC24XX_UART0 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
59 implements CYGINT_IO_SERIAL_LPC24XX_UART1 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
60 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
61 The LPC2468 OEM HAL package provides the support needed to run |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
62 eCos on Embedded Artists LPC2468 OEM 16/32 boards." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
63 |
|
2561
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
64 compile ea2468_misc.c platform_i2c.c |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
65 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
66 requires { CYGHWR_HAL_ARM_LPC24XX == "LPC2468" } |
|
2550
88afa3c9917a
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added constraint for
asl
parents:
2510
diff
changeset
|
67 requires { is_active(CYGPKG_DEVS_ETH_PHY) implies |
|
88afa3c9917a
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added constraint for
asl
parents:
2510
diff
changeset
|
68 (1 == CYGHWR_DEVS_ETH_PHY_KSZ8001) } |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
69 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
70 define_proc { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
71 puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_arm.h>" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
72 puts $::cdl_system_header "#define CYGBLD_HAL_VARIANT_H <pkgconf/hal_arm_lpc24xx.h>" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
73 puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_lpc24xx_ea2468.h>" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
74 puts $::cdl_header "#define HAL_PLATFORM_CPU \"ARM7TDMI-S\"" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
75 puts $::cdl_header "#define HAL_PLATFORM_BOARD \"Embedded Artists LPC2468 OEM Board\"" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
76 puts $::cdl_header "#define HAL_PLATFORM_EXTRA \"\"" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
77 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
78 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
79 cdl_option CYGNUM_HAL_ARM_LPC24XX_XTAL_FREQ { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
80 display "CPU xtal frequency" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
81 parent CYGNUM_HAL_ARM_LPC24XX_CLOCKING |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
82 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
83 default_value {12000000} |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
84 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
85 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
86 cdl_option CYGNUM_HAL_ARM_LPC24XX_MAX_CLOCK_SPEED { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
87 display "Max. CPU clock speed" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
88 parent CYGNUM_HAL_ARM_LPC24XX_CLOCKING |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
89 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
90 calculated {57600000} |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
91 requires CYGNUM_HAL_ARM_LPC24XX_CLOCK_SPEED <= 57600000 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
92 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
93 Due to a silicon errata, the highest internal core |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
94 clock frequency (at the time of writing this document) |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
95 is 57.6 MHz. This corresponds to an internal PLL |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
96 frequency of 288 MHz that is divided by 6 to get a 48 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
97 MHz clock for the core and the USB interface." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
98 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
99 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
100 cdl_component CYG_HAL_STARTUP { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
101 display "Startup type" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
102 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
103 default_value {"ROM"} |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
104 legal_values {"RAM" "ROM"} |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
105 no_define |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
106 define -file system.h CYG_HAL_STARTUP |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
107 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
108 Choose RAM or ROM startup type. Typically ROM startup is used for |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
109 building RedBoot. RedBoot runs from internal on chip flash of |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
110 LPC24xx. Use RAM startup for building eCos applications. |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
111 RedBoot manages the external on board flash devices. It copies |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
112 the eCos application image from FLASH to on board SDRAM |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
113 and then starts the eCos application." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
114 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
115 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
116 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
117 display "Number of communication channels on the board" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
118 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
119 calculated 2 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
120 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
121 Channel 0: UART0, Channel 1: UART1" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
122 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
123 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
124 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_DEFAULT { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
125 display "Default console channel." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
126 active_if CYGPRI_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_CONFIGURABLE |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
127 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
128 calculated 0 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
129 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
130 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
131 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
132 display "Debug serial port" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
133 active_if CYGPRI_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_CONFIGURABLE |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
134 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
135 legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
136 default_value 0 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
137 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
138 The LPC2468 OEM board has two serial channels. The first |
| 2585 | 139 channel, UART0, is routed to an USB-to-serial bridge and |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
140 the second channel, UART1, is available on the Sub-D9 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
141 RS232 connector. This option chooses which channel will be |
|
2510
0c2a776fc7f4
* src/ea2468_misc.c: Added hal_lpc_can_init() to initialize CAN
asl
parents:
2499
diff
changeset
|
142 used to connect to a host running GDB." |
|
0c2a776fc7f4
* src/ea2468_misc.c: Added hal_lpc_can_init() to initialize CAN
asl
parents:
2499
diff
changeset
|
143 } |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
144 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
145 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_BAUD { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
146 display "GDB serial port baud rate" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
147 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
148 legal_values 9600 19200 38400 57600 115200 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
149 default_value 38400 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
150 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
151 This option controls the baud rate used for the GDB |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
152 connection." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
153 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
154 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
155 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
156 display "Diagnostic serial port" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
157 active_if CYGPRI_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_CONFIGURABLE |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
158 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
159 legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
160 default_value 0 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
161 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
162 The LPC2468 OEM board has two serial ports. This option |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
163 chooses which port will be used for diagnostic output." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
164 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
165 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
166 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
167 display "Diagnostic serial port baud rate" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
168 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
169 legal_values 9600 19200 38400 57600 115200 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
170 default_value 38400 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
171 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
172 This option selects the baud rate used for the diagnostic port." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
173 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
174 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
175 cdl_option CYGHWR_HAL_ARM_LPC24XX_EA2468_DATA_BUS_WIDTH { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
176 display "Data bus width" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
177 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
178 default_value { 16 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
179 legal_values { 16 32 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
180 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
181 The LPC2468 OEM board is sold in two different data bus |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
182 versions - a 16-bit version and a 32-bit version." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
183 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
184 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
185 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
186 cdl_component CYGBLD_GLOBAL_OPTIONS { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
187 display "Global build options" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
188 flavor none |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
189 parent CYGPKG_NONE |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
190 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
191 Global build options including control over compiler flags, |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
192 linker flags and choice of toolchain." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
193 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
194 cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
195 display "Global command prefix" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
196 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
197 no_define |
|
2720
7fec0d64790f
Switch from arm-elf-gcc to arm-eabi-gcc. Remove -mno-short-load-words.
bartv
parents:
2585
diff
changeset
|
198 default_value { "arm-eabi"} |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
199 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
200 This option specifies the command prefix used when |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
201 invoking the build tools." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
202 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
203 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
204 cdl_option CYGBLD_GLOBAL_CFLAGS { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
205 display "Global compiler flags" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
206 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
207 no_define |
| 2749 | 208 default_value { CYGBLD_GLOBAL_WARNFLAGS . CYGBLD_ARCH_CFLAGS . |
| 209 "-mcpu=arm7tdmi -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions " } | |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
210 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
211 This option controls the global compiler flags which |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
212 are used to compile all packages by default. Individual |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
213 packages may define options which override these global |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
214 flags." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
215 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
216 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
217 cdl_option CYGBLD_GLOBAL_LDFLAGS { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
218 display "Global linker flags" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
219 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
220 no_define |
| 2749 | 221 default_value { CYGBLD_ARCH_LDFLAGS . "-mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -g -nostdlib" } |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
222 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
223 This option controls the global linker flags. Individual |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
224 packages may define options which override these global |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
225 flags." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
226 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
227 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
228 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
229 cdl_option CYGSEM_HAL_ROM_MONITOR { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
230 display "Behave as a ROM monitor" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
231 flavor bool |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
232 default_value 0 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
233 parent CYGPKG_HAL_ROM_MONITOR |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
234 requires { CYG_HAL_STARTUP == "ROM"} |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
235 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
236 Enable this option if this program is to be used as a |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
237 ROM monitor, i.e. applications will be loaded into RAM on |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
238 the board, and this ROM monitor may process exceptions or |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
239 interrupts generated from the application. This enables |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
240 features such as utilizing a separate interrupt stack when |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
241 exceptions are generated." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
242 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
243 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
244 cdl_option CYGSEM_HAL_USE_ROM_MONITOR { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
245 display "Work with a ROM monitor" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
246 flavor booldata |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
247 legal_values { "Generic" "GDB_stubs" } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
248 default_value { CYG_HAL_STARTUP == "RAM" ? "GDB_stubs" : 0 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
249 parent CYGPKG_HAL_ROM_MONITOR |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
250 requires { CYG_HAL_STARTUP == "RAM" } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
251 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
252 Support can be enabled for different varieties of ROM |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
253 monitor. This support changes various eCos semantics such |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
254 as the encoding of diagnostic output, or the overriding of |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
255 hardware interrupt vectors. |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
256 Firstly there is \"Generic\" support which prevents the |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
257 HAL from overriding the hardware vectors that it does not |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
258 use, to instead allow an installed ROM monitor to handle |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
259 them. This is the most basic support which is likely to be |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
260 common to most implementations of ROM monitor. |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
261 \"GDB_stubs\" provides support when GDB stubs are included |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
262 in the ROM monitor or boot ROM." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
263 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
264 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
265 cdl_component CYGPKG_REDBOOT_HAL_OPTIONS { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
266 display "Redboot HAL options" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
267 flavor none |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
268 no_define |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
269 parent CYGPKG_REDBOOT |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
270 active_if CYGPKG_REDBOOT |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
271 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
272 This option lists the target's requirements for a valid |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
273 Redboot configuration." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
274 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
275 cdl_option CYGBLD_BUILD_REDBOOT_BIN { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
276 display "Build Redboot ROM binary image" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
277 active_if CYGBLD_BUILD_REDBOOT |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
278 requires { !CYGBLD_BUILD_REDBOOT_WITH_EXEC } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
279 default_value 1 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
280 no_define |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
281 description " |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
282 This option enables the conversion of the Redboot ELF |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
283 image to a binary image suitable for ROM programming." |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
284 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
285 make -priority 325 { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
286 <PREFIX>/bin/redboot.bin : <PREFIX>/bin/redboot.elf |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
287 $(OBJCOPY) --strip-debug $< $(@:.bin=.img) |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
288 $(OBJCOPY) -O srec $< $(@:.bin=.srec) |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
289 $(OBJCOPY) -O ihex $< $(@:.bin=.hex) |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
290 $(OBJCOPY) -O binary $< $@ |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
291 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
292 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
293 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
294 } |
|
2561
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
295 |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
296 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
297 cdl_component CYGHWR_MEMORY_LAYOUT { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
298 display "Memory layout" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
299 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
300 no_define |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
301 calculated { (CYG_HAL_STARTUP == "RAM") ? "arm_lpc24xx_ea2468_ram" : |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
302 "arm_lpc24xx_ea2468_rom" } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
303 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
304 cdl_option CYGHWR_MEMORY_LAYOUT_LDI { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
305 display "Memory layout linker script fragment" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
306 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
307 no_define |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
308 define -file system.h CYGHWR_MEMORY_LAYOUT_LDI |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
309 calculated { (CYG_HAL_STARTUP == "RAM") ? |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
310 "<pkgconf/mlt_arm_lpc24xx_ea2468_ram.ldi>" : |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
311 "<pkgconf/mlt_arm_lpc24xx_ea2468_rom.ldi>" } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
312 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
313 |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
314 cdl_option CYGHWR_MEMORY_LAYOUT_H { |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
315 display "Memory layout header file" |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
316 flavor data |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
317 no_define |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
318 define -file system.h CYGHWR_MEMORY_LAYOUT_H |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
319 calculated { (CYG_HAL_STARTUP == "RAM") ? |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
320 "<pkgconf/mlt_arm_lpc24xx_ea2468_ram.h>" : |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
321 "<pkgconf/mlt_arm_lpc24xx_ea2468_rom.h>" } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
322 } |
|
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
323 } |
| 3251 | 324 |
| 325 cdl_option CYGPKG_HAL_ARM_LPC24XX_EA2468_TESTS_EXTRAS { | |
| 326 display "EA2468 extra tests" | |
| 327 default_value 0 | |
| 328 description "Enable hand-run tests for EA2468 board." | |
| 329 } | |
|
2561
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
330 |
|
2931
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
331 cdl_component CYGHWR_HAL_ARM_LPC2XXX_EA_LPC2468_NAND { |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
332 display "EA LPC2xxx NAND support" |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
333 parent CYGPKG_IO_NAND |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
334 active_if CYGPKG_IO_NAND |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
335 implements CYGHWR_IO_NAND_DEVICE |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
336 requires CYGPKG_DEVS_NAND_SAMSUNG_K9 |
|
3021
052db7de22b6
ea2468: Update nand for changes to k9 family driver
Ross Younger <wry@ecoscentric.com>
parents:
2931
diff
changeset
|
337 requires CYGFUN_NAND_SAMSUNG_K9_F1G |
|
2931
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
338 requires { (CYGPKG_REDBOOT && CYGPKG_FS_YAFFS) implies (CYGMEM_REDBOOT_WORKSPACE_HEAP_SIZE >= 0x20000) } |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
339 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
340 compile -library=libextras.a ea_lpc2468_nand.c |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
341 description "This option enables support for the on-board Samsung |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
342 K9F1G08U0A NAND flash chip." |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
343 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
344 cdl_option CYGHWR_HAL_ARM_LPC2XXX_EA_LPC2468_USE_NAND_RDY { |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
345 display "Use NAND_RDY line" |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
346 flavor bool |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
347 default_value 0 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
348 description "The EA OEM Base Board provides a jumper which |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
349 connects the NAND_RDY line with P2.12 on the CPU. |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
350 This option allows the driver to query that line. |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
351 You should not set this option if the jumper is not |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
352 connected; the results of interacting with the |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
353 chip will be undefined." |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
354 } |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
355 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
356 cdl_option CYGHWR_HAL_ARM_LPC2XXX_EA_LPC2468_NAND_RDY_USE_INTERRUPT { |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
357 display "Configure NAND_RDY line as an interrupt" |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
358 flavor bool |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
359 default_value CYGPKG_KERNEL |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
360 active_if (CYGHWR_HAL_ARM_LPC2XXX_EA_LPC2468_USE_NAND_RDY && CYGPKG_KERNEL) |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
361 description "This option configures the CPU pin P2.12 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
362 - to which the NAND_RDY line is assumed to be connected - |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
363 as an interrupt (EINT2). This is normally the preferred |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
364 configuration when the NAND_RDY line is connected, as |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
365 it allows a thread waiting for the |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
366 NAND device to sleep for exactly the right amount of time. |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
367 If this is disabled, the NAND_RDY line is polled in a |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
368 loop which consumes unnecessary CPU cycles." |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
369 } |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
370 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
371 # Manual configuration of NAND partitions. |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
372 # We currently only provide manual config. |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
373 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
374 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
375 cdl_component CYGSEM_DEVS_NAND_EA_LPC2468_PARTITION_MANUAL_CONFIG { |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
376 display "Manual partition configuration" |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
377 flavor bool |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
378 default_value 1 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
379 description " |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
380 Set in order to use CDL to manually configure the |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
381 partitions of the EA LPC2468 on-board NAND." |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
382 |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
383 set ::partition_device "EA_LPC2468" |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
384 script manual_partition.cdl |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
385 } |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
386 } |
|
aa9a05c77fe7
Import anoncvs ea2468 NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents:
2749
diff
changeset
|
387 |
|
2561
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
388 cdl_option CYGPKG_HAL_ARM_LPC24XX_EA2468_TESTS { |
|
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
389 display "Tests for LPC2468 OEM board HAL" |
|
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
390 flavor data |
|
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
391 no_define |
| 3251 | 392 calculated { "tests/i2c_eeprom" . (CYGPKG_HAL_ARM_LPC24XX_EA2468_TESTS_EXTRAS ? " tests/fiq" : "") } |
|
2561
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
393 description " |
| 2585 | 394 This option specifies the set of tests for the EA2468 |
| 395 OEM board HAL." | |
|
2561
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
396 } |
|
55c015cde894
* cdl/hal_arm_lpc2xxx_ea2468.cdl: Added compile platform_i2c.c and
asl
parents:
2550
diff
changeset
|
397 |
|
2499
a4719c33db09
* Initial release of Embedded Artists LPC2468 OEM board package
asl
parents:
diff
changeset
|
398 } |
