Skip to content

Commit

Permalink
tests: driver: can: canfd: Add CAN-FD tests
Browse files Browse the repository at this point in the history
This commit adds tests for CAN-FD frames.

Signed-off-by: Alexander Wachter <[email protected]>
  • Loading branch information
alexanderwachter authored and galak committed May 7, 2021
1 parent 4b722b0 commit 3b2fd1c
Show file tree
Hide file tree
Showing 4 changed files with 417 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/drivers/can/canfd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(integration)

FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})
3 changes: 3 additions & 0 deletions tests/drivers/can/canfd/prj.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_CAN=y
CONFIG_CAN_FD_MODE=y
CONFIG_ZTEST=y
Loading

0 comments on commit 3b2fd1c

Please sign in to comment.