Add support for STM32WBAxx MCUs
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
lib/stm32lib: Update WB to v1.23.0.
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.