aboutsummaryrefslogtreecommitdiff
path: root/main/CMakeLists.txt
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-10 16:40:07 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-10 16:40:07 +0200
commit0e6fb935a8f079089e7d524ff2aa98d9be798a15 (patch)
treec880ae8466761d34f5790be98d61ef4c879e9917 /main/CMakeLists.txt
parenta3ecfc2a6e6ace7bcb7666afc37ff97f9ce401b4 (diff)
rp2040 driver works (ugly)
Diffstat (limited to 'main/CMakeLists.txt')
-rw-r--r--main/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 7a0b136..e71f419 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -23,18 +23,20 @@ add_executable(main
mod.c
tasks.c
blink.c
+ pbdrv.c
)
pico_enable_stdio_usb(main 1)
pico_enable_stdio_uart(main 0)
pico_add_extra_outputs(main)
-include_directories(lib/pico-sdk/lib/lwip/contrib/ports/freertos/include)
+# include_directories(lib/pico-sdk/lib/lwip/contrib/ports/freertos/include)
target_include_directories(main PRIVATE .)
target_link_libraries(main
pico_cyw43_arch_lwip_sys_freertos
pico_stdlib
+ pico_i2c_slave
hardware_i2c
FreeRTOS-Kernel
FreeRTOS-Kernel-Heap4