Skip to content

USB reviews and Device library update #1374

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 10 commits into from
Apr 29, 2021
Merged

USB reviews and Device library update #1374

merged 10 commits into from
Apr 29, 2021

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Apr 28, 2021

  • USB: update STM32 USB Device library to v2.8.0
  • USB: update core and class files after middleware update
  • USB: review WakeUp IRQn and IRQHandler across series
  • USB: review IRQn and IRQHandler across series (fix Serial USB on STM32G431KB not working #1283)
  • USB: add weaked system clock config from resume
  • USB: fix EPO STALL issue in STM32 USB Device library
  • UCPD: disable Dead Battery

STM32 series tested:

  • STM32F0
  • STM32F1
  • STM32F2
  • STM32F3
  • STM32F4
  • STM32F7
  • STM32G4
  • STM32H7
  • STM32L0
  • STM32L1
  • STM32L4
  • STM32L5
  • STM32WB

Currently, no USB on STM32G0 boards supported.
STM32MP1 USB not supported.

@fpistm fpistm added enhancement New feature or request fix 🩹 Bug fix labels Apr 28, 2021
@fpistm fpistm added this to the 2.x.x milestone Apr 28, 2021
@fpistm fpistm force-pushed the USB branch 2 times, most recently from 9a463fa to f5ecaa2 Compare April 28, 2021 19:12
fpistm added 10 commits April 29, 2021 17:40
Fix stm32duino#1283

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
USBD_SystemClockConfigFromResume allows to configure
system clock and system IP clocks after wake-up from USB
resume callBack. It can be redefined by user at sketch level.
By default, calls 'SystemClock_Config()'.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
USB Specification EP0 should never STALL during setup stage.
Device is not properly setup if STALL present.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm merged commit 90179d0 into stm32duino:master Apr 29, 2021
@fpistm fpistm deleted the USB branch April 29, 2021 17:59
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request fix 🩹 Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serial USB on STM32G431KB not working
1 participant