aboutsummaryrefslogtreecommitdiff
path: root/main/CMakeLists.txt
diff options
context:
space:
mode:
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