Mercurial > ecos
comparison packages/hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl @ 110:84e4bde58b26 ecos-sw-2000-07-14
Merge from eCos master repository on 2000-07-14-22:00:02-BST
| author | jlarmour |
|---|---|
| date | Mon, 17 Jul 2000 14:42:27 +0000 |
| parents | 6736c52df507 |
| children | 6ed91473a1cd |
comparison
equal
deleted
inserted
replaced
| 109:5720c4b6e1d2 | 110:84e4bde58b26 |
|---|---|
| 48 define_header hal_arm_edb7xxx.h | 48 define_header hal_arm_edb7xxx.h |
| 49 description " | 49 description " |
| 50 The EDB7XXX HAL package provides the support needed to run | 50 The EDB7XXX HAL package provides the support needed to run |
| 51 eCos on a Cirrus Logic development board." | 51 eCos on a Cirrus Logic development board." |
| 52 | 52 |
| 53 compile hal_diag.c plf_stub.c edb7xxx_misc.c | 53 compile hal_diag.c edb7xxx_misc.c |
| 54 | 54 |
| 55 implements CYGINT_HAL_DEBUG_GDB_STUBS | 55 implements CYGINT_HAL_DEBUG_GDB_STUBS |
| 56 implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK | 56 implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK |
| 57 implements CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT | |
| 57 | 58 |
| 58 define_proc { | 59 define_proc { |
| 59 puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_arm.h>" | 60 puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_arm.h>" |
| 60 puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_edb7xxx.h>" | 61 puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_edb7xxx.h>" |
| 61 } | 62 } |
| 113 debug software such as Angel or eCos GDB stubs. Select 'rom' | 114 debug software such as Angel or eCos GDB stubs. Select 'rom' |
| 114 when building a stand-alone application which will be put | 115 when building a stand-alone application which will be put |
| 115 into ROM." | 116 into ROM." |
| 116 } | 117 } |
| 117 | 118 |
| 118 cdl_option CYGHWR_HAL_ARM_EDB7XXX_DIAG_PORT { | 119 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD { |
| 119 display "Diagnostic serial port" | |
| 120 flavor data | |
| 121 legal_values 0 1 | |
| 122 default_value 0 | |
| 123 description " | |
| 124 The Cirrus Logic evaluation boards have two separate serial ports. This option | |
| 125 chooses which of these ports will be used." | |
| 126 } | |
| 127 | |
| 128 cdl_option CYGHWR_HAL_ARM_EDB7XXX_DIAG_BAUD { | |
| 129 display "Diagnostic serial port baud rate" | 120 display "Diagnostic serial port baud rate" |
| 130 flavor data | 121 flavor data |
| 131 legal_values 9600 19200 38400 115200 | 122 legal_values 9600 19200 38400 115200 |
| 132 default_value 38400 | 123 default_value 38400 |
| 133 description " | 124 description " |
| 134 This option selects the baud rate used for the diagnostic port. | 125 This option selects the baud rate used for the diagnostic port. |
| 135 Note: this should match the value chosen for the GDB port if the | 126 Note: this should match the value chosen for the GDB port if the |
| 136 diagnostic and GDB port are the same." | 127 diagnostic and GDB port are the same." |
| 137 } | 128 } |
| 138 | 129 |
| 139 cdl_option CYGHWR_HAL_ARM_EDB7XXX_GDB_PORT { | 130 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_BAUD { |
| 140 display "GDB serial port" | |
| 141 flavor data | |
| 142 legal_values 0 1 | |
| 143 default_value 0 | |
| 144 description " | |
| 145 The Cirrus Logic evlauation boards have two separate serial ports. This option | |
| 146 chooses which of these ports will be used to connect to a host | |
| 147 running GDB." | |
| 148 } | |
| 149 | |
| 150 cdl_option CYGHWR_HAL_ARM_EDB7XXX_GDB_BAUD { | |
| 151 display "GDB serial port baud rate" | 131 display "GDB serial port baud rate" |
| 152 flavor data | 132 flavor data |
| 153 legal_values 9600 19200 38400 115200 | 133 legal_values 9600 19200 38400 115200 |
| 154 default_value 38400 | 134 default_value 38400 |
| 155 description " | 135 description " |
| 156 This option controls the baud rate used for the GDB connection." | 136 This option controls the baud rate used for the GDB connection." |
| 157 } | 137 } |
| 158 | 138 |
| 139 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS { | |
| 140 display "Number of communication channels on the board" | |
| 141 flavor data | |
| 142 calculated 2 | |
| 143 } | |
| 144 | |
| 145 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL { | |
| 146 display "Debug serial port" | |
| 147 flavor data | |
| 148 legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 | |
| 149 default_value 0 | |
| 150 description " | |
| 151 The EDB7xxx boards have two serial ports. This option | |
| 152 chooses which port will be used to connect to a host | |
| 153 running GDB." | |
| 154 } | |
| 155 | |
| 156 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL { | |
| 157 display "Diagnostic serial port" | |
| 158 flavor data | |
| 159 legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 | |
| 160 default_value 0 | |
| 161 description " | |
| 162 The EDB7xxx boards have two serial ports. This option | |
| 163 chooses which port will be used for diagnostic output." | |
| 164 } | |
| 165 | |
| 159 cdl_option CYGHWR_HAL_ARM_EDB7XXX_PROCESSOR_CLOCK { | 166 cdl_option CYGHWR_HAL_ARM_EDB7XXX_PROCESSOR_CLOCK { |
| 160 display "Processor clock rate" | 167 display "Processor clock rate" |
| 161 flavor data | 168 flavor data |
| 162 legal_values 18432 36864 49152 73728 | 169 legal_values 18432 36864 49152 73728 |
| 163 default_value { CYGHWR_HAL_ARM_EDB7XXX_VARIANT == "CL_PS7111" ? 18432 : 73728 } | 170 default_value { CYGHWR_HAL_ARM_EDB7XXX_VARIANT == "CL_PS7111" ? 18432 : 73728 } |
| 266 default_value 0 | 273 default_value 0 |
| 267 requires { CYG_HAL_STARTUP == "ROM" } | 274 requires { CYG_HAL_STARTUP == "ROM" } |
| 268 requires CYGSEM_HAL_ROM_MONITOR | 275 requires CYGSEM_HAL_ROM_MONITOR |
| 269 requires CYGBLD_BUILD_COMMON_GDB_STUBS | 276 requires CYGBLD_BUILD_COMMON_GDB_STUBS |
| 270 requires CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS | 277 requires CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS |
| 271 requires ! CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT | 278 requires CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT |
| 272 requires ! CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT | 279 requires CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT |
| 273 requires ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT | 280 requires ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT |
| 274 requires ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM | 281 requires ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM |
| 275 no_define | 282 no_define |
| 276 description " | 283 description " |
| 277 This option enables the building of the GDB stubs for the | 284 This option enables the building of the GDB stubs for the |
| 529 $(OBJCOPY) -O srec $< $(@:.bin=.srec) | 536 $(OBJCOPY) -O srec $< $(@:.bin=.srec) |
| 530 $(OBJCOPY) -O binary $< $@ | 537 $(OBJCOPY) -O binary $< $@ |
| 531 } | 538 } |
| 532 } | 539 } |
| 533 } | 540 } |
| 541 | |
| 542 cdl_option CYGSEM_HAL_USE_ROM_MONITOR { | |
| 543 display "Work with a ROM monitor" | |
| 544 flavor booldata | |
| 545 legal_values { "Generic" "GDB_stubs" } | |
| 546 default_value { CYG_HAL_STARTUP == "RAM" ? "GDB_stubs" : 0 } | |
| 547 parent CYGPKG_HAL_ROM_MONITOR | |
| 548 requires { CYG_HAL_STARTUP == "RAM" } | |
| 549 description " | |
| 550 Support can be enabled for different varieties of ROM monitor. | |
| 551 This support changes various eCos semantics such as the encoding | |
| 552 of diagnostic output, or the overriding of hardware interrupt | |
| 553 vectors. | |
| 554 Firstly there is \"Generic\" support which prevents the HAL | |
| 555 from overriding the hardware vectors that it does not use, to | |
| 556 instead allow an installed ROM monitor to handle them. This is | |
| 557 the most basic support which is likely to be common to most | |
| 558 implementations of ROM monitor. | |
| 559 \"GDB_stubs\" provides support when GDB stubs are included in | |
| 560 the ROM monitor or boot ROM." | |
| 561 } | |
| 534 } | 562 } |
