-
Notifications
You must be signed in to change notification settings - Fork 63
/
Release_Notes.html
4731 lines (4731 loc) · 233 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 STM32CubeF0 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]-->
</head>
<body>
<div class="row">
<div class="col-sm-12 col-lg-4">
<center>
<h1 id="release-notes-for-stm32cubef0-firmware-package"><strong>Release Notes for STM32CubeF0 Firmware Package</strong></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><strong>STMCube is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost</strong>. STM32Cube covers STM32 portfolio.</p>
<p>STM32Cube Version 1.x includes:</p>
<ul>
<li>The STM32CubeMX, a graphical software configuration tool that allows to generate C initialization code using graphical wizards.</li>
<li><strong>A comprehensive embedded software platform, delivered per series (such as STM32CubeF0 for STM32F0 series)</strong></li>
<li><strong>The STM32Cube HAL, an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio</strong></li>
<li><strong>A consistent set of middleware components such as RTOS, USB, TCP/IP, Graphics, FatFS</strong></li>
<li><p><strong>All embedded software utilities come with a full set of examples.</strong></p></li>
<li><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 <img src="_htmresc/STM32Cube_2020.bmp" alt="STM32Cube architecture" /></p></li>
</ul>
<p>The <strong>HAL (Hardware Abstraction Layer)</strong> drivers provided within this package <strong>supports</strong> the following <strong>STM32F030x4/x6/x8/xC, STM32F031x4/x6, STM32F051x4/x6/x8, STM32F070x6/xB, STM32F071x8/xB, STM32F042x4/x6, STM32F072x8/xB, STM32F091xC, STM32F038xx, STM32F048xx, STM32F058xx, STM32F078xx and STM32F098xx devices.</strong></p>
<ul>
<li>For <strong>quick getting started with the STM32CubeF0 firmware package</strong>, refer to <a href="Documentation/STM32CubeF0GettingStarted.pdf">UM1779</a> you can download firmware updates and all the latest documentation from <a href="https://www.st.com/en/embedded-software/stm32cube-mcu-mpu-packages.html?sc=stm32cubefw">www.st.com/stm32cubefw</a></li>
<li>Below <strong>links to the most useful documents</strong>
<ul>
<li><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00119724.pdf">UM1779</a>: Getting started with STM32CubeF0 for STM32F0 Series.</li>
<li><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00122015.pdf">UM1785</a>: Description of STM32F0xx HAL drivers.</li>
<li><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00105256.pdf">UM1720</a>: STM32Cube USB device library</li>
<li><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00108129.pdf">UM1734</a>: STM32Cube USB host library</li>
<li><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</li>
<li><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</li>
<li><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00103685.pdf">UM1713</a>: Developing applications on STM32Cube with LwIP TCP/IP stack</li>
<li><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00122017.pdf">UM1787</a>: STM32CubeF0 Nucleo demonstration firmware.</li>
<li><a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00134527.pdf">UM1819</a>: Demonstration firmware for STM32091C-EVAL board</li>
</ul></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-section11_5" checked aria-hidden="true"> <label for="collapse-section11_5" aria-hidden="true"><strong>V1.11.5 / 29-March-2024</strong></label>
<div>
<h1 id="maintenance-release">Maintenance release</h1>
<h2 id="main-changes">Main Changes</h2>
<ul>
<li><p>Patch release to fix known defects and enhancements implementation.</p></li>
<li><strong>HAL</strong> updates
<ul>
<li><strong>HAL Generic</strong> update
<ul>
<li>Add missing call to UNUSED() macro to avoid compilation warnings related to the unused arguments for the following HAL drivers: <strong>CORTEX, RCC</strong></li>
<li>HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers.</li>
</ul></li>
<li><strong>HAL GPIO</strong>
<ul>
<li>Replace GPIO_Pin_x with GPIO_PIN_x to be compliant with macros definition</li>
</ul></li>
<li><strong>LL/HAL RTC_BKP</strong>
<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>Correct misleading note about shadow registers</li>
</ul></li>
<li><strong>LL/HAL ADC</strong>
<ul>
<li>In function LL_ADC_DeInit(), remove useless action of conversion trigger change. Moreover, this action was not compliant with ADC enable state (cf reference manual).</li>
<li>Update description of LL_ADC_REG_ReadConversionData32()</li>
</ul></li>
<li><strong>LL/HAL I2C</strong> update
<ul>
<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 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>In function HAL_I2C_IsDeviceReady, remove the unusable code.</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 the HAL I2C driver to implement the errata workaround "Last-received byte loss in reload mode"</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>
<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 UART</strong>
<ul>
<li>Update initialisation sequence for TXINV, RXINV and TXRXSWAP settings</li>
<li>Fix check on UART Rx state in HAL_UART_RegisterRxEventCallback() and HAL_UART_UnRegisterRxEventCallback() to allow user Rx Event Callback registration when a transmission is ongoing</li>
<li>Prevent RTOF flag from being cleared by a transmit process in polling mode.</li>
</ul></li>
<li><strong>HAL SPI</strong>
<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>
</ul></li>
<li><strong>HAL I2S</strong>
<ul>
<li>Update HAL I2S driver to fix misplaced __HAL_LOCK and remove ‘go to’ instruction</li>
</ul></li>
<li><strong>LL/HAL TIM</strong>
<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>Improved period configuration parameter check</li>
<li>Update interrupt flag is cleared when the update event is generated by software</li>
<li>Remove unnecessary change of MOE bitfield in LL_TIM_BDTR_Init()</li>
<li>LL_TIM UM generation fix</li>
<li>User manual quality improvement</li>
<li>MISRA warning fix</li>
<li>Add LL_TIM_CC_IsEnabledPreload() function</li>
<li>Add system break interrupt handling in IRQ handler</li>
<li>Make APIs HAL_TIMEx_OCN_Stop_IT() and HAL_TIMEx_PWMN_Stop_IT() more generic</li>
<li>Assert check for the right channels</li>
<li>Improve CH4N support handling</li>
</ul></li>
<li><strong>LL UTILS</strong>
<ul>
<li>Fix ‘Ticks’ parameter’s description of LL_InitTick() function.</li>
</ul></li>
<li><strong>HAL CAN</strong>
<ul>
<li>Remove mention of ‘open-drain’ from the pin configuration paragraph in the ‘How to use’ section</li>
<li>Put __CAN_HandleTypeDef definition under a compilation condition to avoid MISRAC2012-Rule-2.4 violation<br />
</li>
</ul></li>
</ul></li>
<li><strong>Project</strong> updates
<ul>
<li><strong>Examples</strong>
<ul>
<li>Update STM32F030R8-Nucleo Demo configuration to fix flashing error.</li>
<li>Update “I2C_EEPROM” example to be aligned with HAL_I2C_IsDeviceReady() API returned value: HAL_I2C_IsDeviceReady() API is no more returning HAL_TIMEOUT.</li>
</ul></li>
<li><strong>Demonstrations</strong>
<ul>
<li>Remove the useless file reference "“stm32091c_eval_cec.c”" from STM32091C_EVAL demonstrations.</li>
</ul></li>
</ul></li>
<li><strong>BSP</strong> updates
<ul>
<li>I3G4250D Component: Update disclaimer to add reference to the new license agreement.</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: center;">Version</th>
<th style="text-align: center;">Release note</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;"><strong>STM32F0xx HAL</strong></td>
<td style="text-align: center;"><strong>V1.7.8</strong></td>
<td style="text-align: center;"><a href="Drivers/STM32F0xx_HAL_Driver/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP Components i3g4250d</strong></td>
<td style="text-align: center;"><strong>V1.0.1</strong></td>
<td style="text-align: center;"><a href="Drivers/BSP/Components/i3g4250d/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
<p><br />
</p>
<h2 id="known-limitations">Known Limitations</h2>
<ul>
<li>None</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>+ ST-Link</li>
<li>RealView Microcontroller Development Kit (MDK-ARM) toolchain <strong>V5.38</strong> (or upper) + ST-LINK, pack available here:
<ul>
<li><a href="https://www.keil.com/dd2/Pack/">www.keil.com/dd2/Pack/</a> (Section : STMicroelectronics STM32F0 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>
<h2 id="supported-devices-and-eval-boards">Supported Devices and EVAL boards</h2>
<ul>
<li>All STM32F030, STM32F070, STM32F0x1, STM32F0x2 and STM32F0x8 product lines devices are supported.</li>
<li>Discovery boards: STM32F072B-Discovery RevC (MB1076), STM32F0308-Discovery RevA (MB1134)</li>
<li>Nucleo boards: STM32F070RB_Nucleo, STM32F072RB-Nucleo, STM32F091RC-Nucleo, STM32F030R8-Nucleo RevC (MB1136)</li>
<li>Nucleo32 boards: STM32F031K6-Nucleo, STM32F042K6-Nucleo RevC (MB1180)</li>
<li>Evaluation boards: STM32072B-EVAL RevB (MB1070), STM32091C-EVAL RevB (MB1169)</li>
</ul>
<h2 id="backward-compatibility">Backward Compatibility</h2>
<ul>
<li>None</li>
</ul>
<h2 id="dependencies">Dependencies</h2>
<ul>
<li>None</li>
</ul>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section11_4" aria-hidden="true"> <label for="collapse-section11_4" aria-hidden="true"><strong>V1.11.4 / 27-January-2023</strong></label>
<div>
<h1 id="maintenance-release-1">Maintenance release</h1>
<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.<br />
</li>
<li><strong>CMSIS</strong> updates
<ul>
<li>Update GCC startup files to call SystemInit() API in beginning of Reset_Handler() API to be aligned with IAR/MDK-ARM implementation.</li>
<li>Fix inconsistent IRQn_Type enumeration for supervisor call exception with alias for compatibility</li>
<li>Add support for HSI48 in SystemCoreClockUpdate.</li>
<li>stm32f030xc.h header file update:
<ul>
<li>Revert change done in V2.3.5 on RCC_CFGR bits definition.</li>
<li>RCC_CFGR bits description will be updated in documentation: RM0360.<br />
</li>
</ul></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>
</ul></li>
<li><strong>HAL GENERIC</strong> update
<ul>
<li>Allow redefinition of macro UNUSED(x).</li>
</ul></li>
<li><strong>HAL RCC</strong> update
<ul>
<li>Add a static storage class specifier in the const tables.</li>
</ul></li>
<li><strong>HAL GPIO</strong> update
<ul>
<li>Reorder EXTI configuration sequence to avoid unexpected level detection.</li>
</ul></li>
<li><strong>HAL EXTI</strong> update
<ul>
<li>Fix computation of pExtiConfig->GPIOSel in the HAL_EXTI_GetConfigLine() API.</li>
</ul></li>
<li><strong>HAL CRC</strong> update
<ul>
<li>Add filter in HAL_CRCEx_Polynomial_Set() to exclude even polynomials.</li>
<li>Update HAL_CRC_DeInit implementation to avoid overflow issues in CRC_IDR_IDR.</li>
</ul></li>
<li><strong>HAL ADC</strong> update
<ul>
<li>Remove multiple volatile reads or writes in interrupt handler for better performance.</li>
</ul></li>
<li><strong>LL/HAL TIM</strong> update
<ul>
<li>Manage configuration of the Capture/compare DMA request source
<ul>
<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>
</ul></li>
<li>Update __LL_TIM_CALC_PSC() macro to round up the evaluated value when the fractional part of the division is greater than 0.5.</li>
</ul></li>
<li><strong>HAL RTC_BKP</strong> update
<ul>
<li>Move constants RTC_IT_TAMP from hal_rtc.h to hal_rtc_ex.h.</li>
<li>Use bits definitions from CMSIS Device header file instead of hard-coded values.</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 TAFCR register in one single access instead of two.</li>
<li>Avoid modifying user structure sTamper.</li>
</ul></li>
<li>Add a check on the RTC calendar initialization before entering in initialization mode.</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>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 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>Add const qualifier for read only pointers.</li>
<li>Fix wrong cast when computing the USARTDIV value in UART_SetConfig().</li>
<li>Correct the way transmit data flush request is managed.</li>
<li>Removal of HAL_LOCK/HAL_UNLOCK calls in HAL UART Tx and Rx APIs</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>
</ul></li>
<li><strong>LL/HAL 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>Fix compilation warnings generated with ARMV6 compiler.</li>
</ul></li>
<li><strong>HAL SMARTCARD</strong> update
<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>LL/HAL I2C</strong> update
<ul>
<li>Improve header description of I2C_WaitOnFlagUntilTimeout() function.</li>
<li>Rename I2C_IsAcknowledgeFailed() I2C_IsErrorOccurred() and correct the way errors are checked and reported when they occur in polling mode.
<ul>
<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>
</ul></li>
<li>Clear the ADDRF flag only when direction is confirmed as changed, to prevent that the ADDRF flag is cleared too early when the restart is received.</li>
<li>Fix timeout issue using HAL MEM interface through FreeRTOS.</li>
<li>I2C_IsErrorOccurred does not return error if timeout is detected.</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 the issue of mismatching 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.</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 CAN</strong> update
<ul>
<li>Removal of never reached code.</li>
<li>Improve protection against bad inputs.</li>
</ul></li>
<li><strong>HAL CEC</strong> update
<ul>
<li>Remove multiple volatile reads or writes in interrupt handler for better performance.</li>
</ul></li>
<li><strong>USB_FS_HAL</strong> update
<ul>
<li>PCD: add supporting multi packets transfer on Interrupt endpoint.</li>
<li>Set DCD timeout to a 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.<br />
</li>
</ul></li>
<li><strong>Project</strong> update
<ul>
<li><strong>Examples</strong>
<ul>
<li>Update CRC LL examples to fix incorrect bytes stream handling.</li>
</ul></li>
<li><strong>Applis_MW_ST_USB</strong>
<ul>
<li>Removal of the BCD bus stabilization delay</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: center;">Version</th>
<th style="text-align: center;">Release note</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;"><strong>STM32F0xx CMSIS</strong></td>
<td style="text-align: center;"><strong>V2.3.7</strong></td>
<td style="text-align: center;"><a href="Drivers/CMSIS/Device/ST/STM32F0xx/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>STM32F0xx HAL</strong></td>
<td style="text-align: center;"><strong>V1.7.7</strong></td>
<td style="text-align: center;"><a href="Drivers/STM32F0xx_HAL_Driver/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP STM32F072B-Discovery</strong></td>
<td style="text-align: center;"><strong>V2.1.8</strong></td>
<td style="text-align: center;"><a href="Drivers/BSP/STM32F072B-Discovery/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP STM32F0xx-Nucleo</strong></td>
<td style="text-align: center;"><strong>V1.1.7</strong></td>
<td style="text-align: center;"><a href="Drivers/BSP/STM32F0xx-Nucleo/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP STM32F0xx_Nucleo_32</strong></td>
<td style="text-align: center;"><strong>V1.0.5</strong></td>
<td style="text-align: center;"><a href="Drivers/BSP/STM32F0xx_Nucleo_32/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP STM32F072B-Discovery</strong></td>
<td style="text-align: center;"><strong>V2.1.8</strong></td>
<td style="text-align: center;"><a href="Drivers/BSP/STM32F072B-Discovery/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP STM32F0308-Discovery</strong></td>
<td style="text-align: center;"><strong>V2.0.6</strong></td>
<td style="text-align: center;"><a href="Drivers/BSP/STM32F0308-Discovery/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>BSP STM32072B_EVAL</strong></td>
<td style="text-align: center;"><strong>V2.1.9</strong></td>
<td style="text-align: center;"><a href="Drivers/BSP/STM32072B_EVAL/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;"><strong>BSP STM32091C_EVAL</strong></td>
<td style="text-align: center;"><strong>v2.0.8</strong></td>
<td style="text-align: center;"><a href="Drivers/BSP/STM32091C_EVAL/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>
<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 (or upper) + ST-LINK, pack available here:
<ul>
<li><a href="https://www.keil.com/dd2/Pack/">www.keil.com/dd2/Pack/</a> (Section : STMicroelectronics STM32F0 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>
<h2 id="supported-devices-and-eval-boards-1">Supported Devices and EVAL boards</h2>
<ul>
<li>All STM32F030, STM32F070, STM32F0x1, STM32F0x2 and STM32F0x8 product lines devices are supported.</li>
<li>Discovery boards: STM32F072B-Discovery RevC (MB1076), STM32F0308-Discovery RevA (MB1134)</li>
<li>Nucleo boards: STM32F070RB_Nucleo, STM32F072RB-Nucleo, STM32F091RC-Nucleo, STM32F030R8-Nucleo RevC (MB1136)</li>
<li>Nucleo32 boards: STM32F031K6-Nucleo, STM32F042K6-Nucleo RevC (MB1180)</li>
<li>Evaluation boards: STM32072B-EVAL RevB (MB1070), STM32091C-EVAL RevB (MB1169)</li>
</ul>
<h2 id="backward-compatibility-1">Backward Compatibility</h2>
<ul>
<li>None</li>
</ul>
<h2 id="dependencies-1">Dependencies</h2>
<ul>
<li>None</li>
</ul>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section11_3" aria-hidden="true"> <label for="collapse-section11_3" aria-hidden="true"><strong>V1.11.3 / 23-July-2021</strong></label>
<div>
<h1 id="maintenance-release-2">Maintenance release</h1>
<h2 id="main-changes-2">Main Changes</h2>
<ul>
<li><p>Patch release to fix known defects and enhancements implementation.</p></li>
<li><strong>CMSIS</strong> updates
<ul>
<li>CAN updates
<ul>
<li>Remove extra CAN filters: bit fields 14..27</li>
</ul></li>
<li>Added new atomic register access macros in stm32f0xx.h file.</li>
<li>Add new defined value for LSI maximum startup time: LSI_STARTUP_TIME.</li>
</ul></li>
<li><strong>HAL</strong> updates
<ul>
<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 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>LL/HAL ADC</strong> update
<ul>
<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>LL/HAL DAC</strong> update
<ul>
<li>Remove ‘register’ storage class specifier from LL DAC driver.</li>
</ul></li>
<li><strong>LL/HAL TIM</strong> update
<ul>
<li>Corrected reversed description of TIM_LL_EC_ONEPULSEMODE One Pulse Mode.</li>
<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>
</ul></li>
<li><strong>HAL I2C</strong> update
<ul>
<li>Updated I2C_IsAcknowledgeFailed() API to avoid I2C in busy state if NACK received after transmitting register address.</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 CAN</strong> update
<ul>
<li>Update HAL_CAN_Init() API to be aligned with STM32F3 documentation and to avoid timeout error:
<ul>
<li>Update CAN Initialization sequence to set “request initialization” bit before exit from sleep mode.</li>
</ul></li>
</ul></li>
<li><strong>LL FMC</strong> update
<ul>
<li>Fix compilation warning with gcc -Wpedantic compiler option.</li>
</ul></li>
<li><strong>HAL SPI</strong> update
<ul>
<li>Updated to fix MISRA-C 2012 Rule-13.2.</li>
<li>Updated 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 I2S</strong> update
<ul>
<li>Update I2SEx APIs to correctly support circular transfers:
<ul>
<li>Update I2SEx_TxRxDMACplt() API to manage DMA circular mode.</li>
<li>Update HAL_I2SEx_TransmitReceive_DMA() to enhance HAL I2S driver robustness:
<ul>
<li>Remove DMA TX transfer complete and half complete callback initialization.</li>
</ul></li>
</ul></li>
</ul></li>
<li><strong>HAL IWDG</strong> update
<ul>
<li>Updated HAL_IWDG_Init() API in order to fix HAL_GetTick() timeout vulnerability issue.</li>
</ul></li>
<li><strong>HAL RTC</strong> update
<ul>
<li>Update __HAL_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>
</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 NAND</strong> update
<ul>
<li>Update implementation of “HAL_NAND_Read_SpareArea_16b” and “HAL_NAND_Write_SpareArea_16b” to fix an issue with the spare area Column address calculation</li>
<li>Update implementation of “HAL_NAND_Write_Page_16b” and “HAL_NAND_Read_Page_16b” APIs implementation to fix an issue with the page calculation of 8 bits memories</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> updates
<ul>
<li>Examples
<ul>
<li>General updates to fix compilation warnings with gcc v9.</li>
<li>Updated examples and applications to avoid clearing DMA using global flag GIFx.</li>
</ul></li>
</ul></li>
<li><p>For the complete list of changes, please refer to the release notes of each firmware component</p></li>
</ul>
<h2 id="contents">Contents</h2>
<ul>
<li>The STM32CubeF0 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with pre-configured projects for the main supported toolchains. The exhaustive list of projects is provided in this table <a href="Projects/STM32CubeProjectsList.html">STM32CubeProjectsList.html</a>.</li>
<li>Projects release notes
<ul>
<li>STM32F030R8-Nucleo
<ul>
<li>Applications <a href="Projects\STM32F030R8-Nucleo\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F030R8-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F030R8-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F030R8-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F030R8-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F031K6-Nucleo
<ul>
<li>Demonstrations <a href="Projects\STM32F031K6-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F031K6-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F031K6-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F031K6-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F042K6-Nucleo
<ul>
<li>Demonstrations <a href="Projects\STM32F042K6-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F042K6-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F042K6-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F042K6-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F070RB-Nucleo
<ul>
<li>Applications <a href="Projects\STM32F070RB-Nucleo\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F070RB-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F070RB-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F070RB-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F070RB-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F072B-Discovery
<ul>
<li>Applications <a href="Projects\STM32F072B-Discovery\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F072B-Discovery\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F072B-Discovery\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F072B-Discovery\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F072B-Discovery\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F072RB-Nucleo
<ul>
<li>Applications <a href="Projects\STM32F072RB-Nucleo\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F072RB-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F072RB-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Examples_LL <a href="Projects\STM32F072RB-Nucleo\Examples_LL\Release_Notes.html">release notes</a></li>
<li>Examples_MIX <a href="Projects\STM32F072RB-Nucleo\Examples_MIX\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F072RB-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F072RB-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F091RC-Nucleo
<ul>
<li>Applications <a href="Projects\STM32F091RC-Nucleo\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F091RC-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F091RC-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F091RC-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F091RC-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F0308-Discovery
<ul>
<li>Applications <a href="Projects\STM32F0308-Discovery\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F0308-Discovery\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F0308-Discovery\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F0308-Discovery\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F0308-Discovery\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32072B_EVAL
<ul>
<li>Applications <a href="Projects\STM32072B_EVAL\Applications\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32072B_EVAL\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32072B_EVAL\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32072B_EVAL\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32091C_EVAL
<ul>
<li>Applications <a href="Projects\STM32091C_EVAL\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32091C_EVAL\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32091C_EVAL\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32091C_EVAL\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32091C_EVAL\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
</ul></li>
</ul>
<h2 id="contents-1">Contents</h2>
<table>
<caption>Drivers</caption>
<thead>
<tr class="header">
<th style="text-align: left;">Name</th>
<th style="text-align: center;">Version</th>
<th style="text-align: center;">Release note</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;"><strong>STM32F0xx CMSIS</strong></td>
<td style="text-align: center;"><strong>V2.3.6</strong></td>
<td style="text-align: center;"><a href="Drivers/CMSIS/Device/ST/STM32F0xx/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;"><strong>STM32F0xx HAL</strong></td>
<td style="text-align: center;"><strong>V1.7.6</strong></td>
<td style="text-align: center;"><a href="Drivers/STM32F0xx_HAL_Driver/Release_Notes.html">release notes</a></td>
</tr>
<tr class="odd">
<td style="text-align: left;">BSP STM32F072B-Discovery</td>
<td style="text-align: center;">V2.1.7</td>
<td style="text-align: center;"><a href="Drivers/BSP/STM32F072B-Discovery/Release_Notes.html">release notes</a></td>
</tr>
<tr class="even">
<td style="text-align: left;">BSP Components i3g4250d</td>
<td style="text-align: center;">V1.0.0</td>
<td style="text-align: center;"><a href="Drivers/BSP/Components/i3g4250d/Release_Notes.html">release notes</a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section11_2" aria-hidden="true"> <label for="collapse-section11_2" aria-hidden="true"><strong>V1.11.2 / 06-November-2020</strong></label>
<div>
<h1 id="maintenance-release-3">Maintenance release</h1>
<h2 id="main-changes-3">Main Changes</h2>
<ul>
<li>Patch release to fix known defects and enhancements implementation.</li>
<li>Remove “register” keyword to be compliant with new C++ rules:
<ul>
<li>The register storage class specifier was deprecated in C++11 and removed in C++17</li>
</ul></li>
<li>Update STM32F072B-Discovery Demo to support new MEMS gyroscope component: <strong>I3G4250D</strong>.</li>
<li><p>EEPROM_Emulation application alignment with X-CUBE-EEPROM package.</p></li>
<li><strong>CMSIS</strong>
<ul>
<li>Update stm32f030xc.h header file to be aligned with RCC_CFGR bit definition.</li>
<li>Rename the defined STM32 sub-family “STM32F048x6” to “STM32F048xx”</li>
<li>Add License.md and Readme.md files required for GitHub publication.</li>
</ul></li>
<li><strong>HAL</strong>
<ul>
<li><strong>HAL</strong> driver update
<ul>
<li>Add new defines for ARM compiler V6:
<ul>
<li>__weak</li>
<li>__packed</li>
<li>__NOINLINE</li>
</ul></li>
<li>Remove compile switch “USE_HAL_LEGACY” on #include “Legacy/stm32_hal_legacy.h”</li>
<li>Update HAL TimeBase TIM, RTC alarm and RTC WakeUp templates for more robustness
<ul>
<li>Update HAL_InitTick() API to properly store the priority when using the non-default time base.</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 CEC</strong> update
<ul>
<li>Update HAL_CEC_IRQHandler() API to avoid appending an extra byte to the end of message.</li>
</ul></li>
<li><strong>HAL TSC</strong> update
<ul>
<li>Update the HAL_TSC_Init() API to add new check condition on “PulseGeneratorPrescaler” Parameter</li>
</ul></li>
<li><strong>HAL FLASH</strong> update
<ul>
<li>Update FLASH_OB_DisableWRP() API to remove write protection on selected sectors instead of all sectors.</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 RTC</strong> update
<ul>
<li>Update to support Daylight Saving Time (DST) feature:
<ul>
<li>Subtract or add one hour to the calendar can now be handled outside HAL_RTC_SetTime() thanks to new APIs.
<ul>
<li>HAL_RTC_DST_Add1Hour() API to add one hour to the calendar</li>
<li>HAL_RTC_DST_Sub1Hour() API to subtract one hour from the calendar</li>
<li>HAL_RTC_DST_SetStoreOperation() API to set the store operation bit</li>
<li>HAL_RTC_DST_ClearStoreOperation() API to clear the store operation bit</li>
<li>HAL_RTC_DST_ReadStoreOperation() API to read the store operation bit</li>
</ul></li>
<li>DayLightSaving and StoreOperation interfaces from RTC_TimeTypeDef type are now deprecated.</li>
</ul></li>
</ul></li>
<li><strong>HAL/LL SPI</strong> update
<ul>
<li>Update HAL_SPI_TransmitReceive() API to manage the case of unaligned data</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>
</ul></li>
<li><strong>HAL/LL TIM</strong> update
<ul>
<li>Update Encoder input interface to don’t allow both input polarity configuration
<ul>
<li>Replace IS_TIM_IC_POLARITY() macro by IS_TIM_ENCODERINPUT_POLARITY() macro.</li>
</ul></li>
<li>Update to allow multiple DMA request with different channels in parallel:
<ul>
<li>Implement DMA burst state management mechanism</li>
<li>Implement TIM channel state management mechanism</li>
</ul></li>
<li>Correct inverted values of LL_TIM_COUNTERMODE_CENTER_DOWN and LL_TIM_COUNTERMODE_CENTER_UP</li>
<li>Update LL_TIM_GetCounterMode() API to return right counter mode.</li>
</ul></li>
<li><strong>HAL/LL SMARTCARD</strong> update
<ul>
<li>Update smartcard transmit processes to be able to handle data retransmission when NACK is received in smartcard T=0</li>
</ul></li>
<li><strong>HAL/LL UART</strong> update
<ul>
<li>Update to enhance reception to idle services (ReceptionToIdle):
<ul>
<li>Add a new field HAL_UART_RxTypeTypeDef structure to the UART_HandleTypeDef structure to identify the type of ongoing Reception</li>
<li>Add UART Reception Event Callback registration features</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>
<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>
</ul></li>
<li>Update HAL_UART_Receive(), HAL_UART_Receive_IT() and HAL_UART_Receive_DMA() APIs to support the new enhancement of ReceptionToIdle</li>
</ul></li>
<li>Update HAL_UART_IRQHandler() to handle receiver timeout interruption</li>
<li>Update UART receive processes (IT & DMA) to handle the UART receive timeout interruption</li>
</ul></li>
<li><strong>HAL/LL USART</strong> update
<ul>
<li>Add RTO (Receiver Time Out) support to USART HAL flags and IT management
<ul>
<li>Add HAL_USART_ERROR_RTO define of Receiver Timeout error to the USART Error Definition section</li>
<li>Add USART_FLAG_RTOF define of Receiver Timeout flag to the USART Flags section</li>
<li>Add USART_CLEAR_RTOF define of Receiver Timeout clear flag to the USART Clear Flags section</li>
<li>Update HAL_USART_IRQHandler to add support to the Receiver Timeout Interruption</li>
</ul></li>
</ul></li>
<li><strong>LL UTILS</strong> update
<ul>
<li>UTILS_SetFlashLatency() API renamed to LL_SetFlashLatency() and set exportable.</li>
</ul></li>
</ul></li>
<li><strong>BSP</strong>
<ul>
<li>Add new MEMS <strong>I3G4250D</strong> component support for STM32F072B-DISCO board.</li>
<li>Add Release Note resource: htmresc folder.</li>
<li>Add License.md file required for GitHub publication.</li>
</ul></li>
<li><strong>Projects</strong>
<ul>
<li>STM32F091RC-Nucleo:
<ul>
<li>General updates to enhance EEPROM_Emulation application robustness:
<ul>
<li>Alignment with X-CUBE-EEPROM package.</li>
</ul></li>
</ul></li>
<li>STM32F072B-Discovery:
<ul>
<li>Update Demo to support new MEMS gyroscope component: <strong>I3G4250D</strong></li>
</ul></li>
</ul></li>
<li><p>For the complete list of changes, please refer to the release notes of each firmware component</p></li>
</ul>
<h2 id="contents-2">Contents</h2>
<ul>
<li>The STM32CubeF0 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with pre-configured projects for the main supported toolchains. The exhaustive list of projects is provided in this table <a href="Projects/STM32CubeProjectsList.html">STM32CubeProjectsList.html</a>.</li>
<li>Projects release notes
<ul>
<li>STM32F030R8-Nucleo
<ul>
<li>Applications <a href="Projects\STM32F030R8-Nucleo\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F030R8-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F030R8-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F030R8-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F030R8-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F031K6-Nucleo
<ul>
<li>Demonstrations <a href="Projects\STM32F031K6-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F031K6-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F031K6-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F031K6-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F042K6-Nucleo
<ul>
<li>Demonstrations <a href="Projects\STM32F042K6-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F042K6-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F042K6-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F042K6-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F070RB-Nucleo
<ul>
<li>Applications <a href="Projects\STM32F070RB-Nucleo\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F070RB-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F070RB-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F070RB-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F070RB-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F072B-Discovery
<ul>
<li>Applications <a href="Projects\STM32F072B-Discovery\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F072B-Discovery\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F072B-Discovery\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F072B-Discovery\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F072B-Discovery\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F072RB-Nucleo
<ul>
<li>Applications <a href="Projects\STM32F072RB-Nucleo\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F072RB-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F072RB-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Examples_LL <a href="Projects\STM32F072RB-Nucleo\Examples_LL\Release_Notes.html">release notes</a></li>
<li>Examples_MIX <a href="Projects\STM32F072RB-Nucleo\Examples_MIX\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F072RB-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F072RB-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F091RC-Nucleo
<ul>
<li>Applications <a href="Projects\STM32F091RC-Nucleo\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F091RC-Nucleo\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F091RC-Nucleo\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F091RC-Nucleo\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F091RC-Nucleo\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32F0308-Discovery
<ul>
<li>Applications <a href="Projects\STM32F0308-Discovery\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32F0308-Discovery\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32F0308-Discovery\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32F0308-Discovery\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32F0308-Discovery\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32072B_EVAL
<ul>
<li>Applications <a href="Projects\STM32072B_EVAL\Applications\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32072B_EVAL\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32072B_EVAL\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32072B_EVAL\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>
<li>STM32091C_EVAL
<ul>
<li>Applications <a href="Projects\STM32091C_EVAL\Applications\Release_Notes.html">release notes</a></li>
<li>Demonstrations <a href="Projects\STM32091C_EVAL\Demonstrations\Release_Notes.html">release notes</a></li>
<li>Examples <a href="Projects\STM32091C_EVAL\Examples\Release_Notes.html">release notes</a></li>
<li>Templates <a href="Projects\STM32091C_EVAL\Templates\Release_Notes.html">release notes</a></li>
<li>Templates_LL <a href="Projects\STM32091C_EVAL\Templates_LL\Release_Notes.html">release notes</a></li>
</ul></li>