summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-04-14 21:51:49 +0700
committerhathach <[email protected]>2022-04-14 22:00:47 +0700
commitcc5a4720e5c1295eacf02c7b81fc4454f29cfaa4 (patch)
tree570326941aedd621c6c6fdc6c879ff275a0f3716 /hw
parentd5d4909c20f581ef2046932191f487c001d59ca3 (diff)
catch up with pio lib
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/rp2040/family.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/bsp/rp2040/family.cmake b/hw/bsp/rp2040/family.cmake
index b186fc78e..d872c35ea 100644
--- a/hw/bsp/rp2040/family.cmake
+++ b/hw/bsp/rp2040/family.cmake
@@ -31,6 +31,7 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
${TOP}/src/common/tusb_fifo.c
${TOP}/lib/Pico-PIO-USB/pio_usb.c
${TOP}/lib/Pico-PIO-USB/pio_usb_host.c
+ ${TOP}/lib/Pico-PIO-USB/pio_usb_device.c
${TOP}/lib/Pico-PIO-USB/pio_usb_hw.c
${TOP}/lib/Pico-PIO-USB/usb_crc.c
)
@@ -69,8 +70,8 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
add_library(tinyusb_device_base INTERFACE)
target_sources(tinyusb_device_base INTERFACE
${TOP}/src/portable/raspberrypi/rp2040/dcd_rp2040.c
- ${TOP}/src/portable/raspberrypi/pio_usb/dcd_pio_usb.c
${TOP}/src/portable/raspberrypi/rp2040/rp2040_usb.c
+ ${TOP}/src/portable/raspberrypi/pio_usb/dcd_pio_usb.c
${TOP}/src/device/usbd.c
${TOP}/src/device/usbd_control.c
${TOP}/src/class/audio/audio_device.c
@@ -92,13 +93,13 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
target_sources(tinyusb_host_base INTERFACE
${TOP}/src/portable/raspberrypi/rp2040/hcd_rp2040.c
${TOP}/src/portable/raspberrypi/rp2040/rp2040_usb.c
+ ${TOP}/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
${TOP}/src/host/usbh.c
${TOP}/src/host/hub.c
${TOP}/src/class/cdc/cdc_host.c
${TOP}/src/class/hid/hid_host.c
${TOP}/src/class/msc/msc_host.c
${TOP}/src/class/vendor/vendor_host.c
- ${TOP}/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
)
# Sometimes have to do host specific actions in mostly common functions