Skip to content

Commit 1d27621

Browse files
committed
system(WB) update STM32WBxx HAL Drivers to v1.10.1
Included in STM32CubeWB FW v1.13.3 Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent 6588dee commit 1d27621

File tree

7 files changed

+161
-122
lines changed

7 files changed

+161
-122
lines changed

system/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_adc.h

+97-88
Large diffs are not rendered by default.

system/Drivers/STM32WBxx_HAL_Driver/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Tag v1.7.0 | Tag v1.7.0 | Tag v5.6.0_cm4 | Tag v1.10.0 (and following, i
4545
Tag v1.8.0 | Tag v1.8.0 | Tag v5.6.0_cm4 | Tag v1.11.0 (and following, if any, till next tag)
4646
Tag v1.9.0 | Tag v1.9.0 | Tag v5.6.0_cm4 | Tag v1.12.0 (and following, if any, till next tag)
4747
Tag v1.10.0 | Tag v1.10.0 | Tag v5.6.0_cm4 | Tag v1.13.0 (and following, if any, till next tag)
48-
48+
Tag v1.10.1 | Tag v1.10.1 | Tag v5.6.0_cm4 | Tag v1.13.3 (and following, if any, till next tag)
4949

5050
The full **STM32CubeWB** MCU package is available [here](https://github.com/STMicroelectronics/STM32CubeWB).
5151

system/Drivers/STM32WBxx_HAL_Driver/Release_Notes.html

+57-27
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,46 @@ <h1 id="purpose">Purpose</h1>
4040
<div class="col-sm-12 col-lg-8">
4141
<h1 id="update-history">Update History</h1>
4242
<div class="collapse">
43-
<input type="checkbox" id="collapse-section11" checked aria-hidden="true"> <label for="collapse-section11" aria-hidden="true">V1.10.0 / 12-November-2021</label>
43+
<input type="checkbox" id="collapse-section12" checked aria-hidden="true"> <label for="collapse-section12" aria-hidden="true">V1.10.1 / 27-March-2022</label>
4444
<div>
4545
<h2 id="main-changes">Main Changes</h2>
4646
<ul>
47+
<li>Patch release of <strong>HAL and Low Layer</strong> drivers</li>
48+
</ul>
49+
<h2 id="contents">Contents</h2>
50+
<h3 id="hal-drivers-updates"><strong>HAL Drivers</strong> updates</h3>
51+
<ul>
52+
<li><strong>HAL ADC</strong> driver
53+
<ul>
54+
<li>Align ADC Registers naming on Reference Manual for STM32WB15xx &amp; STM32WB10xx</li>
55+
</ul></li>
56+
</ul>
57+
<p><br />
58+
</p>
59+
<h3 id="ll-drivers-updates"><strong>LL Drivers</strong> updates</h3>
60+
<ul>
61+
<li><strong>LL ADC</strong> driver
62+
<ul>
63+
<li>Align ADC Registers naming on Reference Manual for STM32WB15xx &amp; STM32WB10xx</li>
64+
</ul></li>
65+
</ul>
66+
<p><br />
67+
</p>
68+
<h2 id="backward-compatibility">Backward Compatibility</h2>
69+
<p>This release is compatible with the previous versions.</p>
70+
</div>
71+
</div>
72+
<div class="collapse">
73+
<input type="checkbox" id="collapse-section11" aria-hidden="true"> <label for="collapse-section11" aria-hidden="true">V1.10.0 / 12-November-2021</label>
74+
<div>
75+
<h2 id="main-changes-1">Main Changes</h2>
76+
<ul>
4777
<li>Maintenance release of <strong>HAL and Low Layer</strong> drivers to include latest corrections</li>
4878
<li>All source files: update disclaimer to add reference to the new license agreement</li>
4979
<li>Correct English spelling errors and typos</li>
5080
</ul>
51-
<h2 id="contents">Contents</h2>
52-
<h3 id="hal-drivers-updates"><strong>HAL Drivers</strong> updates</h3>
81+
<h2 id="contents-1">Contents</h2>
82+
<h3 id="hal-drivers-updates-1"><strong>HAL Drivers</strong> updates</h3>
5383
<ul>
5484
<li><strong>HAL ADC</strong> driver
5585
<ul>
@@ -120,7 +150,7 @@ <h3 id="hal-drivers-updates"><strong>HAL Drivers</strong> updates</h3>
120150
</ul>
121151
<p><br />
122152
</p>
123-
<h3 id="ll-drivers-updates"><strong>LL Drivers</strong> updates</h3>
153+
<h3 id="ll-drivers-updates-1"><strong>LL Drivers</strong> updates</h3>
124154
<ul>
125155
<li><strong>LL ADC</strong> driver
126156
<ul>
@@ -135,14 +165,14 @@ <h3 id="ll-drivers-updates"><strong>LL Drivers</strong> updates</h3>
135165
</ul>
136166
<p><br />
137167
</p>
138-
<h2 id="backward-compatibility">Backward Compatibility</h2>
168+
<h2 id="backward-compatibility-1">Backward Compatibility</h2>
139169
<p>This release is compatible with the previous versions.</p>
140170
</div>
141171
</div>
142172
<div class="collapse">
143173
<input type="checkbox" id="collapse-section10" aria-hidden="true"> <label for="collapse-section10" aria-hidden="true">V1.9.0 / 24-June-2021</label>
144174
<div>
145-
<h2 id="main-changes-1">Main Changes</h2>
175+
<h2 id="main-changes-2">Main Changes</h2>
146176
<ul>
147177
<li>Maintenance release of <strong>HAL and Low Layer</strong> drivers to include latest corrections</li>
148178
<li>Update of HAL SMBUS driver to introduce fast mode and fast mode plus
@@ -156,8 +186,8 @@ <h2 id="main-changes-1">Main Changes</h2>
156186
</ul>
157187
<p><br />
158188
</p>
159-
<h2 id="contents-1">Contents</h2>
160-
<h3 id="hal-drivers-updates-1"><strong>HAL Drivers</strong> updates</h3>
189+
<h2 id="contents-2">Contents</h2>
190+
<h3 id="hal-drivers-updates-2"><strong>HAL Drivers</strong> updates</h3>
161191
<ul>
162192
<li><strong>HAL CORTEX</strong> driver
163193
<ul>
@@ -233,7 +263,7 @@ <h3 id="hal-drivers-updates-1"><strong>HAL Drivers</strong> updates</h3>
233263
</ul>
234264
<p><br />
235265
</p>
236-
<h3 id="ll-drivers-updates-1"><strong>LL Drivers</strong> updates</h3>
266+
<h3 id="ll-drivers-updates-2"><strong>LL Drivers</strong> updates</h3>
237267
<ul>
238268
<li><strong>LL DMA</strong> driver
239269
<ul>
@@ -260,14 +290,14 @@ <h3 id="ll-drivers-updates-1"><strong>LL Drivers</strong> updates</h3>
260290
</ul>
261291
<p><br />
262292
</p>
263-
<h2 id="backward-compatibility-1">Backward Compatibility</h2>
293+
<h2 id="backward-compatibility-2">Backward Compatibility</h2>
264294
<p>This release is compatible with the previous versions.</p>
265295
</div>
266296
</div>
267297
<div class="collapse">
268298
<input type="checkbox" id="collapse-section9" aria-hidden="true"> <label for="collapse-section9" aria-hidden="true">v1.8.0 / 12-February-2021</label>
269299
<div>
270-
<h2 id="main-changes-2">Main Changes</h2>
300+
<h2 id="main-changes-3">Main Changes</h2>
271301
<h3 id="add-support-for-stm32wb15xx-and-stm32wb10xx">Add support for STM32WB15xx and STM32WB10xx</h3>
272302
<table>
273303
<thead>
@@ -403,14 +433,14 @@ <h3 id="add-support-for-stm32wb15xx-and-stm32wb10xx">Add support for STM32WB15xx
403433
</tr>
404434
</tbody>
405435
</table>
406-
<h2 id="backward-compatibility-2">Backward Compatibility</h2>
436+
<h2 id="backward-compatibility-3">Backward Compatibility</h2>
407437
<p>This release is compatible with the previous versions.</p>
408438
</div>
409439
</div>
410440
<div class="collapse">
411441
<input type="checkbox" id="collapse-section8" aria-hidden="true"> <label for="collapse-section8" aria-hidden="true">v1.7.0 / 30-October-2020</label>
412442
<div>
413-
<h2 id="main-changes-3">Main Changes</h2>
443+
<h2 id="main-changes-4">Main Changes</h2>
414444
<h3 id="maitenance-release">Maitenance release</h3>
415445
<p>All peripheral</p>
416446
<table>
@@ -483,14 +513,14 @@ <h3 id="maitenance-release">Maitenance release</h3>
483513
</tr>
484514
</tbody>
485515
</table>
486-
<h2 id="backward-compatibility-3">Backward Compatibility</h2>
516+
<h2 id="backward-compatibility-4">Backward Compatibility</h2>
487517
<p>This release is compatible with the previous versions.</p>
488518
</div>
489519
</div>
490520
<div class="collapse">
491521
<input type="checkbox" id="collapse-section7" aria-hidden="true"> <label for="collapse-section7" aria-hidden="true">v1.6.0 / 05-June-2020</label>
492522
<div>
493-
<h2 id="main-changes-4">Main Changes</h2>
523+
<h2 id="main-changes-5">Main Changes</h2>
494524
<h3 id="maitenance-release-1">Maitenance release</h3>
495525
<p>All peripheral</p>
496526
<table>
@@ -595,14 +625,14 @@ <h3 id="maitenance-release-1">Maitenance release</h3>
595625
</tr>
596626
</tbody>
597627
</table>
598-
<h2 id="backward-compatibility-4">Backward Compatibility</h2>
628+
<h2 id="backward-compatibility-5">Backward Compatibility</h2>
599629
<p>This release is compatible with the previous versions.</p>
600630
</div>
601631
</div>
602632
<div class="collapse">
603633
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" aria-hidden="true">v1.5.0 / 12-February-2020</label>
604634
<div>
605-
<h2 id="main-changes-5">Main Changes</h2>
635+
<h2 id="main-changes-6">Main Changes</h2>
606636
<h3 id="introduction-of-stm32wb5m-stm32wb35xx-and-stm32wb30xx-product">Introduction of STM32WB5M, STM32WB35xx and STM32WB30xx product</h3>
607637
<p>This release introduce the support of STM32WB5Mxx, STM32WB35xx product and its value line STM32WB30xx.</p>
608638
<p>Added features:</p>
@@ -647,14 +677,14 @@ <h3 id="introduction-of-stm32wb5m-stm32wb35xx-and-stm32wb30xx-product">Introduct
647677
</tr>
648678
</tbody>
649679
</table>
650-
<h2 id="backward-compatibility-5">Backward Compatibility</h2>
680+
<h2 id="backward-compatibility-6">Backward Compatibility</h2>
651681
<p>This release is compatible with the previous versions.</p>
652682
</div>
653683
</div>
654684
<div class="collapse">
655685
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" aria-hidden="true">v1.4.0 / 15-December-2019</label>
656686
<div>
657-
<h2 id="main-changes-6">Main Changes</h2>
687+
<h2 id="main-changes-7">Main Changes</h2>
658688
<h3 id="maitenance-release-2">Maitenance release</h3>
659689
<table>
660690
<thead>
@@ -698,7 +728,7 @@ <h3 id="maitenance-release-2">Maitenance release</h3>
698728
</tr>
699729
</tbody>
700730
</table>
701-
<h2 id="backward-compatibility-6">Backward Compatibility</h2>
731+
<h2 id="backward-compatibility-7">Backward Compatibility</h2>
702732
<p>This release is compatible with the previous versions.</p>
703733
<h2 id="dependencies">Dependencies</h2>
704734
<p>This software release is compatible with:</p>
@@ -708,7 +738,7 @@ <h2 id="dependencies">Dependencies</h2>
708738
<div class="collapse">
709739
<input type="checkbox" id="collapse-section4" aria-hidden="true"> <label for="collapse-section4" aria-hidden="true">v1.3.0 / 11-September-2019</label>
710740
<div>
711-
<h2 id="main-changes-7">Main Changes</h2>
741+
<h2 id="main-changes-8">Main Changes</h2>
712742
<h3 id="maitenance-release-3">Maitenance release</h3>
713743
<table>
714744
<thead>
@@ -780,7 +810,7 @@ <h3 id="maitenance-release-3">Maitenance release</h3>
780810
</tr>
781811
</tbody>
782812
</table>
783-
<h2 id="backward-compatibility-7">Backward Compatibility</h2>
813+
<h2 id="backward-compatibility-8">Backward Compatibility</h2>
784814
<p>This release is compatible with the previous versions.</p>
785815
<h2 id="dependencies-1">Dependencies</h2>
786816
<p>This software release is compatible with:</p>
@@ -790,7 +820,7 @@ <h2 id="dependencies-1">Dependencies</h2>
790820
<div class="collapse">
791821
<input type="checkbox" id="collapse-section3" aria-hidden="true"> <label for="collapse-section3" aria-hidden="true">V1.2.0 / 26-June-2019</label>
792822
<div>
793-
<h2 id="main-changes-8">Main Changes</h2>
823+
<h2 id="main-changes-9">Main Changes</h2>
794824
<h3 id="stm32wb50xx-introduction-and-maintenance-release">STM32WB50xx introduction and maintenance release</h3>
795825
<p>First release for STM32WBxx HAL drivers introducing <strong>stm32wb50xx</strong> devices.</p>
796826
<table>
@@ -859,7 +889,7 @@ <h3 id="stm32wb50xx-introduction-and-maintenance-release">STM32WB50xx introducti
859889
</tr>
860890
</tbody>
861891
</table>
862-
<h2 id="backward-compatibility-8">Backward Compatibility</h2>
892+
<h2 id="backward-compatibility-9">Backward Compatibility</h2>
863893
<p>This release is compatible with the previous versions.</p>
864894
<h2 id="dependencies-2">Dependencies</h2>
865895
<p>This software release is compatible with:</p>
@@ -869,7 +899,7 @@ <h2 id="dependencies-2">Dependencies</h2>
869899
<div class="collapse">
870900
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" aria-hidden="true">V1.1.0 / 05-April-2019</label>
871901
<div>
872-
<h2 id="main-changes-9">Main Changes</h2>
902+
<h2 id="main-changes-10">Main Changes</h2>
873903
<h3 id="maintenance-release">Maintenance release</h3>
874904
<p>Maintenance release of HAL and Low layers drivers supporting STM32WB55xx devices.</p>
875905
<table>
@@ -923,7 +953,7 @@ <h3 id="maintenance-release">Maintenance release</h3>
923953
</tr>
924954
</tbody>
925955
</table>
926-
<h2 id="backward-compatibility-9">Backward Compatibility</h2>
956+
<h2 id="backward-compatibility-10">Backward Compatibility</h2>
927957
<p>This release is compatible with the previous versions.</p>
928958
<h2 id="dependencies-3">Dependencies</h2>
929959
<p>This software release is compatible with:</p>
@@ -933,7 +963,7 @@ <h2 id="dependencies-3">Dependencies</h2>
933963
<div class="collapse">
934964
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true">V1.0.0 / 06-February-2019</label>
935965
<div>
936-
<h2 id="main-changes-10">Main Changes</h2>
966+
<h2 id="main-changes-11">Main Changes</h2>
937967
<h3 id="first-release">First release</h3>
938968
<p>First official release of HAL (Hardware Abstraction Layer) and LL (Low layers) drivers to support STM32WB55xx.</p>
939969
</div>

system/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
*/
5757
#define __STM32WBxx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
5858
#define __STM32WBxx_HAL_VERSION_SUB1 (0x0AU) /*!< [23:16] sub1 version */
59-
#define __STM32WBxx_HAL_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
59+
#define __STM32WBxx_HAL_VERSION_SUB2 (0x01U) /*!< [15:8] sub2 version */
6060
#define __STM32WBxx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
6161
#define __STM32WBxx_HAL_VERSION ((__STM32WBxx_HAL_VERSION_MAIN << 24U)\
6262
|(__STM32WBxx_HAL_VERSION_SUB1 << 16U)\

system/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_adc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,8 @@ HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc)
10261026
/* Reset register SMPR */
10271027
hadc->Instance->SMPR &= ~ADC_SMPR_SMP1;
10281028

1029-
/* Reset register TR1 */
1030-
hadc->Instance->TR1 &= ~(ADC_TR1_HT1 | ADC_TR1_LT1);
1029+
/* Reset register TR */
1030+
hadc->Instance->TR &= ~(ADC_TR_HT | ADC_TR_LT);
10311031

10321032
/* Reset register CHSELR */
10331033
hadc->Instance->CHSELR &= ~(ADC_CHSELR_SQ_ALL);

system/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_adc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,8 @@ ErrorStatus LL_ADC_DeInit(ADC_TypeDef *ADCx)
635635
/* Reset register SMPR */
636636
CLEAR_BIT(ADCx->SMPR, ADC_SMPR_SMP1 | ADC_SMPR_SMP2 | ADC_SMPR_SMPSEL);
637637

638-
/* Reset register TR1 */
639-
MODIFY_REG(ADCx->TR1, ADC_TR1_HT1 | ADC_TR1_LT1, ADC_TR1_HT1);
638+
/* Reset register TR */
639+
MODIFY_REG(ADCx->TR, ADC_TR_HT | ADC_TR_LT, ADC_TR_HT);
640640

641641
/* Reset register CHSELR */
642642
CLEAR_BIT(ADCx->CHSELR,

system/Drivers/STM32YYxx_HAL_Driver_version.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* STM32L5: 1.0.4
1616
* STM32MP1: 1.5.0
1717
* STM32U5: 1.0.2
18-
* STM32WB: 1.10.0
18+
* STM32WB: 1.10.1
1919
* STM32WL: 1.1.0
2020

2121
Release notes of each STM32YYxx HAL Drivers available here:

0 commit comments

Comments
 (0)