zephyr/samples/modules/canopennode/CMakeLists.txt
Henrik Brix Andersen c0fb33ab8d samples: modules: canopennode: convert to sysbuild
Convert the CANopenNode sample to use sysbuild for generating MCUboot +
CANopenNode sample binaries instead of using manual instructions.

Rework the twister sample filtering to just list the known good boards.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-01-13 14:05:40 +01:00

14 lines
348 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
macro(app_set_runner_args)
board_runner_args(canopen "--node-id=${CONFIG_CANOPEN_NODE_ID}")
endmacro()
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(CANopen)
target_sources(app PRIVATE src/main.c objdict/CO_OD.c)
zephyr_include_directories(objdict)