Skip to content

Commit 27aca29

Browse files
authored
Merge pull request #2857 from fpistm/stm32cubewb0_update
chore(wb0): update to latest STM32CubeWB0 v
2 parents e3c8ffd + 27f975a commit 27aca29

23 files changed

+449
-405
lines changed

system/Drivers/CMSIS/Device/ST/STM32WB0x/Include/stm32wb05.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ typedef enum
7575
DMA_IRQn = 17, /*!< 17 DMA interrupt */
7676
RADIO_TXRX_IRQn = 18, /*!< 18 BLE Tx/Rx interrupt */
7777
RADIO_TIMER_ERROR_IRQn = 20, /*!< 20 RADIO TIMER Error interrupt */
78+
RADIO_RRM_IRQn = 22, /*!< 22 RADIO Resource Manager interrupt */
7879
RADIO_TIMER_CPU_WKUP_IRQn = 23, /*!< 23 RADIO TIMER CPU Wakeup interrupt */
7980
RADIO_TIMER_TXRX_WKUP_IRQn = 24, /*!< 24 RADIO TIMER Tx/Rx Wakeup interrupt */
8081
RADIO_TXRX_SEQ_IRQn = 25, /*!< 25 BLE RX/TX sequence interrupt */

system/Drivers/CMSIS/Device/ST/STM32WB0x/Include/stm32wb06.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ typedef enum
7878
DMA_IRQn = 17, /*!< 17 DMA interrupt */
7979
RADIO_TXRX_IRQn = 18, /*!< 18 RADIO Tx/Rx interrupt */
8080
RADIO_TIMER_ERROR_IRQn = 20, /*!< 20 RADIO TIMER Error interrupt */
81+
RADIO_RRM_IRQn = 22, /*!< 22 RADIO Resource Manager interrupt */
8182
RADIO_TIMER_CPU_WKUP_IRQn = 23, /*!< 23 RADIO TIMER CPU Wakeup interrupt */
8283
RADIO_TIMER_TXRX_WKUP_IRQn = 24, /*!< 24 RADIO TIMER Tx/Rx Wakeup interrupt */
8384
RADIO_TXRX_SEQ_IRQn = 25 /*!< 25 RADIO Tx/Rx sequence interrupt */

system/Drivers/CMSIS/Device/ST/STM32WB0x/Include/stm32wb07.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ typedef enum
7878
DMA_IRQn = 17, /*!< 17 DMA interrupt */
7979
RADIO_TXRX_IRQn = 18, /*!< 18 RADIO Tx/Rx interrupt */
8080
RADIO_TIMER_ERROR_IRQn = 20, /*!< 20 RADIO TIMER Error interrupt */
81+
RADIO_RRM_IRQn = 22, /*!< 22 RADIO Resource Manager interrupt */
8182
RADIO_TIMER_CPU_WKUP_IRQn = 23, /*!< 23 RADIO TIMER CPU Wakeup interrupt */
8283
RADIO_TIMER_TXRX_WKUP_IRQn = 24, /*!< 24 RADIO TIMER Tx/Rx Wakeup interrupt */
8384
RADIO_TXRX_SEQ_IRQn = 25 /*!< 25 RADIO Tx/Rx sequence interrupt */

system/Drivers/CMSIS/Device/ST/STM32WB0x/Include/stm32wb09.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ typedef enum
100100
DMA_IRQn = 17, /*!< 17 DMA interrupt */
101101
RADIO_TXRX_IRQn = 18, /*!< 18 RADIO Tx/Rx interrupt */
102102
RADIO_TIMER_ERROR_IRQn = 20, /*!< 20 RADIO TIMER Error interrupt */
103+
RADIO_RRM_IRQn = 22, /*!< 22 RADIO Resource Manager interrupt */
103104
RADIO_TIMER_CPU_WKUP_IRQn = 23, /*!< 23 RADIO TIMER CPU Wakeup interrupt */
104105
RADIO_TIMER_TXRX_WKUP_IRQn = 24, /*!< 24 RADIO TIMER Tx/Rx Wakeup interrupt */
105106
RADIO_TXRX_SEQ_IRQn = 25, /*!< 25 RADIO Tx/Rx sequence interrupt */

system/Drivers/CMSIS/Device/ST/STM32WB0x/Include/stm32wb0x.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ extern "C" {
7979
* @brief CMSIS Device version number
8080
*/
8181
#define __STM32WB0x_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
82-
#define __STM32WB0x_CMSIS_VERSION_SUB1 (0x03U) /*!< [23:16] sub1 version */
82+
#define __STM32WB0x_CMSIS_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */
8383
#define __STM32WB0x_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
8484
#define __STM32WB0x_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
8585
#define __STM32WB0x_CMSIS_DEVICE_VERSION ((__STM32WB0x_CMSIS_VERSION_MAIN << 24)\

system/Drivers/CMSIS/Device/ST/STM32WB0x/Release_Notes.html

Lines changed: 53 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,17 @@ <h1 id="purpose">Purpose</h1>
6161
<section id="update-history" class="col-sm-12 col-lg-8">
6262
<h1>Update history</h1>
6363
<div class="collapse">
64-
<input type="checkbox" id="collapse-section4" checked aria-hidden="true">
65-
<label for="collapse-section4" aria-hidden="true"> <strong>V1.3.0 /
66-
4-June-2025</strong> </label>
64+
<input type="checkbox" id="collapse-section130" checked aria-hidden="true">
65+
<label for="collapse-section140" aria-hidden="true"> <strong>V1.4.0 /
66+
29-October-2025</strong> </label>
6767
<div>
6868
<h2 id="main-changes">Main Changes</h2>
6969
<ul>
70-
<li>None</li>
70+
<li>Enabled the RADIO RRM interrupt handler definition.</li>
7171
</ul>
7272
<h2 id="contents">Contents</h2>
7373
<ul>
74-
<li>Allow redefinition of the macro ‘VECT_TAB_OFFSET’ externally from
75-
the IDE, makefile, or command line.</li>
74+
<li>None</li>
7675
</ul>
7776
<h2 id="known-limitations">Known Limitations</h2>
7877
<ul>
@@ -89,21 +88,18 @@ <h2 id="notes">Notes</h2>
8988
</div>
9089
</div>
9190
<div class="collapse">
92-
<input type="checkbox" id="collapse-section3" aria-hidden="true">
93-
<label for="collapse-section3" aria-hidden="true"> <strong>V1.2.0 /
94-
05-February-2025</strong> </label>
91+
<input type="checkbox" id="collapse-section130" aria-hidden="true">
92+
<label for="collapse-section130" aria-hidden="true"> <strong>V1.3.0 /
93+
4-June-2025</strong> </label>
9594
<div>
9695
<h2 id="main-changes-1">Main Changes</h2>
9796
<ul>
9897
<li>None</li>
9998
</ul>
10099
<h2 id="contents-1">Contents</h2>
101100
<ul>
102-
<li>Release of CMSIS devices drivers
103-
<ul>
104-
<li>Support of STM32WB05xx, STM32WB06xx, STM32WB07xx and STM32WB09xx
105-
devices</li>
106-
</ul></li>
101+
<li>Allow redefinition of the macro ‘VECT_TAB_OFFSET’ externally from
102+
the IDE, makefile, or command line.</li>
107103
</ul>
108104
<h2 id="known-limitations-1">Known Limitations</h2>
109105
<ul>
@@ -120,14 +116,13 @@ <h2 id="notes-1">Notes</h2>
120116
</div>
121117
</div>
122118
<div class="collapse">
123-
<input type="checkbox" id="collapse-section2" aria-hidden="true">
124-
<label for="collapse-section2" aria-hidden="true"> <strong>V1.1.0 /
125-
30-October-2024</strong> </label>
119+
<input type="checkbox" id="collapse-section120" aria-hidden="true">
120+
<label for="collapse-section120" aria-hidden="true"> <strong>V1.2.0 /
121+
05-February-2025</strong> </label>
126122
<div>
127123
<h2 id="main-changes-2">Main Changes</h2>
128124
<ul>
129-
<li>Fixed RAM size of WB06.</li>
130-
<li>Remove the BP_POSTP bit of the RNG_CR from CMSIS.</li>
125+
<li>None</li>
131126
</ul>
132127
<h2 id="contents-2">Contents</h2>
133128
<ul>
@@ -152,33 +147,65 @@ <h2 id="notes-2">Notes</h2>
152147
</div>
153148
</div>
154149
<div class="collapse">
155-
<input type="checkbox" id="collapse-section1" aria-hidden="true">
156-
<label for="collapse-section1" aria-hidden="true"> <strong>V1.0.0 /
157-
05-June-2024</strong> </label>
150+
<input type="checkbox" id="collapse-section110" aria-hidden="true">
151+
<label for="collapse-section110" aria-hidden="true"> <strong>V1.1.0 /
152+
30-October-2024</strong> </label>
158153
<div>
159154
<h2 id="main-changes-3">Main Changes</h2>
155+
<ul>
156+
<li>Fixed RAM size of WB06.</li>
157+
<li>Remove the BP_POSTP bit of the RNG_CR from CMSIS.</li>
158+
</ul>
159+
<h2 id="contents-3">Contents</h2>
160+
<ul>
161+
<li>Release of CMSIS devices drivers
162+
<ul>
163+
<li>Support of STM32WB05xx, STM32WB06xx, STM32WB07xx and STM32WB09xx
164+
devices</li>
165+
</ul></li>
166+
</ul>
167+
<h2 id="known-limitations-3">Known Limitations</h2>
168+
<ul>
169+
<li>None</li>
170+
</ul>
171+
<h2 id="dependencies-3">Dependencies</h2>
172+
<ul>
173+
<li>None</li>
174+
</ul>
175+
<h2 id="notes-3">Notes</h2>
176+
<ul>
177+
<li>None</li>
178+
</ul>
179+
</div>
180+
</div>
181+
<div class="collapse">
182+
<input type="checkbox" id="collapse-section100" aria-hidden="true">
183+
<label for="collapse-section100" aria-hidden="true"> <strong>V1.0.0 /
184+
05-June-2024</strong> </label>
185+
<div>
186+
<h2 id="main-changes-4">Main Changes</h2>
160187
<h3
161188
id="first-release-of-stm32cubewb0-firmware-package-supporting-stm32wb05xx-stm32wb06xx-stm32wb07xx-and-stm32wb09xx-devices">First
162189
Release of <strong>STM32CubeWB0</strong> Firmware package supporting
163190
<strong>STM32WB05xx, STM32WB06xx, STM32WB07xx and STM32WB09xx</strong>
164191
devices</h3>
165-
<h2 id="contents-3">Contents</h2>
192+
<h2 id="contents-4">Contents</h2>
166193
<ul>
167194
<li>First release of CMSIS devices drivers
168195
<ul>
169196
<li>Support of STM32WB05xx, STM32WB06xx, STM32WB07xx and STM32WB09xx
170197
devices</li>
171198
</ul></li>
172199
</ul>
173-
<h2 id="known-limitations-3">Known Limitations</h2>
200+
<h2 id="known-limitations-4">Known Limitations</h2>
174201
<ul>
175202
<li>None</li>
176203
</ul>
177-
<h2 id="dependencies-3">Dependencies</h2>
204+
<h2 id="dependencies-4">Dependencies</h2>
178205
<ul>
179206
<li>None</li>
180207
</ul>
181-
<h2 id="notes-3">Notes</h2>
208+
<h2 id="notes-4">Notes</h2>
182209
<ul>
183210
<li>None</li>
184211
</ul>

system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb05.s

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ __vector_table:
182182
.word 0x00000000 /* IRQ19: Reserved */
183183
.word RADIO_TIMER_ERROR_IRQHandler /* IRQ20: RADIO TIMER Error interrupt */
184184
.word 0x00000000 /* IRQ21: Reserved */
185-
.word 0x00000000 /* IRQ22: Reserved */
185+
.word RADIO_RRM_IRQHandler /* IRQ22: RADIO RRM interrupt */
186186
.word RADIO_TIMER_CPU_WKUP_IRQHandler /* IRQ23: RADIO TIMER CPU Wakeup interrupt */
187187
.word RADIO_TIMER_TXRX_WKUP_IRQHandler /* IRQ24: RADIO TIMER Wakeup interrupt */
188188
.word RADIO_TXRX_SEQ_IRQHandler /* IRQ25: RADIO Tx/Rx Sequence interrupt*/
@@ -264,6 +264,9 @@ __vector_table:
264264
.weak RADIO_TIMER_ERROR_IRQHandler
265265
.thumb_set RADIO_TIMER_ERROR_IRQHandler,Default_Handler
266266

267+
.weak RADIO_RRM_IRQHandler
268+
.thumb_set RADIO_RRM_IRQHandler,Default_Handler
269+
267270
.weak RADIO_TIMER_CPU_WKUP_IRQHandler
268271
.thumb_set RADIO_TIMER_CPU_WKUP_IRQHandler,Default_Handler
269272

system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb06.s

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ __vector_table:
182182
.word 0x00000000 /* IRQ19: Reserved */
183183
.word RADIO_TIMER_ERROR_IRQHandler /* IRQ20: RADIO TIMER Error interrupt */
184184
.word 0x00000000 /* IRQ21: Reserved */
185-
.word 0x00000000 /* IRQ22: Reserved */
185+
.word RADIO_RRM_IRQHandler /* IRQ22: RADIO RRM interrupt */
186186
.word RADIO_TIMER_CPU_WKUP_IRQHandler /* IRQ23: RADIO TIMER CPU Wakeup interrupt */
187187
.word RADIO_TIMER_TXRX_WKUP_IRQHandler /* IRQ24: RADIO TIMER Wakeup interrupt */
188188
.word RADIO_TXRX_SEQ_IRQHandler /* IRQ25: RADIO Tx/Rx Sequence interrupt*/
@@ -273,6 +273,9 @@ __vector_table:
273273
.weak RADIO_TIMER_ERROR_IRQHandler
274274
.thumb_set RADIO_TIMER_ERROR_IRQHandler,Default_Handler
275275

276+
.weak RADIO_RRM_IRQHandler
277+
.thumb_set RADIO_RRM_IRQHandler,Default_Handler
278+
276279
.weak RADIO_TIMER_CPU_WKUP_IRQHandler
277280
.thumb_set RADIO_TIMER_CPU_WKUP_IRQHandler,Default_Handler
278281

system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb07.s

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ __vector_table:
182182
.word 0x00000000 /* IRQ19: Reserved */
183183
.word RADIO_TIMER_ERROR_IRQHandler /* IRQ20: RADIO TIMER Error interrupt */
184184
.word 0x00000000 /* IRQ21: Reserved */
185-
.word 0x00000000 /* IRQ22: Reserved */
185+
.word RADIO_RRM_IRQHandler /* IRQ22: RADIO RRM interrupt */
186186
.word RADIO_TIMER_CPU_WKUP_IRQHandler /* IRQ23: RADIO TIMER CPU Wakeup interrupt */
187187
.word RADIO_TIMER_TXRX_WKUP_IRQHandler /* IRQ24: RADIO TIMER Wakeup interrupt */
188188
.word RADIO_TXRX_SEQ_IRQHandler /* IRQ25: RADIO Tx/Rx Sequence interrupt*/
@@ -273,6 +273,9 @@ __vector_table:
273273
.weak RADIO_TIMER_ERROR_IRQHandler
274274
.thumb_set RADIO_TIMER_ERROR_IRQHandler,Default_Handler
275275

276+
.weak RADIO_RRM_IRQHandler
277+
.thumb_set RADIO_RRM_IRQHandler,Default_Handler
278+
276279
.weak RADIO_TIMER_CPU_WKUP_IRQHandler
277280
.thumb_set RADIO_TIMER_CPU_WKUP_IRQHandler,Default_Handler
278281

system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb09.s

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ __vector_table:
182182
.word 0x00000000 /* IRQ19: Reserved */
183183
.word RADIO_TIMER_ERROR_IRQHandler /* IRQ20: RADIO TIMER Error interrupt */
184184
.word 0x00000000 /* IRQ21: Reserved */
185-
.word 0x00000000 /* IRQ22: Reserved */
185+
.word RADIO_RRM_IRQHandler /* IRQ22: RADIO RRM interrupt */
186186
.word RADIO_TIMER_CPU_WKUP_IRQHandler /* IRQ23: RADIO TIMER CPU Wakeup interrupt */
187187
.word RADIO_TIMER_TXRX_WKUP_IRQHandler /* IRQ24: RADIO TIMER Wakeup interrupt */
188188
.word RADIO_TXRX_SEQ_IRQHandler /* IRQ25: RADIO Tx/Rx Sequence interrupt*/
@@ -264,6 +264,9 @@ __vector_table:
264264
.weak RADIO_TIMER_ERROR_IRQHandler
265265
.thumb_set RADIO_TIMER_ERROR_IRQHandler,Default_Handler
266266

267+
.weak RADIO_RRM_IRQHandler
268+
.thumb_set RADIO_RRM_IRQHandler,Default_Handler
269+
267270
.weak RADIO_TIMER_CPU_WKUP_IRQHandler
268271
.thumb_set RADIO_TIMER_CPU_WKUP_IRQHandler,Default_Handler
269272

0 commit comments

Comments
 (0)