← index #17600PR #18268
Related · high · value 2.018
QUERY · ISSUE

Add support for STM32WBAxx MCUs

openby Vincent1-pythonopened 2025-07-02updated 2025-12-13
enhancementport-stm32

Description

Add support for STM32WBA6, which has been out for a while.

Code Size

uncertain

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

CANDIDATE · PULL REQUEST

lib/stm32lib: Update WB to v1.23.0.

mergedby andrewleechopened 2025-10-14updated 2025-10-28
port-stm32lib

Summary

Update the stm32lib submodule to bring in STM32CubeWB v1.23.0 (updating from v1.10.0).

This update follows the vendor/work branch workflow and includes:

  • Import of STM32CubeWB v1.23.0 vendor code on the vendor branch
  • All 48 MicroPython-specific patches successfully rebased onto the new vendor code
  • New device support: STM32WB10xx, STM32WB15xx, STM32WB1Mxx
  • New file added: STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_smbus_ex.c
  • USB pass-by-reference optimization (commit 46cdeaf0) re-applied on top of new import

The stm32lib submodule update is tracked at: https://github.com/micropython/stm32lib/pull/27

The instructions followed are more explicitely described in https://github.com/micropython/stm32lib/pull/28

Testing

The rebase completed successfully with no conflicts. All 48 patches applied cleanly.

This update of the WB libraries has been used in https://github.com/micropython/micropython/pull/15592 and provides fixes needed for the current version of TinyUSB.

No other hardware peripherals have been explicitely tested at this stage.

Trade-offs and Alternatives

This is a vendor library update that brings bug fixes and new device support from ST. The submodule points to the work branch which includes all MicroPython customizations, maintaining compatibility with
the existing port while gaining upstream improvements.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied