Skip to content

Commit

Permalink
Merge pull request #2519 from fpistm/STM32CubeF1_update
Browse files Browse the repository at this point in the history
chore(F1): update to latest STM32CubeF1 v1.8.6
  • Loading branch information
fpistm authored Sep 18, 2024
2 parents 89a2951 + 33833a9 commit 38f04cc
Show file tree
Hide file tree
Showing 121 changed files with 1,235 additions and 1,023 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5968,5 +5968,3 @@ typedef struct

#endif /* __STM32F100xB_H */



Original file line number Diff line number Diff line change
Expand Up @@ -6583,5 +6583,3 @@ typedef struct

#endif /* __STM32F100xE_H */



Original file line number Diff line number Diff line change
Expand Up @@ -5311,5 +5311,3 @@ typedef struct

#endif /* __STM32F101x6_H */



Original file line number Diff line number Diff line change
Expand Up @@ -5442,5 +5442,3 @@ typedef struct

#endif /* __STM32F101xB_H */



Original file line number Diff line number Diff line change
Expand Up @@ -6499,5 +6499,3 @@ typedef struct

#endif /* __STM32F101xE_H */



Original file line number Diff line number Diff line change
Expand Up @@ -6709,5 +6709,3 @@ typedef struct

#endif /* __STM32F101xG_H */



Original file line number Diff line number Diff line change
Expand Up @@ -6444,5 +6444,3 @@ typedef struct

#endif /* __STM32F102x6_H */



Original file line number Diff line number Diff line change
Expand Up @@ -6566,5 +6566,3 @@ typedef struct

#endif /* __STM32F102xB_H */



Original file line number Diff line number Diff line change
Expand Up @@ -10105,5 +10105,3 @@ typedef struct

#endif /* __STM32F103x6_H */



Original file line number Diff line number Diff line change
Expand Up @@ -10236,5 +10236,3 @@ typedef struct

#endif /* __STM32F103xB_H */



Original file line number Diff line number Diff line change
Expand Up @@ -11763,5 +11763,3 @@ typedef struct

#endif /* __STM32F103xE_H */



Original file line number Diff line number Diff line change
Expand Up @@ -11947,5 +11947,3 @@ typedef struct

#endif /* __STM32F103xG_H */



Original file line number Diff line number Diff line change
Expand Up @@ -14336,5 +14336,3 @@ typedef struct

#endif /* __STM32F105xC_H */



Original file line number Diff line number Diff line change
Expand Up @@ -15249,5 +15249,3 @@ typedef struct

#endif /* __STM32F107xC_H */



3 changes: 1 addition & 2 deletions system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
*/
#define __STM32F1_CMSIS_VERSION_MAIN (0x04) /*!< [31:24] main version */
#define __STM32F1_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */
#define __STM32F1_CMSIS_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
#define __STM32F1_CMSIS_VERSION_SUB2 (0x05) /*!< [15:8] sub2 version */
#define __STM32F1_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __STM32F1_CMSIS_VERSION ((__STM32F1_CMSIS_VERSION_MAIN << 24)\
|(__STM32F1_CMSIS_VERSION_SUB1 << 16)\
Expand Down Expand Up @@ -270,4 +270,3 @@ typedef enum




9 changes: 8 additions & 1 deletion system/Drivers/CMSIS/Device/ST/STM32F1xx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ Details about the content of this release are available in the release note [her

## Compatibility information

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.
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:

CMSIS Device F1 | CMSIS Core | Was delivered in the full MCU package
--------------- | ---------- | -------------------------------------
Tag v4.3.1 | Tag v5.4.0_cm3 | Tag v1.8.0
Tag v4.3.1 | Tag v5.4.0_cm3 | Tag v1.8.1
Tag v4.3.2 | Tag v5.4.0_cm3 | Tag v1.8.2
Tag v4.3.3 | Tag v5.4.0_cm3 | Tag v1.8.4

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

Expand Down
45 changes: 27 additions & 18 deletions system/Drivers/CMSIS/Device/ST/STM32F1xx/Release_Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,19 @@ <h1 id="release-notes-for-stm32f1xx-cmsis"><small>Release Notes for</small> <mar
<div class="col-sm-12 col-lg-8">
<h1 id="update-history"><strong>Update History</strong></h1>
<div class="collapse">
<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>
<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>
<div>
<h2 id="main-changes">Main Changes</h2>
<ul>
<li>Update defined value of SystemCoreClock to be aligned with HSI value.</li>
</ul>
</div>
</div>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<ul>
<li>Define SPI2_IRQHandler weak alias instead of a duplication of the definition of SPI1_IRQHandler weak alias.</li>
<li>Update the GCC startup file to be aligned to IAR/Keil IDE.</li>
<li>All source files: update disclaimer to add reference to the new license agreement.</li>
Expand All @@ -43,7 +52,7 @@ <h2 id="main-changes">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<h2 id="main-changes-2">Main Changes</h2>
<ul>
<li>Improve GCC startup files robustness.</li>
<li>Add LSI maximum startup time datasheet value: LSI_STARTUP_TIME.</li>
Expand All @@ -55,7 +64,7 @@ <h2 id="main-changes-1">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<h2 id="main-changes-3">Main Changes</h2>
<ul>
<li>Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive : USER_VECT_TAB_ADDRESS</li>
<li>SystemInit(): update to don’t reset RCC registers to its reset values.</li>
Expand All @@ -73,7 +82,7 @@ <h2 id="main-changes-2">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<h2 id="main-changes-4">Main Changes</h2>
<ul>
<li>Fix MISRA C 2012 Compilation errors: update to use “UL” postfix for bits mask definitions(_Msk) and memory/peripheral base addresses</li>
<li>Fix wrong initialization value for “SystemCoreClock” in System_stm32f1xx.c file</li>
Expand Down Expand Up @@ -108,7 +117,7 @@ <h2 id="main-changes-3">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-4">Main Changes</h2>
<h2 id="main-changes-5">Main Changes</h2>
<ul>
<li>Add missing IS_TIM_SYNCHRO_INSTANCE macro definition to check TIM SYNCHRO feature instance support.</li>
</ul>
Expand All @@ -117,7 +126,7 @@ <h2 id="main-changes-4">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-5">Main Changes</h2>
<h2 id="main-changes-6">Main Changes</h2>
<ul>
<li>Use _Pos and _Mask macros for all Bit Definitions</li>
<li>Remove Core-CM3 bit definitions from CMSIS devices drivers: duplicated with bit definitions in core_cm3.h.</li>
Expand Down Expand Up @@ -157,7 +166,7 @@ <h2 id="main-changes-5">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-6">Main Changes</h2>
<h2 id="main-changes-7">Main Changes</h2>
<ul>
<li>Add _Pos and _Msk defines to be used with _VAL2FLD(field, value) and _FLD2VAL(field, value).
<ul>
Expand All @@ -176,7 +185,7 @@ <h2 id="main-changes-6">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-7">Main Changes</h2>
<h2 id="main-changes-8">Main Changes</h2>
<ul>
<li>FLASH: Add FLASH_OBR_DATA0 and FLASH_OBR_DATA1 for FLASH_OBR register.</li>
<li>WWDG: Align bit name across all STM32 families.
Expand Down Expand Up @@ -206,7 +215,7 @@ <h2 id="main-changes-7">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-8">Main Changes</h2>
<h2 id="main-changes-9">Main Changes</h2>
<ul>
<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>
<li>uint8_t alignment done on CMSIS CRC registers structure.</li>
Expand All @@ -217,7 +226,7 @@ <h2 id="main-changes-8">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-9">Main Changes</h2>
<h2 id="main-changes-10">Main Changes</h2>
<ul>
<li>Update based on STM32Cube specification</li>
<li><strong>This version has to be used only with STM32CubeF1 based development</strong></li>
Expand All @@ -227,7 +236,7 @@ <h2 id="main-changes-9">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-10">Main Changes</h2>
<h2 id="main-changes-11">Main Changes</h2>
<ul>
<li>Update startup files for EWARM toolchain to cope with compiler enhancement of the V7.10 version.</li>
</ul>
Expand All @@ -236,7 +245,7 @@ <h2 id="main-changes-10">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-11">Main Changes</h2>
<h2 id="main-changes-12">Main Changes</h2>
<ul>
<li>stm32f10x.h
<ul>
Expand All @@ -249,7 +258,7 @@ <h2 id="main-changes-11">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-12">Main Changes</h2>
<h2 id="main-changes-13">Main Changes</h2>
<ul>
<li>All source files: license disclaimer text update and add link to the License file on ST Internet.</li>
</ul>
Expand All @@ -258,7 +267,7 @@ <h2 id="main-changes-12">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-13">Main Changes</h2>
<h2 id="main-changes-14">Main Changes</h2>
<ul>
<li>Update directory structure to be compliant with CMSIS V2.1</li>
<li>All source files: update disclaimer to add reference to the new license agreement</li>
Expand Down Expand Up @@ -287,7 +296,7 @@ <h2 id="main-changes-13">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-14">Main Changes</h2>
<h2 id="main-changes-15">Main Changes</h2>
<ul>
<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>
<li>system_stm32f10x.c file provided within the CMSIS folder.</li>
Expand All @@ -297,7 +306,7 @@ <h2 id="main-changes-14">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-15">Main Changes</h2>
<h2 id="main-changes-16">Main Changes</h2>
<ul>
<li>General
<ul>
Expand Down Expand Up @@ -333,7 +342,7 @@ <h2 id="main-changes-15">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-16">Main Changes</h2>
<h2 id="main-changes-17">Main Changes</h2>
<ul>
<li>General
<ul>
Expand Down Expand Up @@ -372,7 +381,7 @@ <h2 id="main-changes-16">Main Changes</h2>
<div class="collapse">
<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>
<div>
<h2 id="main-changes-17">Main Changes</h2>
<h2 id="main-changes-18">Main Changes</h2>
<ul>
<li>General
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
is no need to call the 2 first functions listed above, since SystemCoreClock
variable is updated automatically.
*/
uint32_t SystemCoreClock = 16000000;
uint32_t SystemCoreClock = 8000000;
const uint8_t AHBPrescTable[16U] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
const uint8_t APBPrescTable[8U] = {0, 0, 0, 0, 1, 2, 3, 4};

Expand Down
2 changes: 1 addition & 1 deletion system/Drivers/CMSIS/Device/ST/STM32YYxx_CMSIS_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

* STM32C0: 1.2.0
* STM32F0: 2.3.7
* STM32F1: 4.3.4
* STM32F1: 4.3.5
* STM32F2: 2.2.6
* STM32F3: 2.3.8
* STM32F4: 2.6.10
Expand Down
Loading

0 comments on commit 38f04cc

Please sign in to comment.