update host example, add pio-pico-usb for rp2040

This commit is contained in:
hathach
2023-03-17 14:06:25 +07:00
parent f349ae7702
commit 317177c83d
12 changed files with 40 additions and 24 deletions

View File

@@ -32,3 +32,7 @@ target_include_directories(${PROJECT} PUBLIC
# in hw/bsp/FAMILY/family.cmake for details.
family_configure_host_example(${PROJECT})
# 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()