tests: add build test for reyax lora driver
adding test to build the reyax lora driver Signed-off-by: David Ullmann <davidl.ullmann@gmail.com>
This commit is contained in:
parent
35740a8322
commit
ba75fe482a
4 changed files with 23 additions and 0 deletions
8
tests/drivers/build_all/lora/CMakeLists.txt
Normal file
8
tests/drivers/build_all/lora/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(build_all)
|
||||
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
1
tests/drivers/build_all/lora/prj.conf
Normal file
1
tests/drivers/build_all/lora/prj.conf
Normal file
|
@ -0,0 +1 @@
|
|||
CONFIG_TEST=y
|
10
tests/drivers/build_all/lora/src/main.c
Normal file
10
tests/drivers/build_all/lora/src/main.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright (c) 2024 David Ullmann
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
4
tests/drivers/build_all/lora/testcase.yaml
Normal file
4
tests/drivers/build_all/lora/testcase.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
tests:
|
||||
sample.driver.lora.rylr.send:
|
||||
extra_args: SHIELD=reyax_lora
|
||||
platform_allow: cy8ckit_062s4
|
Loading…
Add table
Add a link
Reference in a new issue