Skip to content

feat: add STM32WB0x support #2756

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
774d431
ci(stm32cube): ignore .git/
fpistm Jun 12, 2025
323d3da
ci(stm32cube): option to use local core repo
fpistm Jun 11, 2025
48f4404
ci: support series with only one x
fpistm Jun 13, 2025
96efad4
ci(stm32cube): create a dedicated branch
fpistm Jun 13, 2025
922ac7f
ci(stm32variant): update ADC signal match
fpistm Jun 17, 2025
912c1f7
ci(stm32variant): syswkup update
fpistm Jun 13, 2025
f690098
fix(wb0): add HAL and CMSIS patches
fpistm Jun 18, 2025
8b72aa7
system(wb0) add STM32WB0x HAL Drivers to v1.3.0
fpistm Jul 8, 2025
527fd41
system(wb0): add STM32WB0x CMSIS Drivers to v1.3.0
fpistm Jul 8, 2025
5275c6a
system(wb0): add STM32WB0x system source files
fpistm Jul 8, 2025
5e784e8
system(wb0): update STM32WB0x hal default config
fpistm Jul 8, 2025
e0d3af7
core(wb0): add top HAL include
fpistm Jul 8, 2025
c5d860e
core(wb0): add wrapped files
fpistm Jul 8, 2025
2697593
fix(wb0): HAL and LL warnings
fpistm Jun 14, 2025
00c4cb6
fix(wb0): HAL radio module guards
fpistm Jun 14, 2025
1727c08
feat(wb0): add __libc_init_array call to startup
fpistm Jun 16, 2025
0f8fdca
system(wb0): update STM32WB0x hal default config
fpistm Jun 13, 2025
9c4c951
system(wb0): update STM32WB0x system
fpistm Jun 13, 2025
b17f230
variants(wb0): add all generated STM32WB0x generic variant files
fpistm Jun 18, 2025
f393d56
chore: add HAL_RADIO*_MODULE_ENABLED
fpistm Jun 14, 2025
18d9c10
chore(wb0): backup register support
fpistm Jun 14, 2025
7f07a85
chore(wb0): manage HSI
fpistm Jun 14, 2025
d3b0ef6
chore(wb0x): (lp)u(s)art support
fpistm Jun 17, 2025
678c64c
chore(wb0): ADC support
fpistm Jun 17, 2025
22388bd
chore(wb0): timer support
fpistm Jun 20, 2025
a64fdb0
chore(exti): use ll to get pull config
fpistm Jun 20, 2025
04d4468
chore(wb0): exti support
fpistm Jun 20, 2025
f2a7be3
chore(wb0): add I2C support
fpistm Jun 23, 2025
f247f7f
chore(wb0): add SPI support
fpistm Jun 24, 2025
6edf842
chore(wb0): add EEPROM support
fpistm Jun 25, 2025
afca0ac
chore(wb0): add IWDG support
fpistm Jun 25, 2025
c2d66a8
variant(wb0): add WB05KZV, WB05TZF, WB09KEV and WB09TEF generic support
fpistm Jun 13, 2025
094710a
variant(wb0): add Nucleo-WB09KE support
fpistm Jun 19, 2025
367641a
feat(wb0): add new STM32CubeProgrammer options
fpistm Jun 14, 2025
9e4edfc
feat(wb0): add __libc_init_array support
fpistm Jun 18, 2025
f36ad8a
chore(cmake): update database with WB0x
fpistm Jun 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion CI/update/fqbn.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def main():

for fqbn in fqbn_list:
if args.board and arg_board_pattern.search(fqbn) is None:
continue
continue
print(fqbn)


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
From 62e01b39b8eb0f6260b55d58e85ed230986bba4e Mon Sep 17 00:00:00 2001
From: Frederic Pillon <frederic.pillon@st.com>
Date: Mon, 16 Jun 2025 14:22:51 +0200
Subject: [PATCH] feat(wb0): add __libc_init_array call to startup

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
---
.../ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb05.s | 2 ++
.../ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb06.s | 2 ++
.../ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb07.s | 2 ++
.../ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb09.s | 2 ++
4 files changed, 8 insertions(+)

diff --git a/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb05.s b/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb05.s
index a8991a7ea..1aba7b12b 100644
--- a/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb05.s
+++ b/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb05.s
@@ -107,6 +107,8 @@ LoopFillZeroBlueRam:
cmp r2, r3
bcc FillZerobssram

+/* Call static constructors */
+ bl __libc_init_array
/* Call the application's entry point.*/
bl main

diff --git a/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb06.s b/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb06.s
index 3e3334fb0..8a345492a 100644
--- a/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb06.s
+++ b/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb06.s
@@ -107,6 +107,8 @@ LoopFillZeroBlueRam:
cmp r2, r3
bcc FillZerobssram

+/* Call static constructors */
+ bl __libc_init_array
/* Call the application's entry point.*/
bl main

diff --git a/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb07.s b/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb07.s
index d9baea4b4..36664b5f2 100644
--- a/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb07.s
+++ b/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb07.s
@@ -107,6 +107,8 @@ LoopFillZeroBlueRam:
cmp r2, r3
bcc FillZerobssram

+/* Call static constructors */
+ bl __libc_init_array
/* Call the application's entry point.*/
bl main

diff --git a/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb09.s b/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb09.s
index 7c9b47279..2ee46de75 100644
--- a/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb09.s
+++ b/system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb09.s
@@ -107,6 +107,8 @@ LoopFillZeroBlueRam:
cmp r2, r3
bcc FillZerobssram

+/* Call static constructors */
+ bl __libc_init_array
/* Call the application's entry point.*/
bl main

--
2.34.1

Loading