2019-09-10 10:53:12 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-10 14:44:56 +02:00
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
2019-09-10 10:53:12 +02:00
|
|
|
|
2020-02-20 12:31:51 +01:00
|
|
|
macro(app_set_runner_args)
|
|
|
|
board_runner_args(canopen "--node-id=${CONFIG_CANOPEN_NODE_ID}")
|
|
|
|
endmacro()
|
|
|
|
|
2020-05-29 06:02:17 +02:00
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
2019-09-10 10:53:12 +02:00
|
|
|
project(CANopen)
|
|
|
|
|
|
|
|
target_sources(app PRIVATE src/main.c objdict/CO_OD.c)
|
|
|
|
zephyr_include_directories(objdict)
|