aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/drv/arduino/include.cmake
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-24 14:04:06 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-24 14:04:06 +0200
commit07e49bbbd3790a95511d68b94d47bf107a5e24a1 (patch)
tree805007e6d2f192f849dda163bb04fb6d78e3c801 /lib/pbdrv/drv/arduino/include.cmake
parentf6f79683d6ffcc8542652e2eb11a1148d2a94288 (diff)
re-implement deferred I2C handlers for the Arduino pbdrv drv
Diffstat (limited to 'lib/pbdrv/drv/arduino/include.cmake')
-rw-r--r--lib/pbdrv/drv/arduino/include.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pbdrv/drv/arduino/include.cmake b/lib/pbdrv/drv/arduino/include.cmake
index 520bfc1..5ec1124 100644
--- a/lib/pbdrv/drv/arduino/include.cmake
+++ b/lib/pbdrv/drv/arduino/include.cmake
@@ -5,3 +5,7 @@ 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")
+