Skip to content

Commit

Permalink
feat: update hardware/rp2040/prebuild.cmake to add cyw43 libs when us…
Browse files Browse the repository at this point in the history
…ing pico_w (#9)
  • Loading branch information
Kintar authored Jun 21, 2024
1 parent dbe4913 commit c27aa27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hardware/rp2040/prebuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ include(${hardware_dir}/pico_sdk_import.cmake)

set(hardware_includes ${hardware_dir})
set(hardware_libs "pico_unique_id" "pico_stdlib")

if(PICO_BOARD STREQUAL "pico_w")
list(APPEND hardware_libs "pico_cyw43_arch_none")
endif()

0 comments on commit c27aa27

Please sign in to comment.