wip: testing

This commit is contained in:
2025-08-22 11:37:20 +02:00
parent 98ac20f729
commit ef5035b92b
2 changed files with 29 additions and 20 deletions

View File

@@ -1,12 +1,14 @@
cmake_minimum_required(VERSION 3.20.0)
project(sherpa_ros2_sensor_node)
SET(CMAKE_CXX_COMPILER /opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc)
list(APPEND ZEPHYR_EXTRA_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/modules/micro_ros_zephyr_module/modules/libmicroros)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(sherpa_ros2_sensor_node)
target_sources(app PRIVATE src/main.cpp)
if(${BOARD} STREQUAL "native_sim")
add_subdirectory(src/emulation)
endif()
endif()