📄 ecos.ecc
字号:
# Current_value: 2
# The following properties are affected by this value
# component CYGPKG_REDBOOT_FLASH
# ActiveIf: CYGHWR_IO_FLASH_DEVICE
};
# Hardware FLASH device drivers are not in RAM
# Use of this interface is deprecated.
# Drivers should make sure that the functions are
# linked to RAM by putting them in .2ram sections.
#
cdl_interface CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM {
# No options implement this inferface
# This value cannot be modified here.
# Flavor: booldata
# Current value: 0 0
# Requires: !CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
# CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM == 0
# --> 1
# The following properties are affected by this value
# interface CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
# Requires: !CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM
};
# Hardware can support block locking
# This option will be enabled by devices which can support
# locking (write-protection) of individual blocks.
#
cdl_interface CYGHWR_IO_FLASH_BLOCK_LOCKING {
# No options implement this inferface
# This value cannot be modified here.
# Flavor: booldata
# Current value: 0 0
# The following properties are affected by this value
# option CYGSEM_REDBOOT_FLASH_LOCK_SPECIAL
# ActiveIf: CYGHWR_IO_FLASH_BLOCK_LOCKING != 0
};
# Hardware cannot support direct access to FLASH memory
# This option will be asserted by devices which cannot support
# direct access to the FLASH memory contents (e.g. EEPROM or NAND
# devices). In these cases, the driver must provide an appropriate
# hardware access function.
#
cdl_option CYGSEM_IO_FLASH_READ_INDIRECT {
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
# Requires: !CYGSEM_IO_FLASH_VERIFY_PROGRAM
# CYGSEM_IO_FLASH_VERIFY_PROGRAM == 1
# --> 0
# The following properties are affected by this value
# option CYGPRI_REDBOOT_ZLIB_FLASH
# ActiveIf: !CYGSEM_IO_FLASH_READ_INDIRECT
};
# Display status messages during flash operations
# Selecting this option will cause the drivers to print status
# messages as various flash operations are undertaken.
#
cdl_option CYGSEM_IO_FLASH_CHATTER {
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 1
# value_source default
# Default value: 1
};
# Verify data programmed to flash
# Selecting this option will cause verification of data
# programmed to flash.
#
cdl_option CYGSEM_IO_FLASH_VERIFY_PROGRAM {
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 1
# value_source default
# Default value: 1
# The following properties are affected by this value
# option CYGSEM_IO_FLASH_READ_INDIRECT
# Requires: !CYGSEM_IO_FLASH_VERIFY_PROGRAM
};
# Platform has flash soft DIP switch write-protect
# Selecting this option will cause the state of a hardware jumper or
# dipswitch to be read by software to determine whether the flash is
# write-protected or not.
#
cdl_option CYGSEM_IO_FLASH_SOFT_WRITE_PROTECT {
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
};
# Instantiate in I/O block device API
# Provides a block device accessible using the standard I/O
# API ( cyg_io_read() etc. )
#
cdl_component CYGPKG_IO_FLASH_BLOCK_DEVICE {
# This option is not active
# ActiveIf constraint: CYGPKG_IO
# CYGPKG_IO (unknown) == 0
# --> 0
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
};
# >
# Name of flash device 1 block device
#
cdl_component CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 {
# This option is not active
# The parent CYGPKG_IO_FLASH_BLOCK_DEVICE is not active
# The parent CYGPKG_IO_FLASH_BLOCK_DEVICE is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value "\"/dev/flash1\""
# value_source default
# Default value: "\"/dev/flash1\""
};
# >
#
cdl_interface CYGINT_IO_FLASH_BLOCK_CFG_1 {
# Implemented by CYGNUM_IO_FLASH_BLOCK_CFG_STATIC_1, inactive, enabled
# Implemented by CYGNUM_IO_FLASH_BLOCK_CFG_FIS_1, inactive, disabled
# This option is not active
# The parent CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 is not active
# This value cannot be modified here.
# Flavor: data
# Current_value: 0
# Requires: 1 == CYGINT_IO_FLASH_BLOCK_CFG_1
# CYGINT_IO_FLASH_BLOCK_CFG_1 == 0
# --> 0
# The following properties are affected by this value
# interface CYGINT_IO_FLASH_BLOCK_CFG_1
# Requires: 1 == CYGINT_IO_FLASH_BLOCK_CFG_1
};
# Static configuration
# This configures the flash device 1 block device
# with static base and length
#
cdl_component CYGNUM_IO_FLASH_BLOCK_CFG_STATIC_1 {
# This option is not active
# The parent CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 is not active
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 1
# value_source default
# Default value: 1
};
# >
# Start offset from flash base
# This gives the offset from the base of flash which this
# block device corresponds to.
#
cdl_option CYGNUM_IO_FLASH_BLOCK_OFFSET_1 {
# This option is not active
# The parent CYGNUM_IO_FLASH_BLOCK_CFG_STATIC_1 is not active
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 0x00100000
# value_source default
# Default value: 0x00100000
};
# Length
# This gives the length of the region of flash given over
# to this block device.
#
cdl_option CYGNUM_IO_FLASH_BLOCK_LENGTH_1 {
# This option is not active
# The parent CYGNUM_IO_FLASH_BLOCK_CFG_STATIC_1 is not active
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 0x00100000
# value_source default
# Default value: 0x00100000
};
# <
# Configuration from FIS
# This configures the flash device 1 block device
# from Redboot FIS
#
cdl_component CYGNUM_IO_FLASH_BLOCK_CFG_FIS_1 {
# This option is not active
# The parent CYGDAT_IO_FLASH_BLOCK_DEVICE_NAME_1 is not active
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
};
# >
# Name of FIS entry
#
cdl_component CYGDAT_IO_FLASH_BLOCK_FIS_NAME_1 {
# This option is not active
# The parent CYGNUM_IO_FLASH_BLOCK_CFG_FIS_1 is not active
# The parent CYGNUM_IO_FLASH_BLOCK_CFG_FIS_1 is disabled
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value "\"jffs2\""
# value_source default
# Default value: "\"jffs2\""
};
# <
# <
# <
# OSET ARM Anywhere II FLASH memory support
# FLASH memory device support for OSET ARM Anywhere II(SST39VF160)
#
cdl_package CYGPKG_DEVS_FLASH_ARM_ANYWHEREII {
# 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.
# ActiveIf constraint: CYGPKG_IO_FLASH
# CYGPKG_IO_FLASH == current
# --> 1
# This value cannot be modified here.
# Flavor: booldata
# Current value: 1 current
# Requires: CYGPKG_HAL_ARM_ANYWHEREII
# CYGPKG_HAL_ARM_ANYWHEREII == current
# --> 1
};
# >
# Generic SST 39VFxxx driver required
#
cdl_interface CYGINT_DEVS_FLASH_SST_39VFXXX_REQUIRED {
# Implemented by CYGPKG_DEVS_FLASH_ARM_ANYWHEREII, active, enabled
# This value cannot be modified here.
# Flavor: data
# Current_value: 1
# The following properties are affected by this value
# package CYGPKG_DEVS_FLASH_SST_39VFXXX
# ActiveIf: CYGINT_DEVS_FLASH_SST_39VFXXX_REQUIRED
};
# Flash size in Mbytes
# This option specifies the size of the flash device
# of the OSET ARM Anywhere II.
#
cdl_option CYGNUM_DEVS_FLASH_ARM_ANYWHEREII_SIZE {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 2
# value_source default
# Default value: 2
# Legal values: 1 2
};
# <
# SST 39VFXXX FLASH memory support
# FLASH memory device support for SST 39VFXXX
#
cdl_package CYGPKG_DEVS_FLASH_SST_39VFXXX {
# 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.
# ActiveIf constraint: CYGPKG_IO_FLASH
# CYGPKG_IO_FLASH == current
# --> 1
# ActiveIf constraint: CYGINT_DEVS_FLASH_SST_39VFXXX_REQUIRED
# CYGINT_DEVS_FLASH_SST_39VFXXX_REQUIRED == 1
# --> 1
# This value cannot be modified here.
# Flavor: booldata
# Current value: 1 current
};
# <
# eCos HAL
# doc: ref/the-ecos-hardware-abstraction-layer.html
# The eCos HAL package provide a porting layer for
# higher-level parts of the system such as the kernel and the
# C library. Each installation should have HAL packages for
# one or more architectures, and for each architecture there
# may be one or more supported platforms. It is necessary to
# select one target architecture and one platform for that
# architecture. There are also a number of configuration
# options that are common to all HAL packages.
#
cdl_package CYGPKG_HAL {
# 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 value cannot be modified here.
# Flavor: booldata
# Current value: 1 current
# Requires: CYGPKG_INFRA
# CYGPKG_INFRA == current
# --> 1
# The following properties are affected by this value
};
# >
# Platform-independent HAL options
# A number of configuration options are common to most or all
# HAL packages, for example options controlling how much state
# should be saved during a context switch. The implementations
# of these options will vary from architecture to architecture.
#
cdl_component CYGPKG_HAL_COMMON {
# There is no associated value.
};
# >
# Provide eCos kernel support
# The HAL can be configured to either support the full eCos
# kernel, or to support only very simple applications which do
# not require a full kernel. If kernel support is not required
# then some of the startup, exception, and interrupt handling
# code can be eliminated.
#
cdl_option CYGFUN_HAL_COMMON_KERNEL_SUPPORT {
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: CYGPKG_KERNEL
# CYGPKG_KERNEL (unknown) == 0
# --> 0
# Requires: CYGPKG_KERNEL
# CYGPKG_KERNEL (unknown) == 0
# --> 0
};
# HAL exception support
# When a processor exception occurs, for example an attempt to
# execute an illegal instruction or to perform a divide by
# zero, this exception may be handled in a number of different
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -