aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/drv/arduino
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 18:34:08 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 18:34:08 +0200
commit752dca0a41581282498ccb0d3e2aedb15181e4a8 (patch)
tree8dd27b7e6cff31b05fbc4c8ea0a9d5cec15f2b87 /lib/pbdrv/drv/arduino
parent35129b2ba8e416f99f4095d93ae748762b0e36fb (diff)
WIP main controller puzzle bus behavior + fix build system / client
Diffstat (limited to 'lib/pbdrv/drv/arduino')
-rw-r--r--lib/pbdrv/drv/arduino/cfg.cmake10
-rw-r--r--lib/pbdrv/drv/arduino/include.cmake1
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/pbdrv/drv/arduino/cfg.cmake b/lib/pbdrv/drv/arduino/cfg.cmake
deleted file mode 100644
index 47f54a4..0000000
--- a/lib/pbdrv/drv/arduino/cfg.cmake
+++ /dev/null
@@ -1,10 +0,0 @@
-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)
-
-# arduino must use freertos
-include("${CMAKE_CURRENT_LIST_DIR}/../../ext/freertos/include.cmake")
-
diff --git a/lib/pbdrv/drv/arduino/include.cmake b/lib/pbdrv/drv/arduino/include.cmake
index 50f56d6..1e2ff08 100644
--- a/lib/pbdrv/drv/arduino/include.cmake
+++ b/lib/pbdrv/drv/arduino/include.cmake
@@ -2,7 +2,6 @@ if(NOT DEFINED ARDUINO)
return()
endif()
-target_compile_definitions(pbdrv-mod PRIVATE PB_TARGET_FREERTOS)
target_sources(pbdrv-mod PRIVATE "${CMAKE_CURRENT_LIST_DIR}/mod.cpp")
target_link_arduino_libraries(pbdrv-mod core Wire)