diff options
| author | hathach <[email protected]> | 2026-01-09 00:08:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-01-09 00:25:10 +0700 |
| commit | 0b970e6a6633f703acb0f40b52b741cf492ff166 (patch) | |
| tree | f9a784f024be012c8f6e5a81c21cde23b97b88c6 /hw | |
| parent | 64ca0b9d58e1ca268a8bae341499311388af7566 (diff) | |
only apply errata E5 and E15 for rp2040. rp2350 already fixes these
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/rp2040/family.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/bsp/rp2040/family.cmake b/hw/bsp/rp2040/family.cmake index 1602e35eb..9dc28fc70 100644 --- a/hw/bsp/rp2040/family.cmake +++ b/hw/bsp/rp2040/family.cmake @@ -126,7 +126,7 @@ target_compile_definitions(tinyusb_host_base INTERFACE #------------------------------------ # Host MAX3421 -#------------------------------------ +#------------------------------------1 add_library(tinyusb_host_max3421 INTERFACE) target_sources(tinyusb_host_max3421 INTERFACE ${TOP}/src/portable/analog/max3421/hcd_max3421.c @@ -157,10 +157,12 @@ target_link_libraries(tinyusb_bsp INTERFACE # tinyusb_additions will hold our extra settings for examples add_library(tinyusb_additions INTERFACE) +if (PICO_PLATFORM STREQUAL rp2040) target_compile_definitions(tinyusb_additions INTERFACE PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1 PICO_RP2040_USB_DEVICE_UFRAME_FIX=1 -) + ) +endif () if(LOGGER STREQUAL "RTT" OR LOGGER STREQUAL "rtt") target_compile_definitions(tinyusb_additions INTERFACE |
