Commit b3f092a1 authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Fabio Baltieri
Browse files

tests: drivers: can: timing: exclude 20kbit/s test for ESP32 TWAI



Exclude the 20kbit/s CAN timing test from running on the Espressif ESP32
TWAI driver. The TWAI does not support bitrates below 50kbit/s due to the
combination of CAN clock and prescaler range.

Signed-off-by: default avatarHenrik Brix Andersen <henrik@brixandersen.dk>
parent aeb9fd68
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,7 +38,10 @@ struct can_timing_test {
 */
static const struct can_timing_test can_timing_tests[] = {
	/** Standard bitrates. */
#ifndef CONFIG_CAN_ESP32_TWAI
	/* ESP32 TWAI does not support bitrates below 25kbit/s */
	{   20000, 875, false },
#endif /* CONFIG_CAN_ESP32_TWAI */
	{   50000, 875, false },
	{  125000, 875, false },
	{  250000, 875, false },