feat: add shared LLCC68 Zephyr module
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
if(CONFIG_LLCC68)
|
||||
zephyr_library_named(app_driver_llcc68)
|
||||
zephyr_library_sources(src/llcc68.cpp drivers/llcc68/llcc68_raw.c)
|
||||
zephyr_library_include_directories(include src)
|
||||
set_target_properties(app_driver_llcc68 PROPERTIES CXX_STANDARD 23 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS ON)
|
||||
target_compile_options(app_driver_llcc68 PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-std=gnu++23>)
|
||||
target_include_directories(app_driver_llcc68 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
target_link_libraries(app_driver_llcc68 PUBLIC zephyr_interface)
|
||||
add_dependencies(app_driver_llcc68 offsets_h)
|
||||
endif()
|
||||
Reference in New Issue
Block a user