From c27aa27eca6a715947a87dba96591110a02ed3d6 Mon Sep 17 00:00:00 2001 From: Alec Lanter Date: Fri, 21 Jun 2024 10:20:55 -0500 Subject: [PATCH] feat: update hardware/rp2040/prebuild.cmake to add cyw43 libs when using pico_w (#9) --- hardware/rp2040/prebuild.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hardware/rp2040/prebuild.cmake b/hardware/rp2040/prebuild.cmake index 99c9177..8434d56 100644 --- a/hardware/rp2040/prebuild.cmake +++ b/hardware/rp2040/prebuild.cmake @@ -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()