Skip to content

Commit a90f999

Browse files
hlord2000kartben
authored andcommitted
tests: utils: lib: cobs tests
Adds tests for COBS util. Signed-off-by: Helmut Lord <kellyhlord@gmail.com>
1 parent f31b4a6 commit a90f999

File tree

4 files changed

+530
-0
lines changed

4 files changed

+530
-0
lines changed

tests/lib/cobs/CMakeLists.txt

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.20.0)
4+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
5+
project(cobs)
6+
7+
FILE(GLOB app_sources src/*.c)
8+
target_sources(app PRIVATE ${app_sources})

tests/lib/cobs/prj.conf

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

0 commit comments

Comments
 (0)