#
# ====================================================================
-cdl_package CYGPKG_IO_CAN_LOOP {
+cdl_package CYGPKG_DEVS_CAN_LOOP {
display "Loop CAN device drivers"
parent CYGPKG_IO_CAN_DEVICES
# Support up to two CAN loop device.
for { set ::loopcan 0 } { $::loopcan < 2 } { incr ::loopcan } {
- cdl_component CYGPKG_IO_CAN_LOOP_CAN[set ::loopcan] {
+ cdl_component CYGPKG_DEVS_CAN_LOOP_CAN[set ::loopcan] {
display "LOOP CAN channel [set ::loopcan] driver"
flavor bool
default_value 0
implements CYGINT_IO_CAN_TIMESTAMP
+ implements CYGINT_IO_CAN_TX_EVENTS
+ implements CYGINT_IO_CAN_STD_CAN_ID
+ implements CYGINT_IO_CAN_EXT_CAN_ID
description "
This option includes the CAN loop device driver for channel [set ::loopcan]."
}
- cdl_component CYGPKG_IO_CAN_LOOP_OPTIONS {
+ cdl_component CYGPKG_DEVS_CAN_LOOP_OPTIONS {
display "CAN device driver build options"
flavor none
description "
compiler flags used only in building this package,
and details of which tests are built."
-
- cdl_option CYGPKG_IO_CAN_LOOP_CFLAGS_ADD {
- display "Additional compiler flags"
- flavor data
- no_define
- default_value { "" }
- description "
- This option modifies the set of compiler flags for
- building these CAN device drivers. These flags
- are used in addition to the set of global flags."
- }
-
- cdl_option CYGPKG_IO_CAN_LOOP_CFLAGS_REMOVE {
- display "Suppressed compiler flags"
- flavor data
- no_define
- default_value { "" }
- description "
- This option modifies the set of compiler flags for
- building these CAN device drivers. These flags are
- removed from the set of global flags if present."
- }
- cdl_option CYGPKG_IO_CAN_LOOP_TESTS {
+ cdl_option CYGPKG_DEVS_CAN_LOOP_TESTS {
display "CAN loop device driver tests"
flavor data
- calculated { "tests/can_rdwr tests/can_timeout tests/can_txevent tests/can_overrun1 tests/can_overrun2 tests/can_nonblock"}
+ calculated { "tests/can_rdwr tests/can_timeout tests/can_txevent tests/can_overrun1 tests/can_overrun2 tests/can_nonblock tests/can_callback" }
description "
This option specifies the set of tests for the CAN loop device drivers."
}