-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathRelease_Notes.html
4440 lines (4440 loc) · 188 KB
/
Release_Notes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Release Notes for STM32CubeL0 Firmware Package</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
<link rel="stylesheet" href="_htmresc/mini-st_2020.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
<link rel="icon" type="image/x-icon" href="_htmresc/favicon.png" />
</head>
<body>
<div class="row">
<div class="col-sm-12 col-lg-4">
<center>
<h1 id="release-notes-forstm32cubel0-firmware-package"><small>Release Notes for</small><mark>STM32CubeL0 Firmware Package</mark></h1>
<p>Copyright © 2016 STMicroelectronics<br />
</p>
<a href="https://www.st.com" class="logo"><img src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
</center>
<h1 id="purpose">Purpose</h1>
<p><span style="font-weight: bold;">STMCube is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost.</span></p>
<p>STM32Cube covers STM32 portfolio.</p>
<p>STM32Cube Version 1.x includes:</p>
<ul>
<li><p>The STM32CubeMX, a graphical software configuration tool that allows to generate C initialization code using graphical wizards.</p></li>
<li><p>A comprehensive embedded software platform, delivered per series (such as STM32CubeL0 for STM32L0 series)</p>
<ul>
<li><p>The STM32Cube HAL, an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio</p></li>
<li><p>A consistent set of middleware components such as RTOS, USB, FatFS, STM32 TouchSensing Library]</p></li>
</ul></li>
</ul>
<p>All embedded software utilities come with a full set of examples.</p>
<p>The STM32Cube firmware solution offers a straightforward API with a modular architecture, making it simple to fine tune custom applications and scalable to fit most requirements.</p>
<figure>
<img src="_htmresc/STM32Cube_2020.bmp" alt="STM32Cube" /><figcaption>STM32Cube</figcaption>
</figure>
<p>The <span style="font-weight: bold;">drivers</span> provided within this package <span style="font-weight: bold;">support</span> the following <span style="font-weight: bold;">STM32L010x4, STM32L010x6, STM32L010x8, STM32L010xB, STM32L011xx, STM32L021xx, STM32L031xx, STM32L041xx, STM32L051xx, STM32L052xx, STM32L053xx, STM32L062xx, STM32L063xx, STM32L071xx, STM32L072xx, STM32L073xx, STM32L081xx, STM32L082xx and STM32L083xx devices.</span></p>
<p>For a quick start on the STM32CubeL0 firmware package, refer to <a href="Documentation/STM32CubeL0GettingStarted.pdf">UM1754</a> and download the firmware updates and all the latest documentation from <a href="http://www.st.com/stm32cubefw">www.st.com/stm32cubefw</a></p>
<p>Here is the list of references to user documents:</p>
<ul>
<li><p><a href="Documentation/STM32CubeL0GettingStarted.pdf">UM1754</a>: Getting started with STM32CubeL0 for STM32L0 series</p></li>
<li><p><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00116828.pdf">UM1769</a>: STM32CubeL0 Nucleo demonstration firmware</p></li>
<li><p><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00113898.pdf">UM1749</a>: Description of STM32L0xx HAL/LL drivers</p></li>
<li><p><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00108129.pdf">UM1734</a>: STM32Cube USB device library</p></li>
<li><p><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00105259.pdf">UM1721</a>: Developing Applications on STM32Cube with FatFs</p></li>
<li><p><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00105262.pdf">UM1722</a>: Developing Applications on STM32Cube with RTOS</p></li>
</ul>
</div>
<div class="col-sm-12 col-lg-8">
<h1 id="update-history">Update History</h1>
<div class="collapse">
<input type="checkbox" id="collapse-section1_12_3" checked aria-hidden="true"> <label for="collapse-section1_12_3" aria-hidden="true">V1.12.3 / 07-March-2025 </label>
<div>
<h2 id="main-changes">Main Changes</h2>
<ul>
<li>Patch release to fix known defects and enhancements implementation.</li>
</ul>
<h2 id="content">Content</h2>
<ul>
<li><strong>CMSIS</strong> updates
<ul>
<li>Align GPIO_OSPEEDR Register Bits Naming with Reference Manual.</li>
<li>Allow redefinition of the macro ‘VECT_TAB_OFFSET’ externally from the IDE, makefile, or command line.</li>
</ul></li>
<li><strong>HAL</strong> updates
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers.</li>
<li><strong>HAL GPIO</strong> update
<ul>
<li>Replace GPIO_Pin_x with GPIO_PIN_x to be compliant with macros definition.</li>
</ul></li>
<li><strong>HAL RCC</strong> update
<ul>
<li>Remove unnecessary uint64_t in HAL_RCC_GetSysClockFreq() API.</li>
</ul></li>
<li><strong>HAL FLASH</strong> update
<ul>
<li>Add UNUSED() macro to avoid the generation of a warning related to the unused argument ‘TypeProgram’.</li>
<li>Fix UNUSED_VALUE Coverity warnings.</li>
</ul></li>
<li><strong>HAL/LL CORTEX</strong> update
<ul>
<li>Update HAL_MPU_ConfigRegion() API to allow the configuration of the MPU registers independently of the value of Enable/Disable field.</li>
<li>Add new HAL_MPU_EnableRegion()/ HAL_MPU_DisableRegion() APIs.</li>
<li>Add UNUSED() macro to avoid the generation of a warning related to the unused argument ‘SubPriority’.</li>
<li>Add missing parenthesis() in LL_MPU_ConfigRegion() API.</li>
</ul></li>
<li><strong>LL UTILS</strong> update
<ul>
<li>Fix a note about Ticks parameter.</li>
</ul></li>
<li><strong>HAL CRYP</strong> update
<ul>
<li>Update Crypt/Decrypt IT processes to avoid Computation Completed IRQ fires before the DINR pointer increment.</li>
</ul></li>
<li><strong>HAL/LL ADC</strong> update
<ul>
<li>Update LL_ADC_DeInit() API to remove useless action of conversion trigger change.</li>
<li>Add UNUSED() macro to avoid the generation of a warning related to the unused argument ‘SingleDiff’.</li>
<li>Update description field in HAL_ADCEx_EnableVREFINT() and HAL_ADCEx_EnableVREFINTTempSensor() APIs.</li>
<li>Update description of LL_ADC_REG_ReadConversionData32() API.</li>
<li>Fix “Unchecked return value” Coverity warnings.</li>
</ul></li>
<li><strong>HAL DAC</strong> update
<ul>
<li>Fix “Unchecked return value” Coverity warnings.</li>
</ul></li>
<li><strong>HAL/LL TIM</strong> update
<ul>
<li>Remove multiple volatile reads or writes in interrupt handler for better performance.</li>
<li>HAL TIM driver’s operational behavior improvement.</li>
<li>Update interrupt flag (UIF) is cleared when the update event is generated by software.</li>
</ul></li>
<li><strong>HAL/LL LPTIM</strong> update
<ul>
<li>Remove redundant IS_LPTIM_AUTORELOAD() macro.</li>
</ul></li>
<li><strong>HAL/LL RTC BKP</strong> update
<ul>
<li>Remove macro __HAL_RTC_TAMPER_GET_IT() as it is redundant with macro __HAL_RTC_TAMPER_GET_FLAG() and create an alias into the hal_legacy.h file.</li>
<li>Expand the cast of ‘RTC_CR_BYPSHAD’ to 32 bits when writing to the CR register in HAL_RTCEx_DisableBypassShadow() API to avoid overwriting its upper bits.</li>
<li>Correct misleading note about shadow registers.</li>
</ul></li>
<li><strong>HAL UART</strong> update
<ul>
<li>Update initialization sequence for TXINV, RXINV and TXRXSWAP settings.</li>
<li>Fix incorrect gState check in HAL_UART_RegisterRxEventCallback()/HAL_UART_UnRegisterRxEventCallback() to allow user Rx Event Callback registration when a transmit is ongoing.</li>
<li>Avoid RTOF flag to be cleared by a transmit process in polling mode.</li>
<li>Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode.</li>
<li>Add HAL_UART_RXEVENT_IDLE event notification to user in case of HAL_UARTEx_ReceiveToIdle_DMA() API use with Circular DMA, even if occurring just after TC event.</li>
<li>Correct references to HAL_UARTEx_WakeupCallback() API and to HAL_UART_WAKEUP_CB_ID define, according to series capabilities.</li>
<li>Provide accurate position in RxEventCallback() when ReceptionToIdle mode is used with DMA, when UART and DMA interrupts process is delayed.</li>
</ul></li>
<li><strong>HAL USART</strong> update
<ul>
<li>Improve the visibility of the SPI mode capability in HAL USART description.</li>
</ul></li>
<li><strong>HAL/LL I2C</strong> update
<ul>
<li>Update HAL I2C driver to prefetch data before starting the transmission:
<ul>
<li>Implementation of errata sheet workaround I2C2-190208 : Transmission stalled after first byte.</li>
</ul></li>
<li>Update HAL I2C driver to disable all interrupts after end of transaction.</li>
<li>Update HAL_I2C_Init() API to clear ADD10 bit in 7 bit addressing mode.</li>
<li>Update HAL_I2C_Mem_Write_IT() API to initialize XferSize at 0.</li>
<li>Update I2C_Slave_ISR_IT(), I2C_Slave_ISR_DMA() and I2C_ITSlaveCplt() to prevent the call of HAL_I2C_ListenCpltCallback() twice.</li>
<li>Update I2C_WaitOnRXNEFlagUntilTimeout() to check I2C_FLAG_AF independently from I2C_FLAG_RXNE.</li>
<li>Remove the unusable code in HAL_I2C_IsDeviceReady() API.</li>
<li>Update I2C_WaitOnFlagUntilTimeout() to handle error case.</li>
<li>Update the HAL I2C driver to implement the errata workaround “Last-received byte loss in reload mode”.</li>
<li>Update HAL_I2C_Slave_Transmit() API to check if the received NACK is the good one.</li>
<li>Update LL_I2C_HandleTranfer() API to prevent undefined behavior of volatile usage before updating the CR2 register.</li>
<li>Move the prefetch process in HAL_I2C_Slave_Transmit() API.</li>
<li>Add abort memory management to HAL_I2C_Master_Abort_IT() API.</li>
<li>Add a temporary variable to get the value to check before comparison.</li>
</ul></li>
<li><strong>HAL SMBUS</strong> update
<ul>
<li>Update HAL SMBUS driver to prefetch data before starting the transmission:
<ul>
<li>Implementation of errata sheet workaround I2C2-190208: Transmission stalled after first byte.</li>
</ul></li>
<li>Update SMBUS_ITErrorHandler() to flush TXDR just in case of error.</li>
</ul></li>
<li><strong>HAL SPI</strong> update
<ul>
<li>Update HAL_SPI_TransmitReceive() API to set the bit CRCNEXT in case of one byte transaction.</li>
<li>Update IT API to enable interrupts after process unlock.</li>
<li>Add note to clarify HAL_SPI_Receive() API behavior in master mode.</li>
<li>Add units to physical measurements.</li>
<li>Add wait on flag TXE to be set at the end of transaction to be aligned with reference manual.</li>
<li>Check data size before changing state in reception API.</li>
<li>Fix “INTEGER_OVERFLOW” Coverity warning.</li>
</ul></li>
<li><strong>HAL I2S</strong> update
<ul>
<li>Remove ‘go to’ instruction to fix the Misra-C:2012 Advisory Rule15.1.</li>
</ul></li>
<li><strong>HAL USB_FS</strong> update
<ul>
<li>hal_pcd.c/ll_usb.c: fix added to support bulk transfer in double buffer mode.</li>
</ul></li>
</ul></li>
<li><strong>BSP</strong> updates
<ul>
<li><strong>BSP Components</strong> update
<ul>
<li>All source files: update disclaimer to add reference to the new license agreement.</li>
</ul></li>
</ul></li>
<li><strong>Project</strong> updates
<ul>
<li><strong>Applis_MW_FreeRTOS</strong>
<ul>
<li>Fix typo in comments inside the MutexHighPriorityThread() API.</li>
</ul></li>
<li><strong>32L0538DISCOVERY</strong>
<ul>
<li>Correct configuration of EXTI edge in GPIO example.</li>
<li>Update the Demonstration to support Touch Screen Component (gdem0213b74).</li>
<li>Fix Hardfault exception with IWDG/WWDG EWARM projects:
<ul>
<li>Debugger “Use Flash Loader” option isn’t checked.</li>
</ul></li>
</ul></li>
<li><strong>NUCLEO_L073RZ</strong>
<ul>
<li>Update LL examples to align wait state values with documentation.</li>
</ul></li>
</ul></li>
</ul>
<table>
<caption><strong>Projects</strong></caption>
<thead>
<tr class="header">
<th>Name</th>
<th style="text-align: left;">Version</th>
<th style="text-align: left;">Release notes</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Projects</td>
<td style="text-align: left;">see Projects Release note for details</td>
<td style="text-align: left;"><a href="Projects/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
<p><br />
</p>
<h2 id="components">Components</h2>
<p>Note: in the tables below, components in <span style="font-weight: bold;">bold</span> have changed since previous release</p>
<table>
<caption><strong>Drivers</strong></caption>
<thead>
<tr class="header">
<th style="text-align: left;">Name</th>
<th style="text-align: left;">Version</th>
<th style="text-align: left;">Release note</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;"><strong>STM32L0xx CMSIS</strong></td>
<td style="text-align: left;"><strong>V1.9.4</strong></td>
<td style="text-align: left;"><a href="Drivers/CMSIS/Device/ST/STM32L0xx/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>STM32L0xx HAL</strong></td>
<td style="text-align: left;"><strong>V1.10.7</strong></td>
<td style="text-align: left;"><a href="Drivers/STM32L0xx_HAL_Driver/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP Common</strong></td>
<td style="text-align: left;"><strong>V5.1.3</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/Components/Common/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP gde021a1</strong></td>
<td style="text-align: left;"><strong>V1.0.4</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/Components/gde021a1/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP hx8347d</strong></td>
<td style="text-align: left;"><strong>V1.1.3</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/Components/hx8347d/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP mfxstm32l152</strong></td>
<td style="text-align: left;"><strong>V2.0.5</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/Components/mfxstm32l152/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP st7735</strong></td>
<td style="text-align: left;"><strong>V1.1.6</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/Components/st7735/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP stlm75</strong></td>
<td style="text-align: left;"><strong>V2.0.3</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/Components/stlm75/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
<p><br />
</p>
<h2 id="known-limitations">Known Limitations</h2>
<ul>
<li>The NUCLEO-L053R8/Examples/SPI/SPI_FullDuplex_AdvCom example is obsolete as it is unstable across all supported toolchains. Therefore, it will be removed in the next full package release.</li>
</ul>
<p><br />
</p>
<h2 id="development-toolchains-and-compilers">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain <strong>V8.50.9</strong> + ST-Link</li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain <strong>V5.37</strong> + ST-LINK, pack available here:
<ul>
<li><a href="https://www.keil.com/dd2/Pack/">www.keil.com/dd2/Pack/</a> (Section : STMicroelectronics STM32l0 Series Device Support)</li>
<li>Only template projects are migrated to Arm Compiler 6 (“AC-like Warnings” mode).</li>
</ul></li>
<li>System Workbench for STM32 (SW4STM32) (7-2018-q2-update) toolchain <strong>V2.9.0</strong> + ST-Link</li>
</ul>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section1_12_2" aria-hidden="true"> <label for="collapse-section1_12_2" aria-hidden="true">V1.12.2 / 27-January-2023 </label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<ul>
<li>Patch release to fix known defects and enhancements implementation.</li>
<li>All source files: update disclaimer to add reference to the new license agreement.</li>
</ul>
<h2 id="content-1">Content</h2>
<ul>
<li><strong>CMSIS</strong> updates
<ul>
<li>Fix inconsistent IRQn_Type enumeration for supervisor call exception with alias for compatibility.</li>
<li>Update the GCC startup file to be aligned to IAR/Keil IDE.</li>
</ul></li>
<li><strong>HAL</strong> updates
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers.</li>
<li><strong>HAL/LL Generic</strong> update
<ul>
<li>Allow redefinition of macro UNUSED(x).</li>
</ul></li>
<li><strong>HAL CORTEX</strong> update
<ul>
<li>Add barrier instructions in hal_cortex.c file to be compliant with ARM recommendation.</li>
</ul></li>
<li><strong>HAL GPIO</strong> update
<ul>
<li>Reorder EXTI configuration sequence in order to avoid unexpected level detection.</li>
<li>Substitute GPIO_MODER_MODE0 by GPIO_MODE_ANALOG in API HAL_GPIO_DeInit().</li>
</ul></li>
<li><strong>HAL EXTI</strong> update
<ul>
<li>Fix computation of pExtiConfig->GPIOSel in HAL_EXTI_GetConfigLine().</li>
</ul></li>
<li><strong>HAL RCC</strong> update
<ul>
<li>Complete LCD clock configuration by invoking __HAL_RCC_LCD_CONFIG() macro in HAL_RCCEx_PeriphCLKConfig().</li>
<li>Remove useless assignments of frequency in HAL_RCCEx_GetPeriphCLKFreq() API to avoid CodeSonar warning generation.</li>
</ul></li>
<li><strong>HAL FLASH</strong> update
<ul>
<li>Update the FLASH_OB_RDPConfig() function to keep reserved bits at reset value.</li>
<li>Update the HAL_FLASHEx_DATAEEPROM_Program() function to check status of write operation at the end.</li>
<li>Relocate variable pFlash and private function FLASH_PageErase() to respectively stm32l0xx_hal_flash.h and stm32l0xx_hal_flash_ex.h to avoid the generation of related MISRAC2012-Rule-8.5_b error.</li>
<li>Remove invariant TypeProgram check in HAL_FLASH_Program_IT() API to avoid generation of Code Sonar’s Redundant Condition warning.</li>
<li>A duplicated declaration of FLASH_SIZE_DATA_REGISTER macro was removed from stm32l0xx_hal_flash_ex.h to avoid generation of related MISRAC2012-Rule-5.4_c99 error.</li>
</ul></li>
<li><strong>HAL PWR</strong> update
<ul>
<li>A duplicated declaration of __HAL_PWR_PVD_EXTI_GENERATE_SWIT() macro was removed from stm32l0xx_hal_pwr.h file to avoid the generation of MISRAC2012-Rule-5.4_c99 error.</li>
</ul></li>
<li><strong>LL UTILS</strong> update
<ul>
<li>Remove useless assignment to avoid CodeSonar warning.</li>
</ul></li>
<li><strong>HAL/LL CRC</strong> update
<ul>
<li>Add filter in HAL_CRCEx_Polynomial_Set() to exclude even polynomials.</li>
<li>Update to fix STM32CubeIDE warning: overflow in conversion from ‘int’ to ‘uint8_t’.</li>
</ul></li>
<li><strong>HAL ADC</strong> update
<ul>
<li>Better performance by removing multiple volatile reads or writes in interrupt handler.</li>
</ul></li>
<li><strong>HAL DAC</strong> update
<ul>
<li>Remove reused name DAC_HandleTypeDef as struct to comply to MISRA C 2004 rule 5.3.</li>
<li>Fix incorrect word ‘surcharged’ in functions headers.</li>
</ul></li>
<li><strong>HAL/LL TIM</strong> update
<ul>
<li>Fix HAL_TIMEx_RemapConfig() lock issue: __HAL_LOCK is called before calls to assert_param().</li>
<li>__LL_TIM_CALC_PSC() macro update to round up the evaluate value when the fractional part of the division is greater than 0.5.</li>
<li>Remove useless check on IS_TIM_ADVANCED_INSTANCE() within LL_TIM_BDTR_Init() to fix Break Filter configuration problem with specific TIM instances</li>
</ul></li>
<li><strong>HAL/LL LPTIM</strong> update
<ul>
<li>Add check on PRIMASK register to prevent from enabling unwanted global interrupts within LPTIM_Disable() and LL_LPTIM_Disable().</li>
<li>Add const qualifier to comply to MISRA-C Rule-8.13.</li>
<li>Removed Lock management from callback management functions.</li>
<li>Applied same naming rules to clear FLAG related functions.</li>
<li>Improved LPTIM FSM management consistency.</li>
</ul></li>
<li><strong>HAL RTC BKP</strong> update
<ul>
<li>Move ‘clear EXTI and RTC interrupt flags’ instructions before calls to callbacks in IRQ handlers in order to better handle the case of an interruption by a higher priority IRQ.</li>
<li>Use bits definitions from CMSIS Device header file instead of hard-coded values.</li>
<li>Wrap comments to be 80-character long and correct typos.</li>
<li>Move constants RTC_IT_TAMP from hal_rtc.h to hal_rtc_ex.h.</li>
<li>Gather all instructions related to exiting the “init” mode into new function RTC_ExitInitMode().</li>
<li>Add new macro assert_param(IS_RTC_TAMPER_FILTER_CONFIG_CORRECT(sTamper->Filter, sTamper->Trigger)) to check tamper filtering is disabled in case tamper events are triggered on signal edges.</li>
<li>Rework functions HAL_RTCEx_SetTamper() and HAL_RTCEx_SetTamper_IT() to :
<ul>
<li>Write in TAMPCR register in one single access instead of two.</li>
<li>Deactivate selected TAMPER’s interrupt (besides global TAMPER interrupt).</li>
<li>Avoid activating global TAMPER interrupt.</li>
<li>Avoid modifying user structure sTamper.</li>
<li>Avoid overwriting TAMPCR register’s content on successive calls to the function.</li>
</ul></li>
<li>Check if the RTC calendar has been previously initialized before entering initialization mode.</li>
<li>Clear RSF flag using a single ‘write’ operation instead of a ‘read-modify-write’ sequence to avoid clearing other ISR flags if set in the meantime.</li>
</ul></li>
<li><strong>HAL UART</strong> update
<ul>
<li>Improve header description of UART_WaitOnFlagUntilTimeout() function.</li>
<li>Add a check on the UART parity before enabling the parity error interruption.</li>
<li>Fix wrong cast when computing the USARTDIV value in UART_SetConfig().</li>
<li>Removal of HAL_LOCK/HAL_UNLOCK calls in HAL UART Tx and Rx APIs.</li>
<li>Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback()</li>
<li>Disable the Receiver Timeout Interrupt when data reception is completed.</li>
<li>Rework of UART_WaitOnFlagUntilTimeout() API to avoid being stuck forever when UART overrun error occurs and to enhance behavior.</li>
<li>Add a new API HAL_UARTEx_GetRxEventType() that could be used to retrieve the type of event that has led the RxEventCallback execution.</li>
</ul></li>
<li><strong>HAL SMARTCARD</strong> update
<ul>
<li>Improve header description of SMARTCARD_WaitOnFlagUntilTimeout() function.</li>
<li>Fix wrong cast when computing the USARTDIV value in SMARTCARD_SetConfig().</li>
<li>Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().</li>
</ul></li>
<li><strong>HAL IRDA</strong> update
<ul>
<li>Improve header description of IRDA_WaitOnFlagUntilTimeout() function.</li>
<li>Add a check on the IRDA parity before enabling the parity error interrupt.</li>
<li>Fix wrong cast when computing the USARTDIV value in IRDA_SetConfig().</li>
<li>Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().</li>
</ul></li>
<li><strong>HAL/LL USART</strong> update
<ul>
<li>Improve header description of USART_WaitOnFlagUntilTimeout() function.</li>
<li>Add a check on the USART parity before enabling the parity error interrupt.</li>
<li>Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().</li>
<li>Fix compilation warnings generated with ARMV6 compiler.</li>
</ul></li>
<li><strong>HAL TSC</strong> update
<ul>
<li>Fix missing ‘)’ at #define TSC_CTPL_4CYCLES.</li>
</ul></li>
<li><strong>HAL/LL I2C</strong> update
<ul>
<li>Update to handle errors in polling mode : Rename I2C_IsAcknowledgeFailed() to I2C_IsErrorOccurred() and correctly manage when error occurs.</li>
<li>Update to fix issue detected due to low system frequency execution (HSI).</li>
<li>Define new macro I2C_GET_DMA_REMAIN_DATA() as alias of macro __HAL_DMA_GET_COUNTER() to get remaining data to transfer by DMA for better code portability.</li>
<li>Fix timeout issue using HAL MEM interface through FreeRTOS.</li>
<li>Update I2C_IsErrorOccurred to return error if timeout is detected.</li>
<li>The ADDRF flag is cleared too early when the restart is received but the direction has changed.</li>
<li>Duplicate the test condition after timeout detection to avoid false timeout detection.</li>
<li>Improve header description of I2C_WaitOnFlagUntilTimeout() function.</li>
<li>Fix written reserved bit 28 in I2C_CR2 register.</li>
<li>Update HAL_I2C_IsDeviceReady() API to support 10_bit addressing mode.</li>
</ul></li>
<li><strong>HAL SMBUS</strong> update
<ul>
<li>Add flushing of TX register to fix issue of mismatching data received by master in case data size to be transmitted by the slave is greater than the data size to be received by the master.</li>
</ul></li>
<li><strong>HAL SPI</strong> update
<ul>
<li>Fix driver to don’t update state in case of error (HAL_SPI_STATE_READY will be set only in case of HAL_TIMEOUT).</li>
</ul></li>
<li><strong>HAL USB_FS</strong> update
<ul>
<li>Optimize HAL_PCD_IRQHandler() by removing multiple readings of ISTR register.</li>
<li>PCD: add supporting multi packets transfer on Interrupt endpoint</li>
<li>Set DCD timeout (in HAL PCD) to minimum of 300ms before starting BCD primary detection process.</li>
<li>HAL: PCD: software correction added to avoid unexpected STALL condition during EP0 multi packet OUT transfer.</li>
<li>hal_pcd.h: add a mask for USB RX bytes count</li>
<li>Add new HAL_PCD_EP_Abort() API to abort current USB endpoint transfer.</li>
</ul></li>
</ul></li>
<li><strong>BSP</strong> updates
<ul>
<li>General updates to support GDEM0213B74 EPD (E-Paper Display) component available on STM32L0538-DISCO RevB-03.</li>
</ul></li>
<li><strong>Project</strong> updates
<ul>
<li>Update to be in line with sd_diskio.c template file in applications and demonstrations.</li>
<li>NUCLEO-L053R8:
<ul>
<li>Removal of the BCD bus stabilization delay in HID_BCD Applications.</li>
<li>Fix the BSP_SD_Read/WriteBlocks parameters in BSP example.</li>
</ul></li>
<li>NUCLEO-L073RZ:
<ul>
<li>Update CRC LL examples to fix incorrect bytes stream handling.</li>
</ul></li>
<li>STM32L073Z-EVAL:
<ul>
<li>Update the BANK2 Start address in Readme file of FLASH_DualBoot example.</li>
</ul></li>
<li>32L0538DISCOVERY:
<ul>
<li>Add new BSP example running on STM32L0538-DISCO board revision B-03 supporting gdem0213b74 component.</li>
</ul></li>
</ul></li>
</ul>
<table>
<caption><strong>Projects</strong></caption>
<thead>
<tr class="header">
<th>Name</th>
<th style="text-align: left;">Version</th>
<th style="text-align: left;">Release notes</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Projects</td>
<td style="text-align: left;">see Projects Release note for details</td>
<td style="text-align: left;"><a href="Projects/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
<p><br />
</p>
<h2 id="components-1">Components</h2>
<p>Note: in the tables below, components in <span style="font-weight: bold;">bold</span> have changed since previous release</p>
<table>
<caption><strong>Drivers</strong></caption>
<thead>
<tr class="header">
<th style="text-align: left;">Name</th>
<th style="text-align: left;">Version</th>
<th style="text-align: left;">Release note</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;"><strong>STM32L0xx CMSIS</strong></td>
<td style="text-align: left;"><strong>V1.9.3</strong></td>
<td style="text-align: left;"><a href="Drivers/CMSIS/Device/ST/STM32L0xx/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>STM32L0xx HAL</strong></td>
<td style="text-align: left;"><strong>V1.10.6</strong></td>
<td style="text-align: left;"><a href="Drivers/STM32L0xx_HAL_Driver/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP STM32L0538-Discovery</strong></td>
<td style="text-align: left;"><strong>V1.3.0</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/STM32L0538-Discovery/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP STM32L0xx_Nucleo</strong></td>
<td style="text-align: left;"><strong>V2.1.4</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/STM32L0xx_Nucleo/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP STM32L073Z_EVAL</strong></td>
<td style="text-align: left;"><strong>V2.0.6</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/STM32L073Z_EVAL/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP STM32L0xx_Nucleo_32</strong></td>
<td style="text-align: left;"><strong>V1.0.6</strong></td>
<td style="text-align: left;"><a href="Drivers/BSP/STM32L0xx_Nucleo_32/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
<table>
<caption><strong>Utilities</strong></caption>
<thead>
<tr class="header">
<th style="text-align: left;">Name</th>
<th style="text-align: left;">Version</th>
<th style="text-align: left;">Release note</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;"><strong>CPU</strong></td>
<td style="text-align: left;"><strong>V1.1.3</strong></td>
<td style="text-align: left;"><a href="Utilities/CPU/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>Fonts</strong></td>
<td style="text-align: left;"><strong>V1.0.2</strong></td>
<td style="text-align: left;"><a href="Utilities/Fonts/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>Log</strong></td>
<td style="text-align: left;"><strong>V1.0.3</strong></td>
<td style="text-align: left;"><a href="Utilities/Log/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
<p><br />
</p>
<h2 id="known-limitations-1">Known Limitations</h2>
<ul>
<li>None</li>
</ul>
<p><br />
</p>
<h2 id="development-toolchains-and-compilers-1">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain <strong>V8.40.2</strong>+ ST-Link</li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31 + ST-LINK, pack available here:
<ul>
<li><a href="https://www.keil.com/dd2/Pack/">www.keil.com/dd2/Pack/</a> (Section : STMicroelectronics STM32l0 Series Device Support)</li>
<li>Only template projects are migrated to Arm Compiler 6 with MDK-ARM 5.31 (“AC-like Warnings” mode).</li>
</ul></li>
<li>System Workbench for STM32 (SW4STM32) (7-2018-q2-update) toolchain <strong>V2.9.0</strong> + ST-Link</li>
</ul>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section1_12_1" aria-hidden="true"> <label for="collapse-section1_12_1" aria-hidden="true">V1.12.1 / 16-July-2021 </label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<h3 id="patch-release-to-fix-known-defects-and-enhancements-implementation.">Patch release to fix known defects and enhancements implementation.</h3>
<h2 id="content-2">Content</h2>
<ul>
<li><strong>CMSIS</strong> updates
<ul>
<li>Add new atomic register access macros in stm32l0xx.h file.</li>
<li>Add LSI maximum startup time datasheet value: LSI_STARTUP_TIME.</li>
</ul></li>
<li><strong>HAL</strong> updates
<ul>
<li><strong>HAL EXTI</strong> update
<ul>
<li>Update HAL_EXTI_GetConfigLine() API to set default configuration value of Trigger and GPIOSel before checking each corresponding registers.</li>
</ul></li>
<li><strong>HAL GPIO</strong> driver
<ul>
<li>Update HAL_GPIO_Init() API to avoid the configuration of PUPDR register when Analog mode is selected.</li>
</ul></li>
<li><strong>HAL ADC</strong> update
<ul>
<li>Update timeout mechanism to avoid false timeout detection in case of preemption.</li>
<li>Update LL_ADC driver to prevent unused argument compilation warning.</li>
</ul></li>
<li><strong>HAL/LL DAC</strong> update
<ul>
<li>Fix compilation error when USE_DAC_REGISTER_CALLBACKS is activated.</li>
<li>Remove ‘register’ storage class specifier from LL DAC driver.</li>
<li>Update LL_ADC_DMA_GetRegAddr() API to prevent unused argument compilation warning.</li>
<li>Update HAL timeout mechanism to avoid false timeout detection in case of preemption.</li>
</ul></li>
<li><strong>HAL IWDG</strong> update
<ul>
<li>Update HAL_IWDG_Init() API in order to fix HAL_GetTick() timeout vulnerability issue.</li>
</ul></li>
<li><strong>HAL/LL RTC</strong> update
<ul>
<li>Update __RTC_…(__HANDLE__, …) macros to access registers through (__HANDLE__)->Instance pointer and avoid “unused variable” warnings.</li>
<li>Correct month management in IS_LL_RTC_MONTH() macro.</li>
<li>Update implementations of LL_RTC_BAK_SetRegister() and LL_RTC_BAK_GetRegister() to comply to MISRAC rule 17.4.</li>
</ul></li>
<li><strong>HAL TIM</strong> update
<ul>
<li>Update HAL_TIMEx_OnePulseN_Start and HAL_TIMEx_OnePulseN_Stop (pooling and IT mode) to take into consideration all OutputChannel parameters.</li>
<li>Update input capture measurement in DMA mode to avoid zero return values at high frequencies.</li>
<li>Correct reversed description of TIM_LL_EC_ONEPULSEMODE One Pulse Mode.</li>
</ul></li>
<li><strong>HAL LPTIM</strong> update
<ul>
<li>Update HAL_LPTIM_Init implementation to configure digital filter for external clock when LPTIM is clocked by an internal clock source.</li>
</ul></li>
<li><strong>HAL I2C</strong> update
<ul>
<li>Update I2C_IsAcknowledgeFailed() API to avoid I2C in busy state if NACK received after transmitting register address.</li>
</ul></li>
<li><strong>LL USART</strong> update
<ul>
<li>Remove useless check on maximum BRR value by removing IS_LL_USART_BRR_MAX() macro.</li>
<li>Handling of UART concurrent register access in case of race condition between Tx and Rx transfers (HAL UART and LL LPUART)</li>
</ul></li>
<li><strong>HAL SMBUS</strong> update
<ul>
<li>Add the support of wake up capability.</li>
</ul></li>
<li><strong>HAL/LL SPI</strong> update
<ul>
<li>Update to fix MISRA-C 2012 Rule-13.2</li>
<li>Update LL_SPI_TransmitData8() API to avoid casting the result to 8 bits.</li>
</ul></li>
<li><strong>HAL UART</strong> update
<ul>
<li>Fix erroneous UART’s handle state in case of error returned after DMA reception start within UART_Start_Receive_DMA().</li>
<li>Correction on UART ReceptionType management in case of ReceptionToIdle API are called from RxEvent callback.</li>
<li>Handling of UART concurrent register access in case of race condition between Tx and Rx transfers (HAL UART and LL LPUART).</li>
</ul></li>
<li><strong>HAL RNG</strong> update
<ul>
<li>Update timeout mechanism to avoid false timeout detection in case of preemption.</li>
</ul></li>
<li><strong>HAL USB_FS</strong> update
<ul>
<li>HAL PCD: add fix transfer complete for IN Interrupt transaction in single buffer mode.</li>
<li>Race condition in USB PCD control endpoint receive ISR.</li>
</ul></li>
</ul></li>
<li><strong>Project</strong> update
<ul>
<li>Update examples and applications to avoid clearing DMA using global flag GIFx.</li>
<li>system_stm32l0xx.c files alignment with CMSIS template file.</li>
</ul></li>
</ul>
<table>
<caption><strong>Projects</strong></caption>
<thead>
<tr class="header">
<th>Name</th>
<th style="text-align: left;">Version</th>
<th style="text-align: left;">Release notes</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Projects</td>
<td style="text-align: left;">see Projects Release note for details</td>
<td style="text-align: left;"><a href="Projects/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
<p><br />
</p>
<h2 id="components-2">Components</h2>
<p>Note: in the tables below, components in <span style="font-weight: bold;">bold</span> have changed since previous release</p>
<table>
<caption><strong>Drivers</strong></caption>
<thead>
<tr class="header">
<th style="text-align: left;">Name</th>
<th style="text-align: left;">Version</th>
<th style="text-align: center;">Release note</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;"><strong>STM32L0xx CMSIS</strong></td>
<td style="text-align: left;"><strong>V1.9.2</strong></td>
<td style="text-align: center;"><a href="Drivers/CMSIS/Device/ST/STM32L0xx/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>STM32L0xx HAL</strong></td>
<td style="text-align: left;"><strong>V1.10.5</strong></td>
<td style="text-align: center;"><a href="Drivers/STM32L0xx_HAL_Driver/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
<p><br />
</p>
<h2 id="known-limitations-2">Known Limitations</h2>
<ul>
<li>None</li>
</ul>
<p><br />
</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section1_12_0" aria-hidden="true"> <label for="collapse-section1_12_0" aria-hidden="true">V1.12.0 / 28-October-2020 </label>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<ul>
<li>General updates to fix known defects and enhancements implementation</li>
<li>Add new <strong>HAL EXTI</strong> driver</li>
<li>Add new <strong>HAL SMBUS extended</strong> driver to support SMBUS fast Mode Plus.</li>
<li>Remove <strong>HAL LPTIM Extended</strong> driver to move its contain to HAL LPTIM header file.</li>
<li>Correct MISRA-C 2012: Rule-10.5, Rule-10.4_a, Rule-2.7 and Rule-21.1</li>
</ul>
<h3 id="major-maintenance-release">Major Maintenance release</h3>
<h2 id="content-3">Content</h2>
<ul>
<li><strong>CMSIS Core</strong> updates
<ul>
<li>Upgrade to new CMSIS Core version V5.4.0.</li>
</ul></li>
<li><strong>CMSIS Device</strong> updates
<ul>
<li>system_stm32l0xx.c
<ul>
<li>SystemInit(): update to don’t reset RCC registers to its reset values.</li>
<li>Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive: USER_VECT_TAB_ADDRESS.</li>
</ul></li>
<li>All header files
<ul>
<li>Remove unused IS_TIM_SYNCHRO_INSTANCE() assert macro.</li>
</ul></li>
<li>Remove stm32l061xx.h header file.</li>
<li>Add License.md and Readme.md files required for GitHub publication</li>
</ul></li>
<li><strong>HAL / LL Drivers</strong> updates
<ul>
<li><p>Remove useless casts</p></li>
<li><strong>HAL</strong> driver
<ul>
<li>Update HAL driver to allow user to change systick period to 1ms, 10 ms or 100 ms:
<ul>
<li>Add the following new API’s :
<ul>
<li>HAL_GetTickPrio(): Returns a tick priority.</li>
<li>HAL_SetTickFreq(): Sets new tick frequency.</li>
<li>HAL_GetTickFreq(): Returns tick frequency.</li>
</ul></li>
<li>Add HAL_TickFreqTypeDef enumeration for the different Tick Frequencies: 10 Hz, 100 Hz and 1KHz (default).</li>
</ul></li>
<li>Update HAL_Init_Tick() API to proporely store the priority when using the non-default time base.</li>
<li>Add new defines for ARM compiler V6:
<ul>
<li>__weak</li>
<li>__packed</li>
<li>__NOINLINE</li>
</ul></li>
</ul></li>
<li><strong>HAL/LL ADC</strong> update
<ul>
<li>Update HAL_ADC_Stop_DMA() API to check if DMA state is Busy before calling HAL_DMA_Abort() API to avoid DMA internal error.</li>
<li>Update LL_ADC_REG_Init() API to avoid enabling continuous mode and discontinuous mode simultaneously.</li>
</ul></li>
<li><strong>HAL/LL IWDG</strong> update
<ul>
<li>Update HAL_IWDG_DEFAULT_TIMEOUT define value to consider LSI value instead of hardcoded value</li>
</ul></li>
<li><strong>HAL/LL WWDG</strong> update
<ul>
<li>Update WWDG frequency, min and max timeout values</li>
<li>Update HAL WWDG driver description</li>
</ul></li>
<li><strong>HAL CORTEX</strong> update
<ul>
<li>Update IS_NVIC_PREEMPTION_PRIORITY macro in order to prevent PreemptPriority assert failure</li>
</ul></li>
<li><strong>HAL/LL PWR</strong> update
<ul>
<li>Reset bit ULP before entering in low power modes in case ULP=1 and EN_VREFINT = 1.
<ul>
<li>Update HAL_PWR_EnterSLEEPMode() and HAL_PWR_EnterSTOPMode() APIs</li>
</ul></li>
</ul></li>
<li><strong>HAL/LL RTC</strong> update
<ul>
<li>Optimize HAL implementation Daylight saving feature to subtract or add one hour to the calendar in one single operation without going through the initialization procedure:
<ul>
<li>Add HAL_RTC_DST_Add1Hour(), HAL_RTC_DST_Sub1Hour(), HAL_RTC_DST_SetStoreOperation(), HAL_RTC_DST_ClearStoreOperation(), HAL_RTC_DST_ReadStoreOperation() APIs.</li>
</ul></li>
</ul></li>
<li><strong>HAL/LL SPI</strong> update
<ul>
<li>Bug fix to support the data packing mode
<ul>
<li>Update SPI Transmit/Receive APIs with assert for 8-bit.</li>
</ul></li>
<li>Update SPI_DMAReceiveCplt() API to handle efficiently the repeated transfers.
<ul>
<li>Disable TX DMA request only in bidirectional receive mode</li>
</ul></li>
<li>Update HAL_SPI_Init() API
<ul>
<li>To avoid setting the BaudRatePrescaler in case of Slave Motorola Mode</li>
<li>Use the bit-mask for SPI configuration</li>
</ul></li>
<li>Update Transmit/Receive processes in half-duplex mode
<ul>
<li>Disable the SPI instance before setting BDIOE bit</li>
</ul></li>
<li>Fix wrong timeout management
<ul>
<li>Calculate Timeout based on a software loop to avoid blocking issue if Systick is disabled</li>
</ul></li>
<li>Update to implement Erratasheet: BSY bit may stay high at the end of a data transfer in Slave mode.</li>
</ul></li>
<li><strong>HAL/LL I2S</strong> update
<ul>
<li>Update HAL_I2S_DMAStop() API to be more safe
<ul>
<li>Add a check on BSY, TXE and RXNE flags before disabling the I2S</li>
</ul></li>
<li>Update HAL_I2S_DMAStop() API to fix multi-call transfer issue(to avoid re-initializing the I2S for the next transfer).
<ul>
<li>Add __HAL_I2SEXT_FLUSH_RX_DR() and __HAL_I2S_FLUSH_RX_DR() macros to flush the remaining data inside DR registers.</li>
<li>Add new ErrorCode define: HAL_I2S_ERROR_BUSY_LINE_RX</li>
</ul></li>
</ul></li>
<li><strong>HAL SMBUS</strong> update
<ul>
<li>Add support of Fast Mode Plus to be SMBus rev 3 compliant.
<ul>
<li>Add HAL_SMBUSEx_EnableFastModePlus() and HAL_SMBUSEx_DisableFastModePlus() APIs to manage Fm+.</li>
</ul></li>
</ul></li>
<li><strong>HAL/LL TIM</strong> update
<ul>
<li>Add new macros to enable and disable the fast mode when using the one pulse mode to output a waveform with a minimum delay
<ul>
<li>__HAL_TIM_ENABLE_OCxFAST() and __HAL_TIM_DISABLE_OCxFAST().</li>
</ul></li>
<li>Update Encoder interface mode to keep TIM_CCER_CCxNP bits low
<ul>
<li>Add TIM_ENCODERINPUTPOLARITY_RISING and TIM_ENCODERINPUTPOLARITY_FALLING definitions to determine encoder input polarity.</li>
<li>Add IS_TIM_ENCODERINPUT_POLARITY() macro to check the encoder input polarity.</li>
<li>Update HAL_TIM_Encoder_Init() API</li>
<li>Replace IS_TIM_IC_POLARITY() macro by IS_TIM_ENCODERINPUT_POLARITY() macro.</li>
</ul></li>
<li>Update driver to handle channel state and DMA burst state independently allowing to use multiple DMA request with different channels of same timer
<ul>
<li>Introduce DMA burst state management mechanism
<ul>
<li>Add a new structure for DMA Burst States definition : HAL_TIM_DMABurstStateTypeDef</li>
<li>Update __HAL_TIM_RESET_HANDLE_STATE to support DMABurstState</li>
<li>Add a new API HAL_TIM_DMABurstState() to get the actual state of a DMA burst operation</li>
</ul></li>
<li>Add HAL_TIM_DMABurstStateTypeDef enumeration
<ul>
<li>Add DMABurstState, the DMA burst operation state, to the TIM_HandleTypeDef structure<br />
</li>
</ul></li>
<li>Implement TIM channel state management mechanism
<ul>
<li>Add new private macro
<ul>
<li>TIM_CHANNEL_STATE_SET_ALL</li>
<li>TIM_CHANNEL_STATE_SET</li>
<li>TIM_CHANNEL_STATE_GET</li>
</ul></li>
</ul></li>
<li>Add new API HAL_TIM_GetActiveChannel()
<ul>
<li>Add new API HAL_TIM_GetChannelState() to get actual state of the TIM channel</li>
<li>Add a new structure for TIM channel States definition : HAL_TIM_ChannelStateTypeDef</li>
<li>Update __HAL_TIM_RESET_HANDLE_STATE to support ChannelState</li>
</ul></li>
<li>Add HAL_TIM_ChannelStateTypeDef enumeration
<ul>
<li>Add ChannelState to the TIM_HandleTypeDef structure to manage TIM channel operation state</li>
</ul></li>
</ul></li>
<li>Update HAL_TIMEx_MasterConfigSynchronization() API to avoid functional errors and assert fails when using some TIM instances as input trigger.
<ul>
<li>Replace IS_TIM_SYNCHRO_INSTANCE() macro by IS_TIM_MASTER_INSTANCE() macro.</li>
<li>Add IS_TIM_SLAVE_INSTANCE() macro to check on TIM_SMCR_MSM bit.</li>
</ul></li>
<li>Add new API HAL_TIM_DMABurst_MultiWriteStart() allowing to configure the DMA Burst to transfer multiple Data from the memory to the TIM peripheral</li>
<li>Add new API HAL_TIM_DMABurst_MultiReadStart() allowing to configure the DMA Burst to transfer Data from the TIM peripheral to the memory</li>
<li>Remove “register” “C” keyword: The register storage class specifier was deprecated in C++11 and removed in C++17</li>
<li>Correct inverted values of LL_TIM_COUNTERMODE_CENTER_DOWN and LL_TIM_COUNTERMODE_CENTER_UP</li>
<li>Remove extra DMABurst Base Addresses not consistent with reference manual</li>
<li>Move the TIM input remapping TIM3_TI4_GPIOC9_AF2 and TIM3_TI1_GPIO definition from USB section</li>
<li>Update LL_TIM_GetCounterMode() implementation to return adequate values to the routine expected ones.</li>
</ul></li>
<li><strong>LL LPTIM</strong> update
<ul>
<li>Fix typos introduced in some comments</li>
<li>Remove useless check on LPTIM2 instance introduced in the driver not consistent with the reference manual</li>
<li>Update HAL_LPTIM_Init implementation to configure digital filter for external clock when LPTIM is clocked by an internal clock source</li>
<li>Add a polling mechanism to check on LPTIM_FLAG_XXOK flags in different API
<ul>
<li>Add LPTIM_WaitForFlag() to wait for flag set.</li>
<li>Perform new checks on HAL_LPTIM_STATE_TIMEOUT.</li>
</ul></li>
</ul></li>
<li><strong>HAL/LL IRDA</strong> update
<ul>
<li>Align HAL IRDA driver with latest updates and enhancements</li>
<li>Optimize HAL IRDA to avoid using macros as argument of function calls</li>
<li>Update description of “HAL_IRDA_Transmit_XXX”, “HAL_IRDA_Receive_XXX” APIs with more details about the data size management</li>
</ul></li>
<li><strong>HAL/LL SMARTCARD</strong> update
<ul>
<li>Update HAL_SMARTCARD_Transmit(), HAL_SMARTCARD_Transmit_IT(), HAL_SMARTCARD_Transmit_DMA() and SMARTCARD_EndTransmit_IT() APIs implementation to fix an issue when No repetition after NACK is received in smartcard T=0</li>
<li>Optimize HAL SMARTCARD to avoid using macros as argument of function calls</li>
</ul></li>
<li><strong>HAL/LL UART</strong> update
<ul>
<li>Implementation of ReceptionToIdle reception services enhancement
<ul>
<li>Align the HAL UART driver with latest updates and enhancements to support the new enhancement of ReceptionToIdle</li>
</ul></li>
<li>Add HAL_UART_RxTypeTypeDef to the UART_HandleTypeDef structure to identify the type of ongoing Reception
<ul>
<li>HAL_UART_RECEPTION_STANDARD, HAL_UART_RECEPTION_TOIDLE, HAL_UART_RECEPTION_TORTO, HAL_UART_RECEPTION_TOCHARMATCH</li>
</ul></li>
<li>Add UART Reception Event Callback registration features
<ul>
<li>Add HAL_UART_RegisterRxEventCallback, HAL_UART_UnRegisterRxEventCallback and HAL_UARTEx_RxEventCallback APIs</li>
<li>Add pUART_RxEventCallbackTypeDef pointer to a UART Rx Event specific callback function</li>
<li>Add a set of APIs specific to Reception to Idle transfer in different mode
<ul>
<li>Add HAL_UARTEx_ReceiveToIdle API to receive an amount of data in blocking mode till either the expected number of data is received or an IDLE event occurs.</li>
</ul></li>
<li>Add HAL_UARTEx_ReceiveToIdle_IT() API to receive an amount of data in interrupt mode till either the expected number of data is received or an IDLE event occurs.</li>
<li>Add HAL_UARTEx_ReceiveToIdle_DMA() API to receive an amount of data in DMA mode till either the expected number of data is received or an IDLE event occurs.</li>
<li>Update implementation of HAL_UART_Receive(), HAL_UART_Receive_IT() and HAL_UART_Receive_DMA() to support the new enhancement of ReceptionToIdle
<ul>