📄 ecos.ecc
字号:
# compiler flags used only in building this package,
# and details of which tests are built.
#
cdl_component CYGPKG_DEVS_SPI_COLDFIRE_MCF5484_OPTIONS {
# There is no associated value.
};
# >
# Additional compiler flags
# This option modifies the set of compiler flags for
# building the SPI device. These flags are used in addition
# to the set of global flags.
#
cdl_option CYGPKG_DEVS_SPI_COLDFIRE_MCF5484_CFLAGS_ADD {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value ""
# value_source default
# Default value: ""
};
# Suppressed compiler flags
# This option modifies the set of compiler flags for
# building the SPI device. These flags are removed from
# the set of global flags if present.
#
cdl_option CYGPKG_DEVS_SPI_COLDFIRE_MCF5484_CFLAGS_REMOVE {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value ""
# value_source default
# Default value: ""
};
# <
# <
# <
# Watchdog IO device
# The watchdog IO device allows applications to make use of a
# timer facility. Depending on the underlying hardware device
# driver, a watchdog timeout will either cause a board reset
# or an action routine to be called. The application must call
# the watchdog reset function at regular intervals, or else the
# device will timeout. The assumption is that the watchdog timer
# should never trigger unless there has been a serious fault in
# either the hardware or the software.
#
cdl_package CYGPKG_IO_WATCHDOG {
# 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: 1 == CYGINT_WATCHDOG_IMPLEMENTATIONS
# CYGINT_WATCHDOG_IMPLEMENTATIONS == 1
# --> 1
# The following properties are affected by this value
# package CYGPKG_DEVS_WATCHDOG_COLDFIRE_MCF54
# ActiveIf: CYGPKG_IO_WATCHDOG
};
# >
# Number of watchdog hardware implementations
#
cdl_interface CYGINT_WATCHDOG_HW_IMPLEMENTATIONS {
# Implemented by CYGPKG_DEVS_WATCHDOG_COLDFIRE_MCF54, active, enabled
# This value cannot be modified here.
# Flavor: data
# Current_value: 1
# The following properties are affected by this value
# option CYGPKG_WATCHDOG_EMULATE
# DefaultValue: 0 == CYGINT_WATCHDOG_HW_IMPLEMENTATIONS
};
# Number of watchdog implementations
#
cdl_interface CYGINT_WATCHDOG_IMPLEMENTATIONS {
# Implemented by CYGPKG_WATCHDOG_EMULATE, active, disabled
# Implemented by CYGIMP_WATCHDOG_NONE, active, disabled
# Implemented by CYGIMP_WATCHDOG_HARDWARE, active, enabled
# This value cannot be modified here.
# Flavor: data
# Current_value: 1
# The following properties are affected by this value
# package CYGPKG_IO_WATCHDOG
# Requires: 1 == CYGINT_WATCHDOG_IMPLEMENTATIONS
};
# Watchdog implementation
# Implementations of the watchdog device.
#
cdl_component CYGPKG_IO_WATCHDOG_IMPLEMENTATION {
# There is no associated value.
# The following properties are affected by this value
};
# >
# Watchdog emulator
# When this option is enabled, a watchdog device will be
# emulated using the kernel real-time clock.
#
cdl_option CYGPKG_WATCHDOG_EMULATE {
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0 == CYGINT_WATCHDOG_HW_IMPLEMENTATIONS
# CYGINT_WATCHDOG_HW_IMPLEMENTATIONS == 1
# --> 0
# Requires: CYGVAR_KERNEL_COUNTERS_CLOCK
# CYGVAR_KERNEL_COUNTERS_CLOCK == 1
# --> 1
};
# No watchdog
# Disables the watchdog.
#
cdl_option CYGIMP_WATCHDOG_NONE {
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
};
# Hardware watchdog
#
cdl_option CYGIMP_WATCHDOG_HARDWARE {
# Calculated value: 1
# Flavor: bool
# Current value: 1
# The following properties are affected by this value
# package CYGPKG_DEVS_WATCHDOG_COLDFIRE_MCF54
# ActiveIf: CYGIMP_WATCHDOG_HARDWARE
};
# <
# Set if device causes a reset on timeout
#
cdl_interface CYGINT_WATCHDOG_RESETS_ON_TIMEOUT {
# Implemented by CYGSEM_DEVS_WATCHDOG_COLDFIRE_MCF54_RESET, active, enabled
# This value cannot be modified here.
# Flavor: data
# Current_value: 1
# The following properties are affected by this value
# option CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT
# Calculated: CYGINT_WATCHDOG_RESETS_ON_TIMEOUT == 1
};
# Set if device causes a reset on timeout
# Some watchdog devices reset the board on timeout - for these
# implementations it does not make sense to register timeout
# actions so the code gets disabled when this option is set.
# When this option is not set, it is the application's
# responsibility to register an action handler which can force
# a board reset when it gets called.
#
cdl_option CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT {
# Calculated value: CYGINT_WATCHDOG_RESETS_ON_TIMEOUT == 1
# CYGINT_WATCHDOG_RESETS_ON_TIMEOUT == 1
# Flavor: bool
# Current value: 1
# The following properties are affected by this value
# option CYGPKG_IO_WATCHDOG_TESTS
# Calculated: CYGPKG_IO_WATCHDOG_BUILD_INTERACTIVE_TEST ?
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT ? "tests/watchdog2 tests/watchdog_reset" : "tests/watchdog tests/watchdog2 tests/watchdog_reset" :
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT ? "tests/watchdog2" : "tests/watchdog tests/watchdog2"
# option CYGPKG_IO_WATCHDOG_TESTS
# Calculated: CYGPKG_IO_WATCHDOG_BUILD_INTERACTIVE_TEST ?
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT ? "tests/watchdog2 tests/watchdog_reset" : "tests/watchdog tests/watchdog2 tests/watchdog_reset" :
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT ? "tests/watchdog2" : "tests/watchdog tests/watchdog2"
};
# Build interactive watchdog test
# This option enables the building of a watchdog test
# which can be used to test that the board resets on
# watchdog timeout. This test is built separately since
# it only makes sense to use interactively.
#
cdl_option CYGPKG_IO_WATCHDOG_BUILD_INTERACTIVE_TEST {
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 0
# value_source default
# Default value: 0
# The following properties are affected by this value
# option CYGPKG_IO_WATCHDOG_TESTS
# Calculated: CYGPKG_IO_WATCHDOG_BUILD_INTERACTIVE_TEST ?
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT ? "tests/watchdog2 tests/watchdog_reset" : "tests/watchdog tests/watchdog2 tests/watchdog_reset" :
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT ? "tests/watchdog2" : "tests/watchdog tests/watchdog2"
};
# Watchdog build options
# Package specific build options including control over
# compiler flags used only in building this package,
# and details of which tests are built.
#
cdl_component CYGPKG_IO_WATCHDOG_OPTIONS {
# There is no associated value.
};
# >
# Additional compiler flags
# This option modifies the set of compiler flags for
# building the watchdog IO device. These flags are used
# in addition to the set of global flags.
#
cdl_option CYGPKG_IO_WATCHDOG_CFLAGS_ADD {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value ""
# value_source default
# Default value: ""
};
# Suppressed compiler flags
# This option modifies the set of compiler flags for
# building the watchdog IO device. These flags are removed from
# the set of global flags if present.
#
cdl_option CYGPKG_IO_WATCHDOG_CFLAGS_REMOVE {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value ""
# value_source default
# Default value: ""
};
# Watchdog tests
# This option specifies the set of tests for the
# watchdog IO device.
#
cdl_option CYGPKG_IO_WATCHDOG_TESTS {
# Calculated value: CYGPKG_IO_WATCHDOG_BUILD_INTERACTIVE_TEST ?
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT ? "tests/watchdog2 tests/watchdog_reset" : "tests/watchdog tests/watchdog2 tests/watchdog_reset" :
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT ? "tests/watchdog2" : "tests/watchdog tests/watchdog2"
# CYGPKG_IO_WATCHDOG_BUILD_INTERACTIVE_TEST == 0
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT == 1
# CYGSEM_WATCHDOG_RESETS_ON_TIMEOUT == 1
# Flavor: data
# Current_value: tests/watchdog2
};
# <
# Coldfire MCf54 watchdog driver
# Coldfire MCF54 Hardware Watchdog driver.
#
cdl_package CYGPKG_DEVS_WATCHDOG_COLDFIRE_MCF54 {
# 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_WATCHDOG
# CYGPKG_IO_WATCHDOG == current
# --> 1
# ActiveIf constraint: CYGIMP_WATCHDOG_HARDWARE
# CYGIMP_WATCHDOG_HARDWARE == 1
# --> 1
# This value cannot be modified here.
# Flavor: booldata
# Current value: 1 current
# Requires: CYGPKG_HAL_COLDFIRE
# CYGPKG_HAL_COLDFIRE == current
# --> 1
};
# >
# Desired timeout value
# This parameter controls the watchdog timeout interval.(UNITS: ms, millisecond)
# The actual timeout interval (counter value) is calculated based on this value, prescaler and system clock frequency.
#
cdl_option CYGNUM_DEVS_WATCHDOG_COLDFIRE_MCF54_DESIRED_TIMEOUT_MS {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 1000
# value_source default
# Default value: 1000
};
# Prescaler of counter
# Prescaler value of counter.
# The actual timeout interval (counter value) is calculated based on this value, desired interval and system clock frequency.
#
cdl_option CYGNUM_DEVS_WATCHDOG_COLDFIRE_MCF54_COUNTER_PRESCALER {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value 4096
# value_source default
# Default value: 4096
# Legal values: 3052 to 65535
};
# Generate reset on watchdog expiration
# Enabling this option changes the watchdog operation mode
# to generate a system reset upon expiration instead of
# invoking an application-defined action. !Only active when kernel present!!For the restriction of mcf54 wd device action_list is not supported. In other word, only RESET mode available!
#
cdl_option CYGSEM_DEVS_WATCHDOG_COLDFIRE_MCF54_RESET {
# ActiveIf constraint: CYGPKG_KERNEL
# CYGPKG_KERNEL == current
# --> 1
# Flavor: bool
# No user value, uncomment the following line to provide one.
# user_value 1
# value_source default
# Default value: 1
};
# MCF54xx watchdog build options
# Package specific build options including control over
# compiler flags used only in building this package,
# and details of which tests are built.
#
cdl_component CYGPKG_DEVICES_WATCHDOG_COLDFIRE_MCF54_OPTIONS {
# There is no associated value.
};
# >
# Additional compiler flags
# This option modifies the set of compiler flags for
# building the watchdog device. These flags are used in addition
# to the set of global flags.
#
cdl_option CYGPKG_DEVICES_WATCHDOG_COLDFIRE_MCF54_CFLAGS_ADD {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value ""
# value_source default
# Default value: ""
};
# Suppressed compiler flags
# This option modifies the set of compiler flags for
# building the watchdog device. These flags are removed from
# the set of global flags if present.
#
cdl_option CYGPKG_DEVICES_WATCHDOG_COLDFIRE_MCF54_CFLAGS_REMOVE {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value ""
# value_source default
# Default value: ""
};
# <
# <
# <
# I2C support
# The generic I2C package provides an API for accessing devices
# attached to an I2C bus. It specifies how I2C bus drivers should
# be written and how I2C devices should be defined. There is also
# support for bit-banged I2C buses.
#
cdl_package CYGPKG_IO_I2C {
# 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 CYG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -