-
Notifications
You must be signed in to change notification settings - Fork 5
/
Release_Notes.html
1476 lines (1476 loc) · 65.4 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 STM32G0xx HAL Drivers 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-forstm32g0xx-hal-drivers"><small>Release Notes for</small><mark>STM32G0xx HAL Drivers</mark></h1>
<p>Copyright © 2018 STMicroelectronics</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>The STM32Cube HAL and LL, an STM32 abstraction layer embedded software, ensure maximized portability across STM32 portfolio.</p>
<p>The Portable APIs layer provides a generic, multi instanced and simple set of APIs to interact with the upper layer (application, libraries and stacks). It is composed of native and extended APIs set. It is directly built around a generic architecture and allows the build-upon layers, like the middleware layer, to implement its functions without knowing in-depth the used STM32 device. This improves the library code re-usability and guarantees an easy portability on other devices and STM32 families.</p>
<p>The Low Layer (LL) drivers are part of the STM32Cube firmware HAL that provide basic set of optimized and one shot services. The Low layer drivers, contrary to the HAL ones are not Fully Portable across the STM32 families; the availability of some functions depend on the physical availability of the relative features on the product. The Low Layer (LL) drivers are designed to offer the following features:</p>
<ul>
<li>New set of inline function for direct and atomic register access</li>
<li>One-shot operations that can be used by the HAL drivers or from application level.</li>
<li>Fully Independent from HAL and can be used in standalone usage (without HAL drivers)</li>
<li>Full features coverage of the all the supported peripherals.</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-section9" checked aria-hidden="true"> <label for="collapse-section9" aria-hidden="true">V1.4.6 / 15-December-2023</label>
<div>
<h2 id="main-changes">Main Changes</h2>
<h3 id="maintenance-release">Maintenance release</h3>
<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>Fix the COMP EXTI line in the comments.</li>
<li>Allow redefinition of macro UNUSED(x).</li>
<li>Update of HAL_GetTickFreq() brief.</li>
</ul></li>
<li><strong>HAL EXTI</strong> update
<ul>
<li>Fix computation of pExtiConfig->GPIOSel in HAL_EXTI_GetConfigLine().</li>
<li>Fix the wrong references in the “How to use this driver” section.</li>
</ul></li>
<li><strong>HAL CRC</strong> update
<ul>
<li>Add filter in HAL_CRCEx_Polynomial_Set() to exclude even polynomials.</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>
<li>Update AES GCM in interrupt mode to avoid Computation Completed IRQ fires before the DINR pointer increment.</li>
</ul></li>
<li><strong>LL ADC</strong> update
<ul>
<li>Remove useless action of conversion trigger change in function LL_ADC_DeInit(). Moreover, this action was not compliant with ADC enable state (cf reference manual).</li>
</ul></li>
<li><strong>HAL DAC</strong> update
<ul>
<li>Fix incorrect word ‘surcharged’ in functions headers.</li>
<li>Fix HAL_GetTick() timeout vulnerability.</li>
<li>Updated DAC buffer calibration according to RM.</li>
</ul></li>
<li><strong>HAL/LL RTC</strong> update
<ul>
<li>Optimize the way RSF flag is cleared in HAL_RTC_WaitForSynchro().</li>
<li>Correct misleading note about shadow registers.</li>
<li>Update HAL_RTC_XXX_GET_IT(), HAL_RTC_XXX_GET_FLAG(), and HAL_RTC_XXX_CLEAR_FLAG() macros with correct registers and bitmasks.</li>
</ul></li>
<li><strong>HAL RCC</strong> update
<ul>
<li>Rework HAL_RCC_MCOConfig() API to support all RCC_MCOx parameter values (GPIO pins) from Datasheet.</li>
<li>Enclose in parentheses parameters of a group of macros to avoid Misra-C 2012 Rule-20.7 warnings.</li>
<li>Add else statement in the end of HAL_RCC_MCOConfig API to avoid Misra-C 2012 Rule-15.7 warnings.</li>
<li>Add defined(RCC_CCIPR_USART2SEL) for selecting the USART2 clock source in stm32g0xx_ll_rcc.h file.</li>
</ul></li>
<li><strong>HAL PWR</strong> update
<ul>
<li>Update to support USB supply enable feature for STM32G0B0 devices.</li>
</ul></li>
<li><strong>HAL CORTEX</strong> update
<ul>
<li>Update HAL_MPU_ConfigRegion() to allow the configuration of the MPU registers independently of the value of Enable/Disable field.</li>
<li>Add new APIs HAL_MPU_EnableRegion() / HAL_MPU_DisableRegion().</li>
</ul></li>
<li><strong>HAL/LL TIM</strong> update
<ul>
<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>
<li>Remove lock management from callback management functions.</li>
<li>Remove multiple volatile reads or writes in interrupt handler for better performance.</li>
<li>Improve HAL TIM driver’s operational behavior.</li>
<li>Assert check for the right channels.</li>
<li>Improve period configuration parameter check.</li>
<li>Remove unnecessary change of MOE bitfield in LL_TIM_BDTR_Init().</li>
</ul></li>
<li><strong>HAL/LL LPTIM</strong> update
<ul>
<li>Apply the same naming rule to clear FLAG related functions.</li>
<li>Remove Lock management from callback management functions.</li>
<li>Remove redundant IS_LPTIM_AUTORELOAD macro.</li>
</ul></li>
<li><strong>HAL FDCAN</strong> update
<ul>
<li>Fix GetIndex issue in HAL_FDCAN_GetRxMessage.</li>
<li>Remove shift from ‘FDCAN_DLC_BYTES_X’ definitions so that values taken by ‘DataLength’ structure member comply to the definition of a DLC.</li>
</ul></li>
<li><strong>HAL FLASH</strong> update
<ul>
<li>Remove the plural form in the description of the __HAL_FLASH_CLEAR_FLAG macro.</li>
<li>Fix __HAL_FLASH_CLEAR_FLAG macro.</li>
<li>Fix timeout check in FLASH_WaitForLastOperation().</li>
<li>Update HAL_FLASH_Unlock/HAL_FLASH_Lock and HAL_FLASH_OB_Unlock/HAL_FLASH_OB_Lock functions to check BSY1, BSY2 and CFGBSY bits before performing Unlock/Lock sequence.</li>
<li>Fix Misra-C:2012 Rule-17.7 warnings: The return value of `FLASH_WaitForLastOperation()’ call is discarded.</li>
</ul></li>
<li><strong>HAL UART</strong> update
<ul>
<li>Disable the Receiver Timeout Interrupt when data reception is completed.</li>
<li>Remove lock management from callback management functions.</li>
<li>Rework of UART_WaitOnFlagUntilTimeout() API to avoid being stuck forever when UART overrun error occurs and to enhance behavior.</li>
<li>Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().</li>
<li>Update initialisation 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>
</ul></li>
<li><strong>HAL USART</strong> update
<ul>
<li>Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().</li>
</ul></li>
<li><strong>HAL IRDA</strong> update
<ul>
<li>Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().</li>
</ul></li>
<li><strong>HAL SMARTCARD</strong> update
<ul>
<li>Correct USART3 clock source computation for smartcard initialisation.</li>
<li>Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().</li>
</ul></li>
<li><strong>HAL/LL I2C</strong> update
<ul>
<li>Duplicate the test condition after timeout detection to avoid false timeout detection.</li>
<li>Update HAL_I2C_IsDeviceReady API to support 10_bit addressing mode: Update done on the macro I2C_GENERATE_START.</li>
<li>Update HAL I2C driver to prefetch data before starting the transmission: implementation of errata sheet workaround I2C2-190208 : Transmission stalled after first byte.</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 I2C_Slave_ISR_IT, I2C_Slave_ISR_DMA and I2C_ITSlaveCplt to prevent the call of HAL_I2C_ListenCpltCallback twice.</li>
<li>Solve Slave No stretch not functional by using HAL Slave interface.</li>
<li>Update HAL_I2C_Mem_Write_IT API to initialize XferSize at 0.</li>
<li>Update I2C_WaitOnRXNEFlagUntilTimeout to check I2C_FLAG_AF independently from I2C_FLAG_RXNE.</li>
<li>Remove the unusable code in function HAL_I2C_IsDeviceReady.</li>
<li>Update I2C_WaitOnFlagUntilTimeout to handle error case.</li>
<li>Update HAL_I2C_Slave_Transmit to check if the received NACK is the good one.</li>
<li>Update LL_I2C_HandleTranfer function to prevent undefined behavior of volatile usage before updating the CR2 register.</li>
</ul></li>
<li><strong>HAL SMBUS</strong> update
<ul>
<li>Update HAL SMBUS driver to prefetch data before starting the transmission: implementation of errata sheet workaround I2C2-190208 : Transmission stalled after first byte</li>
<li>Update SMBUS_ITErrorHandler to flash TXDR just in case of error.</li>
</ul></li>
<li><strong>HAL/LL 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>
<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>
</ul></li>
<li><strong>HAL/LL USB</strong> update
<ul>
<li>hal_hcd.c/ll_usb.c: fix double buffer mode configuration in host mode for isochronous and bulk transfers.</li>
<li>ll_usb.h: use correct macro to clear RXBD register block numbers.</li>
<li>hcd.h: update delay before reading RXBD register.</li>
<li>hcd.c: prevent channel auto start of periodic interrupt transfer during NAK.</li>
<li>ll_usb.c: increase timeout value to allow core reset to complete.</li>
</ul></li>
<li><strong>LL UTILS</strong> update
<ul>
<li>Fix a note about Ticks parameter.</li>
</ul></li>
</ul>
<h2 id="known-limitations">Known limitations</h2>
<ul>
<li>USB HAL limitation: Double buffer mode is not functional with isochronous data transfers in host mode.</li>
</ul>
<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></li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain <strong>V5.38</strong></li>
<li>STM32CubeIDE toolchain <strong>V1.14.0</strong></li>
</ul>
<h2 id="supported-devices-and-boards">Supported Devices and boards</h2>
<p>Supported Devices:</p>
<ul>
<li>STM32G0C1xx, STM32G0B1xx, STM32G0B0xx</li>
<li>STM32G061xx, STM32G051xx, STM32G050xx</li>
<li>STM32G081xx, STM32G071xx, STM32G070xx</li>
<li>STM32G041xx, STM32G031xx, STM32G030xx</li>
</ul>
<h2 id="backward-compatibility">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
<h2 id="dependencies">Dependencies</h2>
<p><br />
</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section8" aria-hidden="true"> <label for="collapse-section8" aria-hidden="true">V1.4.5 / 10-June-2022</label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<h3 id="maintenance-release-1">Maintenance release</h3>
<ul>
<li>General updates to fix known defects and enhancements implementation.</li>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul>
<h2 id="known-limitations-1">Known limitations</h2>
<ul>
<li>USB HAL limitation: Double buffer mode is not functional with isochronous data transfers in host mode.</li>
</ul>
<h2 id="development-toolchains-and-compilers-1">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.9</li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE toolchain (gcc9_2020_q2_update) v1.7.0</li>
</ul>
<h2 id="supported-devices-and-boards-1">Supported Devices and boards</h2>
<p>Supported Devices:</p>
<ul>
<li>STM32G0C1xx, STM32G0B1xx, STM32G0B0xx</li>
<li>STM32G061xx, STM32G051xx, STM32G050xx</li>
<li>STM32G081xx, STM32G071xx, STM32G070xx</li>
<li>STM32G041xx, STM32G031xx, STM32G030xx</li>
</ul>
<h2 id="backward-compatibility-1">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
<h2 id="dependencies-1">Dependencies</h2>
<p><br />
</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section7" aria-hidden="true"> <label for="collapse-section7" aria-hidden="true">V1.4.4 / 01-April-2022</label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<h3 id="maintenance-release-2">Maintenance release</h3>
<ul>
<li><p>General updates to fix known defects and enhancements implementation.</p></li>
<li><strong>HAL/LL Drivers</strong> updates
<ul>
<li><strong>HAL ADC</strong> updates
<ul>
<li>Update LL_ADC driver to prevent unused argument compilation warning.</li>
<li>Update to manage constraint: ADC must be disable to modify bitfields of register ADC_CFGR1 and ADC_CFGR2</li>
<li>In LL and HAL drivers, references to 3 ADC registers renamed to align on CMSIS and reference manual: {TR1, TR2, TR3} renamed {AWD1TR, AWD2TR, AWD3TR}.</li>
</ul></li>
<li><strong>HAL DAC</strong> updates
<ul>
<li>Add new HAL DAC APIs to start/stop conversion on both channels
<ul>
<li>HAL_DACEx_DualStart()</li>
<li>HAL_DACEx_DualStop()</li>
</ul></li>
</ul></li>
<li><strong>HAL FLASH</strong> updates
<ul>
<li>Fix Wrong definition of FLASH operation error
<ul>
<li>HAL_FLASH_ERROR_OP value updated to FLASH_SR_OPERR instead of FLASH_SR_EOP</li>
</ul></li>
</ul></li>
<li><strong>HAL/LL RCC</strong> updates
<ul>
<li>Enhance the PLL configuration in HAL_RCC_ClockConfig() API.</li>
<li>Add the following new APIs to check if PLL output mapped on different domain clock is enabled:
<ul>
<li>LL_RCC_PLL_IsEnabledDomain_ADC()</li>
<li>LL_RCC_PLL_IsEnabledDomain_I2S1()</li>
<li>LL_RCC_PLL_IsEnabledDomain_I2S2()</li>
<li>LL_RCC_PLL_IsEnabledDomain_RNG()</li>
<li>LL_RCC_PLL_IsEnabledDomain_FDCAN()</li>
<li>LL_RCC_PLL_IsEnabledDomain_USB()</li>
<li>LL_RCC_PLL_IsEnabledDomain_TIM1()</li>
<li>LL_RCC_PLL_IsEnabledDomain_TIM15()</li>
<li>LL_RCC_PLL_IsEnabledDomain_SYS()</li>
</ul></li>
<li>Enhance the following APIs implementation to check the PLL output enable bit status:
<ul>
<li>LL_RCC_GetI2SClockFreq()</li>
<li>LL_RCC_GetTIMClockFreq()</li>
<li>LL_RCC_GetRNGClockFreq()</li>
<li>LL_RCC_GetADCClockFreq()</li>
<li>LL_RCC_GetUSBClockFreq()</li>
</ul></li>
</ul></li>
<li><strong>HAL CEC</strong> updates
<ul>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>HAL/LL TIM</strong> updates
<ul>
<li>Manage configuration of the Capture/compare DMA request source</li>
<li>Add related new exported constants (TIM_CCDMAREQUEST_CC, TIM_CCDMAREQUEST_UPDATE).</li>
<li>Create a new macro __HAL_TIM_SELECT_CCDMAREQUEST() allowing to program the TIMx_CR2.CCDS bitfield.</li>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</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>
</ul></li>
<li><strong>HAL LPTIM</strong> updates
<ul>
<li>Add check on PRIMASK register to prevent from enabling unwanted global interrupts within LPTIM_Disable() and LL_LPTIM_Disable()</li>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>HAL UART</strong> updates
<ul>
<li>Add a check on the UART parity before enabling the parity error interruption.</li>
<li>Improve header description of UART_WaitOnFlagUntilTimeout() function</li>
<li>Add const qualifier for read only pointers.</li>
<li>Fix wrong cast when computing the USARTDIV value in UART_SetConfig().</li>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers</li>
</ul></li>
<li><strong>LL LPUART</strong> updates
<ul>
<li>TXFECF reference removed from LL LPUART driver.</li>
</ul></li>
<li><strong>HAL/LL USART</strong> updates
<ul>
<li>Add a check on the USART parity before enabling the parity error interrupt.</li>
<li>Improve header description of USART_WaitOnFlagUntilTimeout() function</li>
<li>Add const qualifier for read only pointers.</li>
<li>Fix compilation warnings generated with ARMV6 compiler</li>
</ul></li>
<li><strong>HAL IRDAL</strong> updates
<ul>
<li>Add a check on the IRDA parity before enabling the parity error interrupt.</li>
<li>Improve header description of IRDA_WaitOnFlagUntilTimeout() function</li>
<li>Add const qualifier for read only pointers.</li>
<li>Fix wrong cast when computing the USARTDIV value in IRDA_SetConfig().</li>
</ul></li>
<li><strong>HAL SMARTCARD</strong> updates
<ul>
<li>Improve header description of SMARTCARD_WaitOnFlagUntilTimeout() function</li>
<li>Add const qualifier for read only pointers.</li>
<li>Fix wrong cast when computing the USARTDIV value in SMARTCARD_SetConfig().</li>
</ul></li>
<li><strong>HAL I2C</strong> updates
<ul>
<li>Update to handle errors in polling mode.
<ul>
<li>Rename I2C_IsAcknowledgeFailed() to I2C_IsErrorOccurred() and correctly manage when error occurs.</li>
</ul></li>
<li>Update to fix issue detected due to low system frequency execution (HSI).</li>
<li>Declare an internal macro link to DMA macro to check remaining data: I2C_GET_DMA_REMAIN_DATA</li>
<li>Timeout issue using HAL MEM interface through FreeRTOS</li>
</ul></li>
<li><strong>HAL SMBUS</strong> updates
<ul>
<li>Add the support of wake up capability.</li>
<li>Update to fix issue of mismatched data received by master in case of data size to be transmitted by the slave is greater than the data size to be received by the master.
<ul>
<li>Add flush on TX register.</li>
</ul></li>
</ul></li>
<li><strong>HAL USB</strong> updates
<ul>
<li>HAL USB: fix Isochronous double buffer mode IN transfer issue</li>
<li>PCD: add supporting multi packets transfer on Interrupt endpoint</li>
<li>HAL: PCD: Set DCD timeout 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>
</ul></li>
<li><strong>LL UCPD</strong> updates
<ul>
<li>Correction of register accessed by LL_UCPD_ReadRxPaySize macro.</li>
</ul></li>
<li><strong>Documentation</strong>
<ul>
<li>"<span class="citation" data-cites="ref">@ref</span>" Doxygen tags removed from PDF User Manual</li>
</ul></li>
</ul></li>
</ul>
<h2 id="known-limitations-2">Known limitations</h2>
<ul>
<li>USB HAL limitation: Double buffer mode is not functional with isochronous data transfers in host mode.</li>
</ul>
<h2 id="development-toolchains-and-compilers-2">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.9</li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE toolchain (gcc9_2020_q2_update) v1.7.0</li>
</ul>
<h2 id="supported-devices-and-boards-2">Supported Devices and boards</h2>
<p>Supported Devices:</p>
<ul>
<li>STM32G0C1xx, STM32G0B1xx, STM32G0B0xx</li>
<li>STM32G061xx, STM32G051xx, STM32G050xx</li>
<li>STM32G081xx, STM32G071xx, STM32G070xx</li>
<li>STM32G041xx, STM32G031xx, STM32G030xx</li>
</ul>
<h2 id="backward-compatibility-2">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
<h2 id="dependencies-2">Dependencies</h2>
<p><br />
</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" aria-hidden="true">V1.4.3 / 15-December-2021</label>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<h3 id="maintenance-release-3">Maintenance release</h3>
<ul>
<li><strong>HAL/LL Drivers</strong> updates
<ul>
<li><strong>HAL USB</strong> update
<ul>
<li>Footprint optimization in case USB double buffer mode not used, code protected with new define USE_USB_DOUBLE_BUFFER</li>
<li>Update to avoid multiple reads of USB ISR register</li>
<li>Add new API HAL_PCD_EP_Abort() to abort current USB endpoint transfer.</li>
<li>Adding support of Azure USBx middleware stack</li>
</ul></li>
</ul></li>
</ul>
<h2 id="known-limitations-3">Known limitations</h2>
<ul>
<li>USB HAL limitation: Double buffer mode is not functional with isochronous data transfers in host mode.</li>
</ul>
<h2 id="development-toolchains-and-compilers-3">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.9</li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE toolchain v1.7.0</li>
</ul>
<h2 id="supported-devices-and-boards-3">Supported Devices and boards</h2>
<p>Supported Devices:</p>
<ul>
<li>STM32G0C1xx, STM32G0B1xx, STM32G0B0xx</li>
<li>STM32G061xx, STM32G051xx, STM32G050xx</li>
<li>STM32G081xx, STM32G071xx, STM32G070xx</li>
<li>STM32G041xx, STM32G031xx, STM32G030xx ## Backward Compatibility</li>
</ul>
<p>This release is compatible with the previous versions.</p>
<h2 id="dependencies-3">Dependencies</h2>
<p><br />
</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" aria-hidden="true">V1.4.2 / 17-Juin-2021</label>
<div>
<h2 id="main-changes-4">Main Changes</h2>
<h3 id="maintenance-release-4">Maintenance release</h3>
<ul>
<li><p>General updates to fix known defects and enhancements implementation.</p></li>
<li><p><strong>HAL/LL Drivers</strong> updates</p></li>
<li><strong>HAL CEC</strong> update
<ul>
<li>Update HAL_CEC_IRQHandler() API to avoid appending an extra byte to the end of a message.</li>
</ul></li>
<li><strong>HAL/LL SPI</strong> update
<ul>
<li>Fix MISRA-C 2012 Rule-13.2 error.</li>
<li>Update to set the FRXTH bit for 8bit data in LL_SPI_Init() API.</li>
<li>Update LL_SPI_TransmitData8() API to avoid casting the result to 8 bits.</li>
</ul></li>
<li><strong>HAL RCC</strong> update
<ul>
<li>Update to fix HSI48 flag definition. Add missing STM32G0C1 specific MCO prescaler values to docstring. Update GetOscConfig() API to correct wrong HSIDiv value.</li>
<li>Add new API HAL_RCC_GetResetSource() to get all reset sources and clear flags for next reset.</li>
</ul></li>
<li><strong>HAL DMA</strong> update
<ul>
<li>Update HAL_DMA_IRQHandler() API to set the DMA state before unlocking access to the DMA handle.</li>
</ul></li>
<li><strong>HAL FLASH</strong> update
<ul>
<li>Clarification comment of the program type added to the HAL_FLASH_Program() and HAL_FLASH_Program_IT() APIs.</li>
</ul></li>
<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/LL RTC</strong> update
<ul>
<li>Fix an error in IS_LL_RTC_MONTH leading to assert failure.</li>
<li>New APIs to subtract or add one hour to the calendar in one single operation without going through the initialization procedure (Daylight Saving):
<ul>
<li>HAL_RTC_DST_Add1Hour()</li>
<li>HAL_RTC_DST_Sub1Hour()</li>
<li>HAL_RTC_DST_SetStoreOperation()</li>
<li>HAL_RTC_DST_ClearStoreOperation()</li>
<li>HAL_RTC_DST_ReadStoreOperation()</li>
</ul></li>
<li>DayLightSaving and StoreOperation interfaces from RTC_TimeTypeDef type and __HAL_RTC_DAYLIGHT_SAVING_TIME_ADD1H() and __HAL_RTC_DAYLIGHT_SAVING_TIME_SUB1H() macros are now deprecated.</li>
</ul></li>
<li><strong>HAL CRYP</strong> update
<ul>
<li>Update HAL_CRYP_SetConfig() and HAL_CRYP_GetConfig() APIs to set/get the continent of KeyIVConfigSkip correctly. Resolve interrupt mode related GCM decryption issue causing wrong computation of decryption size. Update HAL_CRYP_InCpltCallback() API to fix an incorrect condition call at resumption time.</li>
<li>Update CRYP_AESCCM_Process_IT() API to manage header lengths in bytes or words when header length is less than 16 bytes.</li>
</ul></li>
<li><strong>HAL COMP</strong> update
<ul>
<li>Update wait_loop_index computation so delay in us is always multiplicated by at least value “1”.</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 RCC</strong> update
<ul>
<li>Private functions made static.</li>
<li>Add missing STM32G0C1 specific MCO prescaler values to docstring.</li>
<li>Update to fix HSI48 flag definition.</li>
<li>Update GetOscConfig() API to correct wrong HSIDiv value.</li>
<li>Add LSI startup time in default IWDG timeout calculation (HAL_IWDG_DEFAULT_TIMEOUT).</li>
<li>Add new API HAL_RCC_GetResetSource() to get all reset sources and clear flags for next reset.</li>
</ul></li>
<li><strong>HAL GPIO</strong> update
<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 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>HAL SMBUS</strong> update
<ul>
<li>Add support for Fast Mode Plus to be SMBUS Rev3 compliant.
<ul>
<li>Add HAL_SMBUSEx_EnableFastModePlus() and HAL_SMBUSEx_DisableFastModePlus() APIs to manage Fm+.</li>
</ul></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 UART</strong> update
<ul>
<li>Update HAL_UART_IRQHandler() API to handle receiver timeout interrupt.</li>
<li>Update UART receive processes (IT and DMA) to handle the UART receive’s timeout interrupt.</li>
<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>
<li>Remove an invalid FIFO mode configuration from UART_SetConfig() as it is not is not member of UART_InitTypeDef Structure.</li>
</ul></li>
<li><strong>HAL/LL USART</strong> update
<ul>
<li>Remove useless check on maximum BRR value by removing IS_LL_USART_BRR_MAX() macro.</li>
<li>LL_USART_ClockInit now supports clock phase and clock polarity configuration for SPI_Slave mode.</li>
<li>Handling of USART concurrent register access in case of race condition between Tx and Rx transfers.</li>
<li>Optimize stack usage for multiple APIs.</li>
</ul></li>
<li><strong>HAL/LL TIM</strong> update
<ul>
<li>Update LL_TIM_GetCounterMode() API to return the correct counter mode.</li>
<li>Correct reversed description of TIM_LL_EC_ONEPULSEMODE One Pulse Mode.</li>
<li>Update HAL_TIMEx_OnePulseN_Start() and HAL_TIMEx_OnePulseN_Stop() APIs (polling and IT mode) to take into consideration all OutputChannel parameters.</li>
<li>Update timeout mechanism to avoid false timeout detection in case of preemption.</li>
<li>Update input capture measurement in DMA mode to avoid zero return values at high frequencies.</li>
</ul></li>
<li><strong>HAL LPTIM</strong> update
<ul>
<li>Update HAL_LPTIM_Init() API implementation to configure digital filter for external clock when LPTIM is clocked by an internal clock source.</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>
<li>Add LSI startup time in default IWDG timeout calculation (HAL_IWDG_DEFAULT_TIMEOUT).</li>
</ul></li>
<li><strong>HAL/LL ADC</strong> update
<ul>
<li>Update wait_loop_index computation so delay in us is always multiplicated by at least value “1”.</li>
<li>Fix wrong internal regulator stabilization time to be aligned with the datasheet: 20us instead of 10us.</li>
</ul></li>
<li><strong>HAL USB</strong> update
<ul>
<li>Add fix transfer complete for IN Interrupt transaction in single buffer mode.</li>
<li>stm32g0xx_hal_hcd.h/c updated to add #if #endif pre-processor directives for devices that do not support USB DRD feature.</li>
<li>Add fix transfer complete for IN Interrupt transaction in single buffer mode.</li>
</ul></li>
</ul>
<h2 id="known-limitations-4">Known limitations</h2>
<ul>
<li>USB HAL limitation: Double buffer mode is not functional with isochronous data transfers in host mode.</li>
</ul>
<h2 id="development-toolchains-and-compilers-4">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.9</li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31</li>
<li>STM32CubeIDE toolchain v1.7.0</li>
</ul>
<h2 id="supported-devices-and-boards-4">Supported Devices and boards</h2>
<p>Supported Devices:</p>
<ul>
<li>STM32G0C1xx, STM32G0B1xx, STM32G0B0xx</li>
<li>STM32G061xx, STM32G051xx, STM32G050xx</li>
<li>STM32G081xx, STM32G071xx, STM32G070xx</li>
<li>STM32G041xx, STM32G031xx, STM32G030xx ## Backward Compatibility</li>
</ul>
<p>This release is compatible with the previous versions.</p>
<h2 id="dependencies-4">Dependencies</h2>
<p><br />
</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" aria-hidden="true">V1.4.1 / 25-February-2021</label>
<div>
<h2 id="main-changes-5">Main Changes</h2>
<h3 id="patch-release">Patch release</h3>
<p>Patch release of <strong>HAL and Low Layer</strong> drivers</p>
<p><strong>Additional features</strong></p>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;"><strong>HAL FLASH</strong> driver update to support all STM32G0C1xx devices (with 128K dual bank and mono bank)</td>
</tr>
</tbody>
</table>
<h2 id="known-limitations-5">Known limitations</h2>
<ul>
<li>USB HAL limitation: Double buffer mode is not functional with isochronous data transfers in host mode.</li>
</ul>
<h2 id="development-toolchains-and-compilers-5">Development Toolchains and Compilers</h2>
<ul>
<li>IAR Embedded Workbench for ARM (EWARM) toolchain V8.30.1</li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.29</li>
<li>STM32CubeIDE toolchain v1.5.0</li>
</ul>
<h2 id="supported-devices-and-boards-5">Supported Devices and boards</h2>
<p>Supported Devices:</p>
<ul>
<li>STM32G0C1xx, STM32G0B1xx, STM32G0B0xx</li>
<li>STM32G061xx, STM32G051xx, STM32G050xx</li>
<li>STM32G081xx, STM32G071xx, STM32G070xx</li>
<li>STM32G041xx, STM32G031xx, STM32G030xx</li>
</ul>
<h2 id="backward-compatibility-3">Backward Compatibility</h2>
<p>This release is compatible with the previous versions.</p>
<h2 id="dependencies-5">Dependencies</h2>
<p><br />
</p>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" aria-hidden="true">V1.4.0 / 29-October-2020</label>
<div>
<h2 id="main-changes-6">Main Changes</h2>
<h3 id="maintenance-release-and-product-update">Maintenance release and Product Update</h3>
<p><strong>Official release</strong> of HAL and Low layers drivers introducing <strong>STM32G0C1xx/STM32G0B1xx/STM32G0B0xx</strong> devices and <strong>STM32G061xx/STM32G051xx/STM32G050xx</strong> devices.</p>
<p>Maintenance release of HAL and Low layers drivers supporting STM32G041xx/STM32G031xx/STM32G030xx and STM32G081xx/STM32G071xx/STM32G070xx devices.</p>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">New supported IP on STM32G0C1xx/B1xx/B0xx devices</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">CRS</td>
</tr>
<tr class="even">
<td style="text-align: left;">DMA2</td>
</tr>
<tr class="odd">
<td style="text-align: left;">FDCAN</td>
</tr>
<tr class="even">
<td style="text-align: left;">FLASH DUAL BANK</td>
</tr>
<tr class="odd">
<td style="text-align: left;">USB</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr class="header">
<th>New instances/features on STM32G0C1xx/B1xx/B0xx devices (not exhaustive)</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>I2C3, SPI3, LPUART2, USART5, USART6, COMP3, TIM4, TAMPER3, WAKEUP_PIN5, MCO2, PVM/VDDIO2, HSI48</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">New supported IP on STM32G061xx/G051xx/50xx devices</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">COMP1, COMP2</td>
</tr>
<tr class="even">
<td style="text-align: left;">DAC</td>
</tr>
<tr class="odd">
<td style="text-align: left;">TIM6, TIM7, TIM15</td>
</tr>
</tbody>
</table>
<p><strong>Fixed bug list</strong></p>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Headline</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">[Codespell] Correct misspelled words in HAL/LL drivers</td>
</tr>
<tr class="even">
<td style="text-align: left;">[ADC] Typo correction in comments</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[ADC] HAL ADC value from channel TempSensor wrong at 1st read</td>
</tr>
<tr class="even">
<td style="text-align: left;">[ADC] LL [GithHub][HAL_LL] Issue with ‘register’ storage class specifier, should be removed</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[ADC] ADC must manage CCRDY flag during configuration</td>
</tr>
<tr class="even">
<td style="text-align: left;">[ADC] Robustness improvement - Parameter SequencerLength can be discarded depending on sequencer config</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[ADC] Create two functions to ease configuration of internal channels</td>
</tr>
<tr class="even">
<td style="text-align: left;">[ADC] ADC AUTDLY and DMA</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[COMP] LL [GithHub][HAL_LL] Issue with ‘register’ storage class specifier, should be removed</td>
</tr>
<tr class="even">
<td style="text-align: left;">[COMP] Improve PDF document generation</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[COMP] HAL wrong PINS described in comment for COMPx_INM</td>
</tr>
<tr class="even">
<td style="text-align: left;">[COMP] Fix MISRA C 2012 issues : MISRAC2012-Rule-10.4</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[CRYP] Correction for Official NIST CCM test pattern enciphering failing when header length is null</td>
</tr>
<tr class="even">
<td style="text-align: left;">[CRYP] GCM/GMAC/CCM data header feed in DMA mode</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[CRYP] Fix CRYP HAL driver to manage GCM header lengths not multiple of 4 bytes in 8-bit, 16-bit and 32-bit data types.</td>
</tr>
<tr class="even">
<td style="text-align: left;">[CRYP] GCM: handling of AUD with size not multiple of 4 bytes not properly handle in CRYP_AESGCM_Process_IT</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[CRYP] Misleading API comments related to data length</td>
</tr>
<tr class="even">
<td style="text-align: left;">[CRYP] Restriction regarding size field on HAL_CRYP_Encrypt_DMA, HAL_CRYP_Decrypt_DMA API</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[CRYP][Doc] Move ASCII table outside the files header</td>
</tr>
<tr class="even">
<td style="text-align: left;">[CRYP] Code Sonar issue detected in HAL_CRYP_Resume</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[CRYP] Resumption issue when an authentication algorithm suspends another authentication algorithm</td>
</tr>
<tr class="even">
<td style="text-align: left;">[CRYP] Payloads sum not saved in case of suspend / resume of GCM ciphering - <strong>API update</strong></td>
</tr>
<tr class="odd">
<td style="text-align: left;">[CRYP] AES GCM: Need to support data encrypt/decrypt with length not multiple of 16 bytes - <strong>API update</strong></td>
</tr>
<tr class="even">
<td style="text-align: left;">[CRYP] AES GCM: handling of ADD with size not multiple of 4 bytes - <strong>API update</strong></td>
</tr>
<tr class="odd">
<td style="text-align: left;">[CRYP][MISRA C:2012] Fix warnings affecting rules 2.2_c, 10.1_R6, 10.3, 10.4_a, 10.6, 12.1, 13.5 15.7 - <strong>API update</strong></td>
</tr>
<tr class="even">
<td style="text-align: left;">[CRS] Wrong value for CRS_HSI48CALIBRATION_DEFAULT</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[DMA] LOCK UNLOCK process to modify, as LOCK is done at Start and UNLOCK is done at Completion processus</td>
</tr>
<tr class="even">
<td style="text-align: left;">[DMA] Exti interrupt doesn’t need to be enabled when it used as the DMAMUX synchronization</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[DMAMUX] correct warning during chm generation</td>
</tr>
<tr class="even">
<td style="text-align: left;">[DMA] LL_DMA_ClearFlag_GIx : add text informing user not to clear GIx when channel on</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[DMA] two requests are missing for TIM16 and TIM17 (i.e. renaming according to RM)</td>
</tr>
<tr class="even">
<td style="text-align: left;">[EXTI] Use of <strong>LINE</strong> as a macro parameter conflicts with standard C usage</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[FLASH] Correction in macro __HAL_FLASH_GET_FLAG</td>
</tr>
<tr class="even">
<td style="text-align: left;">[FLASH] Use CMSIS feature switches instead of devices switches to define OPTIONBYTE_ALL & OB_USER_ALL</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[FLASH] Wrong ECC management in HAL FLASH driver</td>
</tr>
<tr class="even">
<td style="text-align: left;">[FLASH] Move FLASH_SIZE define from hal flash.h to cmsis device file</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[G0 512K][FLASH] Remove <strong>FLASH_FLAG_ALL_ERRORS</strong></td>
</tr>
<tr class="even">
<td style="text-align: left;">[G0 512K][FLASH] <strong>Add new API for dual bank, new option bytes</strong></td>
</tr>
<tr class="odd">
<td style="text-align: left;">[G0 512K][FLASH] <strong>Update to handle swap bank in pcrop config and implement sticky2 area</strong></td>
</tr>
<tr class="even">
<td style="text-align: left;">[HAL] Replace devices switches by CMSIS feature switch when possible</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[HAL] Add FDCAN & USB (HCD/PCD) inclusion in hal_conf_template.h</td>
</tr>
<tr class="even">
<td style="text-align: left;">[HAL] HAL - Tick priority handling in HAL_Init_Tick() is TIM/RTC time base template</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[HAL] [McuAStyle] - HAL and LL code update for obvious rules violation</td>
</tr>
<tr class="even">
<td style="text-align: left;">[LL GENERIC] Support of new ARM compiler Keil V6 (AC5-like warnings mode)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[HAL GENERIC] Use all G0 Family common Timer in stm32g0xx_hal_timebase_tim_template.h</td>
</tr>
<tr class="even">
<td style="text-align: left;">[HAL GENERIC] Correct regression on HAL_SetTickFreq</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[HAL GENERIC][MISRA C 2012] uwTickFreq cast in (uint32_t) in HAL_InitTick() to avoid MISRA issue</td>
</tr>
<tr class="even">
<td style="text-align: left;">[HAL GENERIC] <strong>Add new API HAL_GET_PENDING_IT() to determine interrupt source per line</strong></td>
</tr>
<tr class="odd">
<td style="text-align: left;">[GPIO] HAL - Update initialization sequence in HAL_GPIO_Init to avoid a glitch (Sw workaround)</td>
</tr>
<tr class="even">
<td style="text-align: left;">[GPIO] LL - LL_GPIO_Init() generate undesired pulse</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[GPIO] HAL - bug on HAL_GPIO_TogglePin: doesn’t allow toggle multiple pin</td>
</tr>
<tr class="even">
<td style="text-align: left;">[GPIO-LL] Correct issue with LL_GPIO_TogglePin function</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[GPIO] HAL_GPIO_DeInit() bug on EXTI management</td>
</tr>
<tr class="even">
<td style="text-align: left;">[I2C] LL - [GithHub][HAL_LL] Issue with ‘register’ storage class specifier, should be removed</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[I2C] I2C slave interrupt handling issue</td>
</tr>
<tr class="even">
<td style="text-align: left;">[I2C][MISRAC2012-Rule-2.2_c] Value assigned to variable `tmpITFlags’ is never used</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[I2C] Incorrectly enable interrupts in I2C_Enable_IRQ routine when InterruptRequest = I2C_XFER_CPLT_IT</td>
</tr>
<tr class="even">
<td style="text-align: left;">[I2C] HardFault in I2C_DMAXferCplt</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[I2C] Sequential transfer MAX_NBYTE_SIZE correspond to no reload</td>
</tr>
<tr class="even">
<td style="text-align: left;">[I2C] Correct compilation Warning: variable "tmp" was set but never used</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[I2C][CHM generation] <span class="citation" data-cites="ref">@ref</span> IS_xxx macro can’t be resolved since CMSIS file is not included</td>
</tr>
<tr class="even">
<td style="text-align: left;">[IWDG] LL - IWDG start-up timeout insufficiently low</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[LPTIM] Digital filter for external clock should be configured also when LPTIM is clocked by an internal clock source</td>
</tr>
<tr class="even">
<td style="text-align: left;">[LPTIM] <strong>LPTIM related EXTI interrupts should be handled from within the driver</strong></td>
</tr>
<tr class="odd">
<td style="text-align: left;">[PWR] <strong>HAL PVD API should me moved to extension file</strong></td>
</tr>
<tr class="even">
<td style="text-align: left;">[PWR] PWR_WAKEUP_PIN5 should be defined only if PWR_CR3_EWUP5 is defined</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[RCC] RCC_CCIPR2_USBFSSEL renaming in RCC_CCIPR2_USBSEL</td>
</tr>
<tr class="even">
<td style="text-align: left;">[RCC] Improve CHM/PDF Document generation</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[RCC] LL - <strong>Add API LL_RCC_PLL_ConfigDomain_FDCAN(), LL_RCC_PLL_EnableDomain_FDCAN(), LL_RCC_PLL_DisableDomain_FDCAN()</strong></td>
</tr>
<tr class="even">
<td style="text-align: left;">[RCC] LL - STM32G0xx_ll_rcc.h bug with ADC clock selection</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[RCC] LL - <strong>FW is missing some RCC LL defines for due to addition of RCC_CFGR_MCOPRE_3 & RCC_CFGR_MCOSEL_3 bits</strong></td>
</tr>
<tr class="even">
<td style="text-align: left;">[RCC] HAL - stm32g0xx_hal_rcc_ex.h #if (macro) -> #if defined(macro)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[RCC] HAL [MISRA C 2012] Correction for new warning MISRAC2012-Rule-15.7</td>
</tr>
<tr class="even">
<td style="text-align: left;">[RCC] <strong>RCC_CCIPR2_CK48MSEL renaming in RCC_CCIPR2_USBFSSEL</strong></td>
</tr>
<tr class="odd">
<td style="text-align: left;">[RCC] [McuAStyle] - HAL and LL code update for obvious rules violation</td>
</tr>
<tr class="even">
<td style="text-align: left;">[RTC] LL/HAL - Issue with ‘register’ storage class specifier, should be removed</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[RCC] Constants <strong>RCC_CFGR_</strong> shall be removed from CMSIS</td>
</tr>
<tr class="even">
<td style="text-align: left;">[RTC] wrong reference to RTC, use RTCx instead</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[RTC] Correct RTC_HOURFORMAT12_PM definition</td>
</tr>
<tr class="even">
<td style="text-align: left;">[RTC] Correction in HAL_RTC_GetAlarm() - wrong shift mask used to get TimeFormat</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[RTC] Correction in HAL_RTCEx_TimeStampIRQHandler()</td>
</tr>
<tr class="even">
<td style="text-align: left;">[SMARTCARD] HAL - No repetition after NACK is received in smartcard T=0</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[SMARTCARD] remove SMARTCARD default PCLK1 clock source on USART2, since USART2 is a basic instance with no SMARTCARD.</td>
</tr>
<tr class="even">
<td style="text-align: left;">[SMBUS] Implement SMBus "wrong PEC" fix in driver</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[SMBUS] [MISRAC2012] struct __SMBUS_HandleTypeDef is wrongly used in all static functions</td>
</tr>
<tr class="even">
<td style="text-align: left;">[SPI] Problematic timeout management inside SPI DMA xfer complete handler (interrupt context)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[SPI] Correct problematic timeout management inside SPI DMA xfer complete handler (interrupt context)</td>
</tr>
<tr class="even">
<td style="text-align: left;">[SPI] HAL - Issue in 3wires communication (Need Disable / Enable SPI</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[SPI] HAL - BaudRatePrescaler: Assert must not be call in Slave Motorola mode + Add Mask</td>
</tr>
<tr class="even">
<td style="text-align: left;">[SPI] HAL - SPI Tx DMA request is disabled in Rx DMA transfer complete callback function</td>
</tr>
<tr class="odd">
<td style="text-align: left;">[SPI] HAL - [I2S] HAL_I2S_DMAStop doesn’t check the BSY flag as described in RM0390</td>
</tr>
<tr class="even">
<td style="text-align: left;">[SPI] HAL - MISRA C 2012 - regression on I2S</td>