aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/drv/arduino/include.cmake
blob: 5ec11242e475c613c2adb859de9ae0916813b823 (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 PRIVATE 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")