Add a simple test to validate that the CAN statistics accessor functions can be called from user mode threads. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
10 lines
210 B
Plaintext
10 lines
210 B
Plaintext
CONFIG_CAN=y
|
|
CONFIG_CAN_FD_MODE=y
|
|
CONFIG_CAN_AUTO_BUS_OFF_RECOVERY=n
|
|
CONFIG_STATS=y
|
|
CONFIG_CAN_STATS=y
|
|
CONFIG_TEST_USERSPACE=y
|
|
CONFIG_ZTEST=y
|
|
# The canfd test suite may be skipped
|
|
CONFIG_ZTEST_VERIFY_RUN_ALL=n
|