You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm bringing CircuitPython's use of tinyusb up to date. We were about a year behind. Compile error because CFG_TUSB_RHPORT1_MODE is not defined. This used to work, but I think that #1350 may have changed things.
@dhalbert you need to switch to the new dwc2 for stm32 since the one in st/synopsys will be removed shortly in the future. Maybe that would fix the compiled issue.
Operating System
Linux
Board
RP2040
Firmware
latest
master
, as of todayWhat happened ?
I'm bringing CircuitPython's use of tinyusb up to date. We were about a year behind. Compile error because
CFG_TUSB_RHPORT1_MODE
is not defined. This used to work, but I think that #1350 may have changed things.tinyusb/src/portable/st/synopsys/dcd_synopsys.c
Line 528 in 990fb6a
The statement above is not guarded with
#if
againstCFG_TUSB_RHPORT1_MODE
not being defined.Example failure: https://github.com/adafruit/circuitpython/actions/runs/4379438712/jobs/7665911868#step:10:56
FYI, we define
CFG_TUSB_RHPORT1_MODE
conditionally here:https://github.com/adafruit/circuitpython/blob/353411af4b384ecc595215e9ce1ae95153c4cac1/supervisor/shared/usb/tusb_config.h#L67-L79
Would it be better to do that a different way now?
circuitpython PR is adafruit/circuitpython#7702
How to reproduce ?
see above
Debug Log as txt file
No response
Screenshots
No response
I have checked existing issues, dicussion and documentation
The text was updated successfully, but these errors were encountered: