File tree Expand file tree Collapse file tree 14 files changed +1
-160
lines changed Expand file tree Collapse file tree 14 files changed +1
-160
lines changed Original file line number Diff line number Diff line change 8080/** @addtogroup STM32F0xx_System_Private_Defines
8181 * @{
8282 */
83- #if !defined (HSE_VALUE )
84- #define HSE_VALUE ((uint32_t)8000000) /*!< Default value of the External oscillator in Hz.
85- This value can be provided and adapted by the user application. */
86- #endif /* HSE_VALUE */
87-
88- #if !defined (HSI_VALUE )
89- #define HSI_VALUE ((uint32_t)8000000) /*!< Default value of the Internal oscillator in Hz.
90- This value can be provided and adapted by the user application. */
91- #endif /* HSI_VALUE */
92-
93- #if !defined (HSI48_VALUE )
94- #define HSI48_VALUE ((uint32_t)48000000) /*!< Default value of the HSI48 Internal oscillator in Hz.
95- This value can be provided and adapted by the user application. */
96- #endif /* HSI48_VALUE */
83+
9784/**
9885 * @}
9986 */
Original file line number Diff line number Diff line change 7474 * @{
7575 */
7676
77- #if !defined (HSE_VALUE )
78- #define HSE_VALUE 8000000U /*!< Default value of the External oscillator in Hz.
79- This value can be provided and adapted by the user application. */
80- #endif /* HSE_VALUE */
81-
82- #if !defined (HSI_VALUE )
83- #define HSI_VALUE 8000000U /*!< Default value of the Internal oscillator in Hz.
84- This value can be provided and adapted by the user application. */
85- #endif /* HSI_VALUE */
86-
8777/*!< Uncomment the following line if you need to use external SRAM */
8878#if defined(STM32F100xE ) || defined(STM32F101xE ) || defined(STM32F101xG ) || defined(STM32F103xE ) || defined(STM32F103xG )
8979/* #define DATA_IN_ExtSRAM */
Original file line number Diff line number Diff line change 4646
4747#include "stm32f2xx.h"
4848
49- #if !defined (HSE_VALUE )
50- #define HSE_VALUE ((uint32_t)25000000) /*!< Default value of the External oscillator in Hz */
51- #endif /* HSE_VALUE */
52-
53- #if !defined (HSI_VALUE )
54- #define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
55- #endif /* HSI_VALUE */
56-
5749/**
5850 * @}
5951 */
Original file line number Diff line number Diff line change 8484/** @addtogroup STM32F3xx_System_Private_Defines
8585 * @{
8686 */
87- #if !defined (HSE_VALUE )
88- #define HSE_VALUE ((uint32_t)8000000) /*!< Default value of the External oscillator in Hz.
89- This value can be provided and adapted by the user application. */
90- #endif /* HSE_VALUE */
91-
92- #if !defined (HSI_VALUE )
93- #define HSI_VALUE ((uint32_t)8000000) /*!< Default value of the Internal oscillator in Hz.
94- This value can be provided and adapted by the user application. */
95- #endif /* HSI_VALUE */
9687
9788/*!< Uncomment the following line if you need to relocate your vector Table in
9889 Internal SRAM. */
Original file line number Diff line number Diff line change 6464
6565#include "stm32f4xx.h"
6666
67- #if !defined (HSE_VALUE )
68- #define HSE_VALUE ((uint32_t)25000000) /*!< Default value of the External oscillator in Hz */
69- #endif /* HSE_VALUE */
70-
71- #if !defined (HSI_VALUE )
72- #define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
73- #endif /* HSI_VALUE */
74-
7567/**
7668 * @}
7769 */
Original file line number Diff line number Diff line change 6363
6464#include "stm32f7xx.h"
6565
66- #if !defined (HSE_VALUE )
67- #define HSE_VALUE ((uint32_t)25000000) /*!< Default value of the External oscillator in Hz */
68- #endif /* HSE_VALUE */
69-
70- #if !defined (HSI_VALUE )
71- #define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
72- #endif /* HSI_VALUE */
73-
7466/**
7567 * @}
7668 */
Original file line number Diff line number Diff line change 7878
7979#include "stm32g0xx.h"
8080
81- #if !defined (HSE_VALUE )
82- #define HSE_VALUE (8000000UL) /*!< Value of the External oscillator in Hz */
83- #endif /* HSE_VALUE */
84-
85- #if !defined (HSI_VALUE )
86- #define HSI_VALUE (16000000UL) /*!< Value of the Internal oscillator in Hz*/
87- #endif /* HSI_VALUE */
88-
89- #if !defined (LSI_VALUE )
90- #define LSI_VALUE (32000UL) /*!< Value of LSI in Hz*/
91- #endif /* LSI_VALUE */
92-
93- #if !defined (LSE_VALUE )
94- #define LSE_VALUE (32768UL) /*!< Value of LSE in Hz*/
95- #endif /* LSE_VALUE */
96-
9781/**
9882 * @}
9983 */
Original file line number Diff line number Diff line change 7878
7979#include "stm32g4xx.h"
8080
81- #if !defined (HSE_VALUE )
82- #define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
83- #endif /* HSE_VALUE */
84-
85- #if !defined (HSI_VALUE )
86- #define HSI_VALUE 16000000U /*!< Value of the Internal oscillator in Hz*/
87- #endif /* HSI_VALUE */
88-
8981/**
9082 * @}
9183 */
Original file line number Diff line number Diff line change 5050#include "stm32h7xx.h"
5151#include <math.h>
5252
53- #if !defined (HSE_VALUE )
54- #define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */
55- #endif /* HSE_VALUE */
56-
57- #if !defined (CSI_VALUE )
58- #define CSI_VALUE ((uint32_t)4000000) /*!< Value of the Internal oscillator in Hz*/
59- #endif /* CSI_VALUE */
60-
61- #if !defined (HSI_VALUE )
62- #define HSI_VALUE ((uint32_t)64000000) /*!< Value of the Internal oscillator in Hz*/
63- #endif /* HSI_VALUE */
64-
65-
6653/**
6754 * @}
6855 */
Original file line number Diff line number Diff line change 4747
4848#include "stm32l0xx.h"
4949
50- #if !defined (HSE_VALUE )
51- #define HSE_VALUE ((uint32_t)8000000U) /*!< Value of the External oscillator in Hz */
52- #endif /* HSE_VALUE */
53-
54- #if !defined (MSI_VALUE )
55- #define MSI_VALUE ((uint32_t)2097152U) /*!< Value of the Internal oscillator in Hz*/
56- #endif /* MSI_VALUE */
57-
58- #if !defined (HSI_VALUE )
59- #define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
60- #endif /* HSI_VALUE */
61-
62-
6350/**
6451 * @}
6552 */
You can’t perform that action at this time.
0 commit comments