📄 ecos_default.ecc
字号:
# eCos saved configuration# ---- commands --------------------------------------------------------# This section contains information about the savefile format.# It should not be edited. Any modifications made to this section# may make it impossible for the configuration tools to read# the savefile.cdl_savefile_version 1;cdl_savefile_command cdl_savefile_version {};cdl_savefile_command cdl_savefile_command {};cdl_savefile_command cdl_configuration { description hardware template package };cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value };# ---- toplevel --------------------------------------------------------# This section defines the toplevel configuration object. The only# values that can be changed are the name of the configuration and# the description field. It is not possible to modify the target,# the template or the set of packages simply by editing the lines# below because these changes have wide-ranging effects. Instead# the appropriate tools should be used to make such modifications.cdl_configuration eCos { description "" ; # These fields should not be modified. hardware gps4020 ; template default ; package -template CYGPKG_HAL current ; package -template CYGPKG_IO current ; package -template CYGPKG_IO_SERIAL current ; package -template CYGPKG_INFRA current ; package -template CYGPKG_KERNEL current ; package -template CYGPKG_MEMALLOC current ; package -template CYGPKG_ISOINFRA current ; package -template CYGPKG_LIBC current ; package -template CYGPKG_LIBC_I18N current ; package -template CYGPKG_LIBC_SETJMP current ; package -template CYGPKG_LIBC_SIGNALS current ; package -template CYGPKG_LIBC_STARTUP current ; package -template CYGPKG_LIBC_STDIO current ; package -template CYGPKG_LIBC_STDLIB current ; package -template CYGPKG_LIBC_STRING current ; package -template CYGPKG_LIBC_TIME current ; package -template CYGPKG_LIBM current ; package -template CYGPKG_IO_WALLCLOCK current ; package -template CYGPKG_ERROR current ; package -hardware CYGPKG_HAL_ARM current ; package -hardware CYGPKG_HAL_ARM_GPS4020 current ; package -hardware CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX current ; package -hardware CYGPKG_DEVS_FLASH_GPS4020 current ; package -hardware CYGPKG_IO_SERIAL_ARM_GPS4020 current ;};# ---- conflicts -------------------------------------------------------# There are no conflicts.# ---- contents --------------------------------------------------------# ># ># Redboot for ARM options# This option lists the target's requirements for a valid Redboot# configuration.#cdl_component CYGPKG_REDBOOT_ARM_OPTIONS { # This option is not active # ActiveIf constraint: CYGPKG_REDBOOT # CYGPKG_REDBOOT (unknown) == 0 # --> 0 # There is no associated value. # The following properties are affected by this value};# ># Provide the exec command in RedBoot# This option contains requirements for booting linux# from RedBoot. The component is enabled/disabled from# RedBoots CDL.#cdl_component CYGPKG_REDBOOT_ARM_LINUX_EXEC { # This option is not active # The parent CYGPKG_REDBOOT_ARM_OPTIONS is not active # ActiveIf constraint: CYGBLD_BUILD_REDBOOT_WITH_EXEC # CYGBLD_BUILD_REDBOOT_WITH_EXEC (unknown) == 0 # --> 0 # There is no associated value.};# ># Enable -x switch for exec command.# This option allows bi-endian platforms to launch kernels# built for an endianess different than the RedBoot endianess#cdl_option CYGHWR_REDBOOT_LINUX_EXEC_X_SWITCH { # This option is not active # The parent CYGPKG_REDBOOT_ARM_LINUX_EXEC is not active # Flavor: bool # No user value, uncomment the following line to provide one. # user_value 0 # value_source default # Default value: 0};# Physical base address of linux kernel# This is the physical address of the base of the # Linux kernel image.#cdl_option CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS { # This option is not active # The parent CYGPKG_REDBOOT_ARM_LINUX_EXEC is not active # Flavor: data # No user value, uncomment the following line to provide one. # user_value 0 # value_source default # Default value: CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT # CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT == 0 # --> 0};# Default physical base address of linux kernel# This is the physical address of the base of the # Linux kernel image. This option gets set by the # platform CDL.#cdl_option CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT { # This option is not active # The parent CYGPKG_REDBOOT_ARM_LINUX_EXEC is not active # Flavor: data # No user value, uncomment the following line to provide one. # user_value 0x00008000 # value_source default # Default value: 0x00008000 # The following properties are affected by this value # option CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS # DefaultValue: CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT};# Base address of linux kernel parameter tags# This is the base address of the area of memory used to# pass parameters to the Linux kernel. This should be chosen# to avoid overlap with the kernel and any ramdisk image.#cdl_option CYGHWR_REDBOOT_ARM_LINUX_TAGS_ADDRESS { # This option is not active # The parent CYGPKG_REDBOOT_ARM_LINUX_EXEC is not active # Flavor: data # No user value, uncomment the following line to provide one. # user_value 0x00000100 # value_source default # Default value: 0x00000100};# <# <# Global build options# Global build options including control over# compiler flags, linker flags and choice of toolchain.#cdl_component CYGBLD_GLOBAL_OPTIONS { # There is no associated value. # The following properties are affected by this value};# ># Global command prefix# This option specifies the command prefix used when# invoking the build tools.#cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX { # Flavor: data # No user value, uncomment the following line to provide one. # user_value arm-elf # value_source default # Default value: arm-elf};# Global compiler flags# This option controls the global compiler flags which are used to# compile all packages by default. Individual packages may define# options which override these global flags.#cdl_option CYGBLD_GLOBAL_CFLAGS { # Flavor: data user_value "-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc" # value_source user # Default value: "-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" # The following properties are affected by this value # option CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS # Requires: is_substr(CYGBLD_GLOBAL_CFLAGS, " -Werror") # option CYGBLD_INFRA_CFLAGS_PIPE # Requires: is_substr(CYGBLD_GLOBAL_CFLAGS, " -pipe") };# Global linker flags# This option controls the global linker flags. Individual# packages may define options which override these global flags.#cdl_option CYGBLD_GLOBAL_LDFLAGS { # Flavor: data # No user value, uncomment the following line to provide one. # user_value "-mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -g -nostdlib" # value_source default # Default value: "-mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -g -nostdlib"};# Build GDB stub ROM image# This option enables the building of the GDB stubs for the# board. This is a bit convoluted as it involves prepending# the image with a special header used by the GPS4020 firmware# to keep track of multiple ROM images. This header includes# a checksum making it necessary to build twice.#cdl_option CYGBLD_BUILD_GDB_STUBS { # Flavor: bool # No user value, uncomment the following line to provide one. # user_value 0 # value_source default # Default value: 0 # Requires: CYG_HAL_STARTUP == "ROM" # CYG_HAL_STARTUP == RAM # --> 0 # Requires: CYGSEM_HAL_ROM_MONITOR # CYGSEM_HAL_ROM_MONITOR == 0 # --> 0 # Requires: CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS # CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS == 0 # --> 0 # Requires: ! CYGBLD_BUILD_COMMON_GDB_STUBS # CYGBLD_BUILD_COMMON_GDB_STUBS == 0 # --> 1 # Requires: CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT # CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT == 0 # --> 0 # Requires: CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT # CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT == 1 # --> 1 # Requires: ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT # CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT == 1 # --> 0 # Requires: ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM # CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM == 1 # --> 0};# Build common GDB stub ROM image# Unless a target board has specific requirements to the# stub implementation, it can use a simple common stub.# This option, which gets enabled by platform HALs as# appropriate, controls the building of the common stub.#cdl_option CYGBLD_BUILD_COMMON_GDB_STUBS { # Flavor: bool # No user value, uncomment the following line to provide one. # user_value 0 # value_source default # Default value: 0 # Requires: CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS # CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS == 0 # --> 0 # The following properties are affected by this value # option CYGBLD_BUILD_GDB_STUBS # Requires: ! CYGBLD_BUILD_COMMON_GDB_STUBS};# <# Redboot HAL options# This option lists the target's requirements for a valid Redboot# configuration.#cdl_component CYGPKG_REDBOOT_HAL_OPTIONS { # This option is not active # ActiveIf constraint: CYGPKG_REDBOOT # CYGPKG_REDBOOT (unknown) == 0 # --> 0 # There is no associated value. # Requires: !CYGPKG_REDBOOT_FLASH || CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP == 0 # CYGPKG_REDBOOT_FLASH (unknown) == 0 # CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP (unknown) == 0 # --> 1 # Requires: !CYGBLD_BUILD_REDBOOT_WITH_EXEC # CYGBLD_BUILD_REDBOOT_WITH_EXEC (unknown) == 0 # --> 1};# ># Build Redboot ROM binary image# This option enables the conversion of the Redboot ELF# image to the various relocated SREC images needed# for flash updating.#cdl_option CYGBLD_BUILD_REDBOOT_BIN { # This option is not active # The parent CYGPKG_REDBOOT_HAL_OPTIONS is not active # ActiveIf constraint: CYGBLD_BUILD_REDBOOT # CYGBLD_BUILD_REDBOOT (unknown) == 0 # --> 0 # Flavor: bool # No user value, uncomment the following line to provide one. # user_value 1 # value_source default # Default value: 1};# <# Atmel AT49XXXX FLASH memory support# FLASH memory device support for Atmel AT49XXXX#cdl_package CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX { # Packages cannot be added or removed, nor can their version be changed, # simply by editing their value. Instead the appropriate configuration # should be used to perform these actions. # This option is not active # ActiveIf constraint: CYGPKG_IO_FLASH # CYGPKG_IO_FLASH (unknown) == 0 # --> 0 # ActiveIf constraint: CYGINT_DEVS_FLASH_ATMEL_AT49XXXX_REQUIRED # CYGINT_DEVS_FLASH_ATMEL_AT49XXXX_REQUIRED == 0 # --> 0 # This value cannot be modified here. # Flavor: booldata # Current value: 1 current};# ># AT91FR40162 erase bug workaround# The flash chips used in Atmel AT91FR40162 microcontrollers have a silicon bug# that causes erase operations to be unreliable unless any data to be erased is# cleared first, see http://www.atmel.com/dyn/resources/prod_documents/doc6076.pdf.# Selecting this option enables that workaround. Of course, erase operations will be# slower then.#cdl_option CYGHWR_DEVS_FLASH_ATMEL_AT49XXXX_ERASE_BUG_WORKAROUND { # This option is not active # The parent CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX is not active
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -