summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-09-16 22:42:42 +0200
committerThomas White <taw@physics.org>2024-09-16 22:42:42 +0200
commit545ac5bf97987b2aca8a95c2ed4b347c42d003ac (patch)
treeb5b5dbe843ad6e4e2e5d9104c54516e27f85ae7a
parent0d50d18aa4dc78e79d51cad91cb68a6e1dc46d6b (diff)
Add missing libraries and update SDK pathmain
-rw-r--r--CMakeLists.txt5
-rwxr-xr-xcompile2
2 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b7624e5..9f1e8a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,8 +12,9 @@ include(Pico-DMX/interfaceLibForPicoSDK.cmake)
add_executable(pixelhub pixelhub.cpp)
target_link_libraries(pixelhub
pico_stdlib
- picodmx
- hardware_pio)
+ hardware_pio
+ hardware_dma
+ picodmx)
pico_add_extra_outputs(pixelhub)
pico_generate_pio_header(pixelhub ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio)
diff --git a/compile b/compile
index 3e29e1f..3372ceb 100755
--- a/compile
+++ b/compile
@@ -1,6 +1,6 @@
#!/bin/sh
-export PICO_SDK_PATH=/mnt/datassd/2023/pico/pico-sdk/
+export PICO_SDK_PATH=/mnt/data2020/2023/pico/pico-sdk/
rm -rf build
mkdir build
cd build