Skip to content

Commit

Permalink
tests: mode: Modem CMUX DTE / DCE test
Browse files Browse the repository at this point in the history
Added unite test for for validate modem CMUX DTE & DCE role
communication together.

Signed-off-by: Juha Heiskanen <juha.heiskanen@nordicsemi.no>
  • Loading branch information
Juha Heiskanen authored and fabiobaltieri committed Dec 8, 2023
1 parent 6943cd4 commit 34d4e50
Show file tree
Hide file tree
Showing 4 changed files with 622 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/subsys/modem/modem_cmux_pair/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(modem_cmux_pair_test)

target_sources(app PRIVATE src/main.c ../mock/modem_backend_mock.c)
target_include_directories(app PRIVATE ../mock)
9 changes: 9 additions & 0 deletions tests/subsys/modem/modem_cmux_pair/prj.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

CONFIG_NO_OPTIMIZATIONS=y

CONFIG_MODEM_MODULES=y
CONFIG_MODEM_CMUX=y

CONFIG_ZTEST=y
Loading

0 comments on commit 34d4e50

Please sign in to comment.