Closed hitech95 closed 1 year ago
There is a bug https://github.com/hathach/tinyusb/issues/1945 about the same issue but is not clear how I should use dwc2.
add src/portable/synopsys/dwc2/dcd_dwc2.c and remove the other st driver.
add src/portable/synopsys/dwc2/dcd_dwc2.c and remove the other st driver.
so the only way is to to modify the imported library? (git submodule)
Operating System
Windows 10
Board
stm32f401blackpill
Firmware
Custom firmware STM32Arduino and Platformio based. Main contains the additional required code to set he GPIO pinmux, and VSENSE is disabled via:
I have defined the inlude path for the tusb_config.h file and the CFG_TUSB_MCU=OPT_MCU_STM32F4 via the platformio.ini file
What happened ?
CFG_TUSB_RHPORT1_MODE
is not defined and I cannot find how it should be defined.Error is thrown due to lack of definition:
There is a bug #1945 about the same issue but is not clear how I should use dwc2.
I suppose that the port definition changed and the
st/synaptic
driver is still using the old one. while it is not imported anymore it seems that platformio builds all .c file resulting in the error.How to reproduce ?
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
none
Screenshots
No response
I have checked existing issues, dicussion and documentation