diff options
author | Thomas White <taw@physics.org> | 2024-09-16 22:42:42 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-09-16 22:42:42 +0200 |
commit | 545ac5bf97987b2aca8a95c2ed4b347c42d003ac (patch) | |
tree | b5b5dbe843ad6e4e2e5d9104c54516e27f85ae7a | |
parent | 0d50d18aa4dc78e79d51cad91cb68a6e1dc46d6b (diff) |
Add missing libraries and update SDK pathmain
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rwxr-xr-x | compile | 2 |
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) @@ -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 |