aboutsummaryrefslogtreecommitdiff
path: root/main/CMakeLists.txt
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-23 13:31:49 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-23 13:31:49 +0200
commit648d87ea98ec39d5745d36a0b5c5078cd9491211 (patch)
treed57d3cd5fb736012d6ac81a2e96e5244e56b9a77 /main/CMakeLists.txt
parent381c80d765628f5d85b58b3b97e5a6bf3a0d1eb7 (diff)
place rp2040 back in pbdrv
Diffstat (limited to 'main/CMakeLists.txt')
-rw-r--r--main/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index d6cbf33..76b1244 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -10,7 +10,6 @@ include(lib/FreeRTOS-Kernel/portable/ThirdParty/GCC/RP2040/FreeRTOS_Kernel_impor
add_subdirectory(lib/mpack)
add_subdirectory(lib/i2ctcp)
add_subdirectory(lib/pbdrv)
-include(lib/pbdrv/ext/stdlib/include.cmake) # pico-stdlib is compatible with C stdlib
project(puzzlebox_main C CXX ASM)
@@ -24,7 +23,6 @@ add_executable(main
mod.c
tasks.c
blink.c
- pbdrv.c
)
pico_enable_stdio_usb(main 1)
@@ -34,7 +32,7 @@ pico_add_extra_outputs(main)
# include_directories(lib/pico-sdk/lib/lwip/contrib/ports/freertos/include)
target_include_directories(main PRIVATE .)
-target_link_libraries(main
+target_link_libraries(main PUBLIC
pico_cyw43_arch_lwip_sys_freertos
pico_stdlib
pico_i2c_slave