c7dab3df08
Adds CAN drivers for XMC4xxx SoCs. XMC4xxx has multiple CAN nodes. The nodes share a common clock and a message object pool. The CAN nodes do not have a loopback mode. Instead there is an internal bus which can be used to exchange messages between nodes on the SoC. For this reason tests/samples which rely on the loopback feature have been disabled. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
15 lines
420 B
YAML
15 lines
420 B
YAML
sample:
|
|
name: CAN driver counter sample
|
|
tests:
|
|
sample.drivers.can.counter:
|
|
tags: can
|
|
depends_on: can
|
|
integration_platforms:
|
|
- native_sim
|
|
filter: dt_chosen_enabled("zephyr,canbus") and not dt_compat_enabled("kvaser,pcican")
|
|
and not dt_compat_enabled("infineon,xmc4xxx-can-node")
|
|
harness: console
|
|
harness_config:
|
|
type: one_line
|
|
regex:
|
|
- "Counter received: (.*)"
|