tinyusb: enable workaround for RP2040-E15 (#1137)
This sets the compile-time flag for tinyusb's dcd_rp2040 driver by default. Applications that won't ever be plugged into a Pi 4 or Pi 400 can optionally disable this.
This commit is contained in:
parent
b8bd8ac702
commit
260df95e44
@ -29,8 +29,9 @@ if (EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
|
|||||||
add_library(tinyusb_device_unmarked INTERFACE)
|
add_library(tinyusb_device_unmarked INTERFACE)
|
||||||
target_link_libraries(tinyusb_device_unmarked INTERFACE tinyusb_device_base)
|
target_link_libraries(tinyusb_device_unmarked INTERFACE tinyusb_device_base)
|
||||||
target_compile_definitions(tinyusb_device_unmarked INTERFACE
|
target_compile_definitions(tinyusb_device_unmarked INTERFACE
|
||||||
# off by default note TUD_OPT_RP2040_USB_DEVICE_ENUMERATION_FIX defaults from PICO_RP2040_USB_DEVICE_ENUMERATION_FIX
|
# off by default note TUD_OPT_RP2040_USB_DEVICE_ENUMERATION_FIX defaults from PICO_RP2040_USB_DEVICE_ENUMERATION_FIX
|
||||||
# TUD_OPT_RP2040_USB_DEVICE_ENUMERATION_FIX=1
|
# TUD_OPT_RP2040_USB_DEVICE_ENUMERATION_FIX=1
|
||||||
|
PICO_RP2040_USB_DEVICE_UFRAME_FIX=1
|
||||||
)
|
)
|
||||||
|
|
||||||
# unmarked version used by stdio USB
|
# unmarked version used by stdio USB
|
||||||
|
Loading…
Reference in New Issue
Block a user