Skip to content

Commit fa954ff

Browse files
tests: driver: can: canfd: Add CAN-FD tests
This commit adds tests for CAN-FD frames. Signed-off-by: Alexander Wachter <[email protected]>
1 parent 1cbe7e9 commit fa954ff

File tree

4 files changed

+417
-0
lines changed

4 files changed

+417
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
cmake_minimum_required(VERSION 3.13.1)
4+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
5+
project(integration)
6+
7+
FILE(GLOB app_sources src/*.c)
8+
target_sources(app PRIVATE ${app_sources})

tests/drivers/can/canfd/prj.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_CAN=y
2+
CONFIG_CAN_FD_MODE=y
3+
CONFIG_ZTEST=y

0 commit comments

Comments
 (0)