Dylan Laduranty
Dylan Laduranty
Do the `State: xxxxxxx` labels are automatically set by some kind of scripts or should they be set by maintainers ?
> @danpetry maybe put this onto the list for "Further labeling actions"? It would be great because I think this part will be really time consuming for maintainers. Even if...
@gschorcht I give this PR a try with a `stm32f429i-disc1` but with no luck so far. It seems we are stuck [here](https://github.com/hathach/tinyusb/blob/111515a29cce668ea435904a397a1f0117114122/src/portable/synopsys/dwc2/dcd_dwc2.c#L491) Which STM32-based did you try on your side...
@gschorcht I've added ``` printf("XXXX %08lx\n", *((uint32_t *)0x50000040)); printf("XXXX %08lx\n", global_regs->Reserved40[0]); printf("XXXX %08lx\n", *((uint32_t *)0x50000040)); ``` just after the` periph_clk_en()` function as requested. Got this output: ``` 2022-09-22 21:00:28,281 #...
I've replaced `0x50000000UL`by `0x40040000UL` and I got the same result as `global_regs->Reserved40[0]` Seems like we are using `USB_OTG_HS_PERIPH_BASE`, not `USB_OTG_FS_PERIPH_BASE`
I've made some progress with: `CFLAGS="-DTINYUSB_TUD_RHPORT=1" make BOARD=stm32f429i-disc1 -C tests/pkg_tinyusb_cdc_msc flash` I'm not stuck anymore but enumeration fails now. I'll investigate further this weekend.
I think this is because of the old STLINK version. See [here](https://github.com/RIOT-OS/RIOT/blob/master/boards/stm32f429i-disco/doc.txt)
> I got also a nucleo-wb55 today. tinyUSB is working as expected with pkg/tinyusb/portable/st/stm32_fsdev and some small changes in pkg/tinyUSB/contrib/hw/hw_stm32.c Great ! IMO, let's keep the current way for now...
@gschorcht Please squash ! I think we're almost done here. I'll re-run some test and have a last look tomorrow.
@gschorcht I likea the idea ! Please go ahead. Note: There is a glitch in: ``` #ifndef TINYUSB_TUH_RHPORT #if defined(STM32_USB_OTG_HS_ENABLED) #define TINYUSB_TUH_RHPORT 1 #elif defined(STM32_USB_OTG_HS_ENABLED) #define TINYUSB_TUH_RHPORT 0 #else #error...