synopsys-usb-otg icon indicating copy to clipboard operation
synopsys-usb-otg copied to clipboard

Add support for GD32VF103 chips [rebase]

Open katyo opened this issue 2 years ago • 5 comments

This is rebase of original PR #25.

I tested it with test class example. Also I tested CDC ACM made using usbd_serial crate (usb-otg-workspace#7)

katyo avatar Feb 04 '23 13:02 katyo

@Disasm I would like integrate OTG FS support directly to gd32vf103xx-hal crate. Any chace to merge this PR or original one soon?

katyo avatar Feb 04 '23 13:02 katyo

The biggest problem so far is testing: I'd like the PR to be tested before merge, not only with GD32V, but also with other STM32 chips to avoid regressions. I have the hardware needed, but I need time which I don't have enough at the moment.

Disasm avatar Feb 05 '23 11:02 Disasm

@Disasm I developing CI solution for running tests on hardware. Could you list microcontrollers/eval boards needed for that project?

katyo avatar Mar 23 '23 17:03 katyo

I used the following chips/boards: STM32F401 (WeAct Black Pill) STM32F407 (XCore407I) - external PHY support testing STM32F429 (NUCLEO-F429ZI) STM32F446 (NUCLEO-F446ZE) STM32F723 (32F723EDISCOVERY) - internal HS+FS PHY testing GD32VF103 (Longan Nano)

Also I don't have a board for STM32H7xx, but it would be nice to test it as well (https://github.com/stm32-rs/synopsys-usb-otg/pull/4, https://github.com/stm32-rs/stm32h7xx-hal/pull/108)

Disasm avatar Mar 25 '23 16:03 Disasm

@Disasm Thanks!

Currently I have only the following:

  • [x] STM32F401 (WeAct Black Pill)
  • [x] STM32F407 (XCore407I) - external PHY support testing
  • [x] STM32F411 (Black Pill)
  • [ ] STM32F429 (NUCLEO-F429ZI)
  • [ ] STM32F446 (NUCLEO-F446ZE)
  • [ ] STM32F723 (32F723EDISCOVERY) - internal HS+FS PHY testing
  • [x] GD32VF103 (Longan Nano)

katyo avatar Mar 25 '23 16:03 katyo