📄 hal_arm_arm9_ep93xx.cdl
字号:
# ====================================================================## hal_arm_arm9_ep93xx.cdl## Cirrus Logic ARM9/EP93XX platform HAL package configuration data## ====================================================================#####COPYRIGHTBEGIN##### # ------------------------------------------- # The contents of this file are subject to the Red Hat eCos Public License # Version 1.1 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.redhat.com/ # # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the # License for the specific language governing rights and limitations under # the License. # # The Original Code is eCos - Embedded Configurable Operating System, # released September 30, 1998. # # The Initial Developer of the Original Code is Red Hat. # Portions created by Red Hat are # Copyright (C) 1998, 1999, 2000, 2001 Red Hat, Inc. # All Rights Reserved. # ------------------------------------------- # #####COPYRIGHTEND##### ====================================================================######DESCRIPTIONBEGIN###### Author(s): gthomas# Original data: gthomas# Contributors:# Date: 2001-04-23######DESCRIPTIONEND###### ====================================================================cdl_package CYGPKG_HAL_ARM_ARM9_EP93XX { display "Cirrus Logic ARM9/EP93xx evaluation board" parent CYGPKG_HAL_ARM_ARM9 requires CYGPKG_HAL_ARM_ARM9_ARM920T hardware include_dir cyg/hal define_header hal_arm_arm9_ep93xx.h description " This HAL platform package provides generic support for the Cirrus Logic EP93xx based boards." compile ep93xx_misc.c hal_diag.c implements CYGINT_HAL_DEBUG_GDB_STUBS implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK implements CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT define_proc { puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_arm.h>" puts $::cdl_system_header "#define CYGBLD_HAL_VARIANT_H <pkgconf/hal_arm_arm9.h>" puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_arm9_ep93xx.h>" puts $::cdl_header "#define HAL_PLATFORM_CPU \"ARM920T\"" puts $::cdl_header "#define HAL_PLATFORM_BOARD \"Cirrus Logic EDB9312 Board\"" puts $::cdl_header "#define HAL_PLATFORM_EXTRA \"Rev A\"" puts $::cdl_header "#define HAL_PLATFORM_EP9312" puts $::cdl_header "#define HAL_PLATFORM_MACHINE_TYPE 451" puts $::cdl_header "#define CYGHWR_REDBOOT_ARM_TRAMPOLINE_ADDRESS 0x00200000" } cdl_component CYG_HAL_STARTUP { display "Startup type" flavor data default_value {"RAM"} legal_values {"RAM" "ROMRAM" } no_define define -file system.h CYG_HAL_STARTUP description " When targetting the EP93xx eval board it is possible to build the system for either RAM bootstrap or ROM bootstrap(s). Select 'ram' when building programs to load into RAM using eCos GDB stubs. Select 'rom' when building a stand-alone application which will be put into ROM, or for the special case of building the eCos GDB stubs themselves." } cdl_option CYGHWR_HAL_ARM_EP93XX_PROCESSOR_CLOCK { display "Processor clock rate (FCLK, in MHz)" flavor data legal_values 200 100 50 default_value { 200 } description " The processor can run at various frequencies." } cdl_option CYGHWR_HAL_ARM_EP93XX_BUS_CLOCK_DIVISOR { display "Bus clock rate divisor (HCLK)" flavor data legal_values 1 2 4 5 6 8 16 32 default_value { 4 } description " The peripheral bus is clocked at a rate which is computed by dividing the system processor clock by this factor. The default values yield an FCLK (processor clock) of 128MHz and a bus clock (HCLK) of 42MHz." } # Real-time clock/counter specifics cdl_component CYGNUM_HAL_RTC_CONSTANTS { display "Real-time clock constants" flavor none no_define cdl_option CYGNUM_HAL_RTC_NUMERATOR { display "Real-time clock numerator" flavor data calculated 1000000000 } cdl_option CYGNUM_HAL_RTC_DENOMINATOR { display "Real-time clock denominator" flavor data calculated 100 } cdl_option CYGNUM_HAL_RTC_PERIOD { display "Real-time clock period" flavor data calculated (5120) ;# Assumes 512KHz clock } } cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD { display "Diagnostic serial port baud rate" flavor data legal_values 9600 19200 38400 57600 115200 default_value 57600 description " This option selects the baud rate used for the diagnostic port. Note: this should match the value chosen for the GDB port if the diagnostic and GDB port are the same." } cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_BAUD { display "GDB serial port baud rate" flavor data legal_values 9600 19200 38400 57600 115200 default_value 57600 description " This option selects the baud rate used for the diagnostic port. Note: this should match the value chosen for the GDB port if the diagnostic and GDB port are the same." } cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS { display "Number of communication channels on the board" flavor data calculated 1 } cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL { display "Debug serial port" active_if CYGPRI_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_CONFIGURABLE flavor data legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 default_value 0 description " The ep93xx board has three serial ports. This option chooses which port will be used to connect to a host running GDB." } cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL { display "Diagnostic serial port" active_if CYGPRI_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_CONFIGURABLE flavor data legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 default_value 0 description " The ep93xx board has three serial ports. This option chooses which port will be used for diagnostic output." } cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_DEFAULT { display "Default console channel." flavor data legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 calculated 0 } cdl_component CYGBLD_GLOBAL_OPTIONS { display "Global build options" flavor none no_define description " Global build options including control over compiler flags, linker flags and choice of toolchain." parent CYGPKG_NONE cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX { display "Global command prefix" flavor data
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -