Merge pull request #2151 from kilograham/rp2040_build_fixes

Fix build issues when building for RP2040 from pico-examples/pico-sdk.
This commit is contained in:
Ha Thach
2023-08-07 11:14:04 +07:00
committed by GitHub
7 changed files with 20 additions and 34 deletions

View File

@@ -38,8 +38,3 @@ target_include_directories(${PROJECT} PUBLIC
# Configure compilation flags and libraries for the example without RTOS.
# See the corresponding function in hw/bsp/FAMILY/family.cmake for details.
family_configure_host_example(${PROJECT} noos)
# Add pico-pio-usb for rp2040 since user can choose to run on bit-banging host
if(FAMILY STREQUAL "rp2040")
family_add_pico_pio_usb(${PROJECT})
endif()