diff options
Diffstat (limited to 'lib/pbdrv/drv/arduino')
-rw-r--r-- | lib/pbdrv/drv/arduino/cfg.cmake | 10 | ||||
-rw-r--r-- | lib/pbdrv/drv/arduino/include.cmake | 1 |
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) |