blob: 1e2ff08e8ff22f8fd9304362e2c3364cd41eda87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
if(NOT DEFINED ARDUINO)
return()
endif()
target_sources(pbdrv-mod PRIVATE "${CMAKE_CURRENT_LIST_DIR}/mod.cpp")
target_link_arduino_libraries(pbdrv-mod core Wire)
# freertos is used to defer the handling of i2c messages outside the receive
# interrupt service routine
include("${CMAKE_CURRENT_LIST_DIR}/../../ext/freertos/include.cmake")
|