Skip to content

Commit 38f04cc

Browse files
authored
Merge pull request #2519 from fpistm/STM32CubeF1_update
chore(F1): update to latest STM32CubeF1 v1.8.6
2 parents 89a2951 + 33833a9 commit 38f04cc

File tree

121 files changed

+1235
-1023
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+1235
-1023
lines changed

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xb.h

-2
Original file line numberDiff line numberDiff line change
@@ -5968,5 +5968,3 @@ typedef struct
59685968

59695969
#endif /* __STM32F100xB_H */
59705970

5971-
5972-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xe.h

-2
Original file line numberDiff line numberDiff line change
@@ -6583,5 +6583,3 @@ typedef struct
65836583

65846584
#endif /* __STM32F100xE_H */
65856585

6586-
6587-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101x6.h

-2
Original file line numberDiff line numberDiff line change
@@ -5311,5 +5311,3 @@ typedef struct
53115311

53125312
#endif /* __STM32F101x6_H */
53135313

5314-
5315-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xb.h

-2
Original file line numberDiff line numberDiff line change
@@ -5442,5 +5442,3 @@ typedef struct
54425442

54435443
#endif /* __STM32F101xB_H */
54445444

5445-
5446-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xe.h

-2
Original file line numberDiff line numberDiff line change
@@ -6499,5 +6499,3 @@ typedef struct
64996499

65006500
#endif /* __STM32F101xE_H */
65016501

6502-
6503-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xg.h

-2
Original file line numberDiff line numberDiff line change
@@ -6709,5 +6709,3 @@ typedef struct
67096709

67106710
#endif /* __STM32F101xG_H */
67116711

6712-
6713-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102x6.h

-2
Original file line numberDiff line numberDiff line change
@@ -6444,5 +6444,3 @@ typedef struct
64446444

64456445
#endif /* __STM32F102x6_H */
64466446

6447-
6448-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102xb.h

-2
Original file line numberDiff line numberDiff line change
@@ -6566,5 +6566,3 @@ typedef struct
65666566

65676567
#endif /* __STM32F102xB_H */
65686568

6569-
6570-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h

-2
Original file line numberDiff line numberDiff line change
@@ -10105,5 +10105,3 @@ typedef struct
1010510105

1010610106
#endif /* __STM32F103x6_H */
1010710107

10108-
10109-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h

-2
Original file line numberDiff line numberDiff line change
@@ -10236,5 +10236,3 @@ typedef struct
1023610236

1023710237
#endif /* __STM32F103xB_H */
1023810238

10239-
10240-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h

-2
Original file line numberDiff line numberDiff line change
@@ -11763,5 +11763,3 @@ typedef struct
1176311763

1176411764
#endif /* __STM32F103xE_H */
1176511765

11766-
11767-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xg.h

-2
Original file line numberDiff line numberDiff line change
@@ -11947,5 +11947,3 @@ typedef struct
1194711947

1194811948
#endif /* __STM32F103xG_H */
1194911949

11950-
11951-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f105xc.h

-2
Original file line numberDiff line numberDiff line change
@@ -14336,5 +14336,3 @@ typedef struct
1433614336

1433714337
#endif /* __STM32F105xC_H */
1433814338

14339-
14340-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f107xc.h

-2
Original file line numberDiff line numberDiff line change
@@ -15249,5 +15249,3 @@ typedef struct
1524915249

1525015250
#endif /* __STM32F107xC_H */
1525115251

15252-
15253-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
*/
9494
#define __STM32F1_CMSIS_VERSION_MAIN (0x04) /*!< [31:24] main version */
9595
#define __STM32F1_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
96-
#define __STM32F1_CMSIS_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
96+
#define __STM32F1_CMSIS_VERSION_SUB2 (0x05) /*!< [15:8] sub2 version */
9797
#define __STM32F1_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
9898
#define __STM32F1_CMSIS_VERSION ((__STM32F1_CMSIS_VERSION_MAIN << 24)\
9999
|(__STM32F1_CMSIS_VERSION_SUB1 << 16)\
@@ -270,4 +270,3 @@ typedef enum
270270

271271

272272

273-

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ Details about the content of this release are available in the release note [her
2525

2626
## Compatibility information
2727

28-
It is **crucial** that you use a consistent set of versions for the CMSIS Core - CMSIS Device, as mentioned in [this](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeF1/blob/master/Release_Notes.html) release note.
28+
In this table, you can find the successive versions of this CMSIS Device component, in-line with the corresponding versions of the full MCU package:
29+
30+
CMSIS Device F1 | CMSIS Core | Was delivered in the full MCU package
31+
--------------- | ---------- | -------------------------------------
32+
Tag v4.3.1 | Tag v5.4.0_cm3 | Tag v1.8.0
33+
Tag v4.3.1 | Tag v5.4.0_cm3 | Tag v1.8.1
34+
Tag v4.3.2 | Tag v5.4.0_cm3 | Tag v1.8.2
35+
Tag v4.3.3 | Tag v5.4.0_cm3 | Tag v1.8.4
2936

3037
The full **STM32CubeF1** MCU package is available [here](https://github.com/STMicroelectronics/STM32CubeF1).
3138

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Release_Notes.html

+27-18
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,19 @@ <h1 id="release-notes-for-stm32f1xx-cmsis"><small>Release Notes for</small> <mar
3030
<div class="col-sm-12 col-lg-8">
3131
<h1 id="update-history"><strong>Update History</strong></h1>
3232
<div class="collapse">
33-
<input type="checkbox" id="collapse-section4_3_4" checked aria-hidden="true"> <label for="collapse-section4_3_4" aria-hidden="true"><strong>V4.3.4 / 07-April-2023</strong></label>
33+
<input type="checkbox" id="collapse-section4_3_5" checked aria-hidden="true"> <label for="collapse-section4_3_5" aria-hidden="true"><strong>V4.3.5 / 22-July-2024</strong></label>
3434
<div>
3535
<h2 id="main-changes">Main Changes</h2>
3636
<ul>
37+
<li>Update defined value of SystemCoreClock to be aligned with HSI value.</li>
38+
</ul>
39+
</div>
40+
</div>
41+
<div class="collapse">
42+
<input type="checkbox" id="collapse-section4_3_4" aria-hidden="true"> <label for="collapse-section4_3_4" aria-hidden="true"><strong>V4.3.4 / 07-April-2023</strong></label>
43+
<div>
44+
<h2 id="main-changes-1">Main Changes</h2>
45+
<ul>
3746
<li>Define SPI2_IRQHandler weak alias instead of a duplication of the definition of SPI1_IRQHandler weak alias.</li>
3847
<li>Update the GCC startup file to be aligned to IAR/Keil IDE.</li>
3948
<li>All source files: update disclaimer to add reference to the new license agreement.</li>
@@ -43,7 +52,7 @@ <h2 id="main-changes">Main Changes</h2>
4352
<div class="collapse">
4453
<input type="checkbox" id="collapse-section4_3_3" aria-hidden="true"> <label for="collapse-section4_3_3" aria-hidden="true"><strong>V4.3.3 / 21-May-2021</strong></label>
4554
<div>
46-
<h2 id="main-changes-1">Main Changes</h2>
55+
<h2 id="main-changes-2">Main Changes</h2>
4756
<ul>
4857
<li>Improve GCC startup files robustness.</li>
4958
<li>Add LSI maximum startup time datasheet value: LSI_STARTUP_TIME.</li>
@@ -55,7 +64,7 @@ <h2 id="main-changes-1">Main Changes</h2>
5564
<div class="collapse">
5665
<input type="checkbox" id="collapse-section4_3_2" aria-hidden="true"> <label for="collapse-section4_3_2" aria-hidden="true"><strong>V4.3.2 / 07-September-2020</strong></label>
5766
<div>
58-
<h2 id="main-changes-2">Main Changes</h2>
67+
<h2 id="main-changes-3">Main Changes</h2>
5968
<ul>
6069
<li>Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive : USER_VECT_TAB_ADDRESS</li>
6170
<li>SystemInit(): update to don’t reset RCC registers to its reset values.</li>
@@ -73,7 +82,7 @@ <h2 id="main-changes-2">Main Changes</h2>
7382
<div class="collapse">
7483
<input type="checkbox" id="collapse-section4_3_1" aria-hidden="true"> <label for="collapse-section4_3_1" aria-hidden="true"><strong>V4.3.1 / 26-June-2019</strong></label>
7584
<div>
76-
<h2 id="main-changes-3">Main Changes</h2>
85+
<h2 id="main-changes-4">Main Changes</h2>
7786
<ul>
7887
<li>Fix MISRA C 2012 Compilation errors: update to use “UL” postfix for bits mask definitions(_Msk) and memory/peripheral base addresses</li>
7988
<li>Fix wrong initialization value for “SystemCoreClock” in System_stm32f1xx.c file</li>
@@ -108,7 +117,7 @@ <h2 id="main-changes-3">Main Changes</h2>
108117
<div class="collapse">
109118
<input type="checkbox" id="collapse-section4_3_0" aria-hidden="true"> <label for="collapse-section4_3_0" aria-hidden="true"><strong>V4.3.0 / 09-October-2018</strong></label>
110119
<div>
111-
<h2 id="main-changes-4">Main Changes</h2>
120+
<h2 id="main-changes-5">Main Changes</h2>
112121
<ul>
113122
<li>Add missing IS_TIM_SYNCHRO_INSTANCE macro definition to check TIM SYNCHRO feature instance support.</li>
114123
</ul>
@@ -117,7 +126,7 @@ <h2 id="main-changes-4">Main Changes</h2>
117126
<div class="collapse">
118127
<input type="checkbox" id="collapse-section4_2_0" aria-hidden="true"> <label for="collapse-section4_2_0" aria-hidden="true"><strong>V4.2.0 / 31-March-2017</strong></label>
119128
<div>
120-
<h2 id="main-changes-5">Main Changes</h2>
129+
<h2 id="main-changes-6">Main Changes</h2>
121130
<ul>
122131
<li>Use _Pos and _Mask macros for all Bit Definitions</li>
123132
<li>Remove Core-CM3 bit definitions from CMSIS devices drivers: duplicated with bit definitions in core_cm3.h.</li>
@@ -157,7 +166,7 @@ <h2 id="main-changes-5">Main Changes</h2>
157166
<div class="collapse">
158167
<input type="checkbox" id="collapse-section4_1_0" aria-hidden="true"> <label for="collapse-section4_1_0" aria-hidden="true"><strong>V4.1.0 / 29-April-2016</strong></label>
159168
<div>
160-
<h2 id="main-changes-6">Main Changes</h2>
169+
<h2 id="main-changes-7">Main Changes</h2>
161170
<ul>
162171
<li>Add _Pos and _Msk defines to be used with _VAL2FLD(field, value) and _FLD2VAL(field, value).
163172
<ul>
@@ -176,7 +185,7 @@ <h2 id="main-changes-6">Main Changes</h2>
176185
<div class="collapse">
177186
<input type="checkbox" id="collapse-section4_0_2" aria-hidden="true"> <label for="collapse-section4_0_2" aria-hidden="true"><strong>V4.0.2 / 18-December-2016</strong></label>
178187
<div>
179-
<h2 id="main-changes-7">Main Changes</h2>
188+
<h2 id="main-changes-8">Main Changes</h2>
180189
<ul>
181190
<li>FLASH: Add FLASH_OBR_DATA0 and FLASH_OBR_DATA1 for FLASH_OBR register.</li>
182191
<li>WWDG: Align bit name across all STM32 families.
@@ -206,7 +215,7 @@ <h2 id="main-changes-7">Main Changes</h2>
206215
<div class="collapse">
207216
<input type="checkbox" id="collapse-section4_0_1" aria-hidden="true"> <label for="collapse-section4_0_1" aria-hidden="true"><strong>V4.0.1 / 31-July-2015</strong></label>
208217
<div>
209-
<h2 id="main-changes-8">Main Changes</h2>
218+
<h2 id="main-changes-9">Main Changes</h2>
210219
<ul>
211220
<li>Remove __IO or __I on constant table declaration (AHBPrescTable in system_stm32f1xx.c) due to issue with mbed C++ code. The table content was filled with random value at initialization phase.</li>
212221
<li>uint8_t alignment done on CMSIS CRC registers structure.</li>
@@ -217,7 +226,7 @@ <h2 id="main-changes-8">Main Changes</h2>
217226
<div class="collapse">
218227
<input type="checkbox" id="collapse-section4_0_0" aria-hidden="true"> <label for="collapse-section4_0_0" aria-hidden="true"><strong>V4.0.0 / 16-December-2014</strong></label>
219228
<div>
220-
<h2 id="main-changes-9">Main Changes</h2>
229+
<h2 id="main-changes-10">Main Changes</h2>
221230
<ul>
222231
<li>Update based on STM32Cube specification</li>
223232
<li><strong>This version has to be used only with STM32CubeF1 based development</strong></li>
@@ -227,7 +236,7 @@ <h2 id="main-changes-9">Main Changes</h2>
227236
<div class="collapse">
228237
<input type="checkbox" id="collapse-section3_6_3" aria-hidden="true"> <label for="collapse-section3_6_3" aria-hidden="true"><strong>V3.6.3 / 10-April-2014</strong></label>
229238
<div>
230-
<h2 id="main-changes-10">Main Changes</h2>
239+
<h2 id="main-changes-11">Main Changes</h2>
231240
<ul>
232241
<li>Update startup files for EWARM toolchain to cope with compiler enhancement of the V7.10 version.</li>
233242
</ul>
@@ -236,7 +245,7 @@ <h2 id="main-changes-10">Main Changes</h2>
236245
<div class="collapse">
237246
<input type="checkbox" id="collapse-section3_6_2" aria-hidden="true"> <label for="collapse-section3_6_2" aria-hidden="true"><strong>V3.6.2 / 28-February-2013</strong></label>
238247
<div>
239-
<h2 id="main-changes-11">Main Changes</h2>
248+
<h2 id="main-changes-12">Main Changes</h2>
240249
<ul>
241250
<li>stm32f10x.h
242251
<ul>
@@ -249,7 +258,7 @@ <h2 id="main-changes-11">Main Changes</h2>
249258
<div class="collapse">
250259
<input type="checkbox" id="collapse-section3_6_1" aria-hidden="true"> <label for="collapse-section3_6_1" aria-hidden="true"><strong>V3.6.1 / 09-March-2012</strong></label>
251260
<div>
252-
<h2 id="main-changes-12">Main Changes</h2>
261+
<h2 id="main-changes-13">Main Changes</h2>
253262
<ul>
254263
<li>All source files: license disclaimer text update and add link to the License file on ST Internet.</li>
255264
</ul>
@@ -258,7 +267,7 @@ <h2 id="main-changes-12">Main Changes</h2>
258267
<div class="collapse">
259268
<input type="checkbox" id="collapse-section3_6_0" aria-hidden="true"> <label for="collapse-section3_6_0" aria-hidden="true"><strong>V3.6.0 / 27-January-2012</strong></label>
260269
<div>
261-
<h2 id="main-changes-13">Main Changes</h2>
270+
<h2 id="main-changes-14">Main Changes</h2>
262271
<ul>
263272
<li>Update directory structure to be compliant with CMSIS V2.1</li>
264273
<li>All source files: update disclaimer to add reference to the new license agreement</li>
@@ -287,7 +296,7 @@ <h2 id="main-changes-13">Main Changes</h2>
287296
<div class="collapse">
288297
<input type="checkbox" id="collapse-section3_5_0" aria-hidden="true"> <label for="collapse-section3_5_0" aria-hidden="true"><strong>V3.5.0 / 11-March-2011</strong></label>
289298
<div>
290-
<h2 id="main-changes-14">Main Changes</h2>
299+
<h2 id="main-changes-15">Main Changes</h2>
291300
<ul>
292301
<li><em>stm32f10x.h</em> and <em>startup_stm32f10x_hd_vl.s</em> files: remove the FSMC interrupt definition for STM32F10x High-density Value line devices.</li>
293302
<li>system_stm32f10x.c file provided within the CMSIS folder.</li>
@@ -297,7 +306,7 @@ <h2 id="main-changes-14">Main Changes</h2>
297306
<div class="collapse">
298307
<input type="checkbox" id="collapse-section3_4_0" aria-hidden="true"> <label for="collapse-section3_4_0" aria-hidden="true"><strong>V3.4.0 / 15-October-2010</strong></label>
299308
<div>
300-
<h2 id="main-changes-15">Main Changes</h2>
309+
<h2 id="main-changes-16">Main Changes</h2>
301310
<ul>
302311
<li>General
303312
<ul>
@@ -333,7 +342,7 @@ <h2 id="main-changes-15">Main Changes</h2>
333342
<div class="collapse">
334343
<input type="checkbox" id="collapse-section3_3_0" aria-hidden="true"> <label for="collapse-section3_3_0" aria-hidden="true"><strong>V3.3.0 / 16-April-2010</strong></label>
335344
<div>
336-
<h2 id="main-changes-16">Main Changes</h2>
345+
<h2 id="main-changes-17">Main Changes</h2>
337346
<ul>
338347
<li>General
339348
<ul>
@@ -372,7 +381,7 @@ <h2 id="main-changes-16">Main Changes</h2>
372381
<div class="collapse">
373382
<input type="checkbox" id="collapse-section3_2_0" aria-hidden="true"> <label for="collapse-section3_2_0" aria-hidden="true"><strong>V3.2.0 / 01-March-2010</strong></label>
374383
<div>
375-
<h2 id="main-changes-17">Main Changes</h2>
384+
<h2 id="main-changes-18">Main Changes</h2>
376385
<ul>
377386
<li>General
378387
<ul>

Diff for: system/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
is no need to call the 2 first functions listed above, since SystemCoreClock
139139
variable is updated automatically.
140140
*/
141-
uint32_t SystemCoreClock = 16000000;
141+
uint32_t SystemCoreClock = 8000000;
142142
const uint8_t AHBPrescTable[16U] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
143143
const uint8_t APBPrescTable[8U] = {0, 0, 0, 0, 1, 2, 3, 4};
144144

Diff for: system/Drivers/CMSIS/Device/ST/STM32YYxx_CMSIS_version.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
* STM32C0: 1.2.0
44
* STM32F0: 2.3.7
5-
* STM32F1: 4.3.4
5+
* STM32F1: 4.3.5
66
* STM32F2: 2.2.6
77
* STM32F3: 2.3.8
88
* STM32F4: 2.6.10

0 commit comments

Comments
 (0)