File tree 14 files changed +1
-160
lines changed
14 files changed +1
-160
lines changed Original file line number Diff line number Diff line change 80
80
/** @addtogroup STM32F0xx_System_Private_Defines
81
81
* @{
82
82
*/
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
+
97
84
/**
98
85
* @}
99
86
*/
Original file line number Diff line number Diff line change 74
74
* @{
75
75
*/
76
76
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
-
87
77
/*!< Uncomment the following line if you need to use external SRAM */
88
78
#if defined(STM32F100xE ) || defined(STM32F101xE ) || defined(STM32F101xG ) || defined(STM32F103xE ) || defined(STM32F103xG )
89
79
/* #define DATA_IN_ExtSRAM */
Original file line number Diff line number Diff line change 46
46
47
47
#include "stm32f2xx.h"
48
48
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
-
57
49
/**
58
50
* @}
59
51
*/
Original file line number Diff line number Diff line change 84
84
/** @addtogroup STM32F3xx_System_Private_Defines
85
85
* @{
86
86
*/
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 */
96
87
97
88
/*!< Uncomment the following line if you need to relocate your vector Table in
98
89
Internal SRAM. */
Original file line number Diff line number Diff line change 64
64
65
65
#include "stm32f4xx.h"
66
66
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
-
75
67
/**
76
68
* @}
77
69
*/
Original file line number Diff line number Diff line change 63
63
64
64
#include "stm32f7xx.h"
65
65
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
-
74
66
/**
75
67
* @}
76
68
*/
Original file line number Diff line number Diff line change 78
78
79
79
#include "stm32g0xx.h"
80
80
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
-
97
81
/**
98
82
* @}
99
83
*/
Original file line number Diff line number Diff line change 78
78
79
79
#include "stm32g4xx.h"
80
80
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
-
89
81
/**
90
82
* @}
91
83
*/
Original file line number Diff line number Diff line change 50
50
#include "stm32h7xx.h"
51
51
#include <math.h>
52
52
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
-
66
53
/**
67
54
* @}
68
55
*/
Original file line number Diff line number Diff line change 47
47
48
48
#include "stm32l0xx.h"
49
49
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
-
63
50
/**
64
51
* @}
65
52
*/
Original file line number Diff line number Diff line change 61
61
/** @addtogroup STM32L1xx_System_Private_Defines
62
62
* @{
63
63
*/
64
- #if !defined (HSE_VALUE )
65
- #define HSE_VALUE ((uint32_t)8000000U) /*!< Default value of the External oscillator in Hz.
66
- This value can be provided and adapted by the user application. */
67
- #endif /* HSE_VALUE */
68
-
69
- #if !defined (HSI_VALUE )
70
- #define HSI_VALUE ((uint32_t)8000000U) /*!< Default value of the Internal oscillator in Hz.
71
- This value can be provided and adapted by the user application. */
72
- #endif /* HSI_VALUE */
73
64
74
65
/*!< Uncomment the following line if you need to use external SRAM mounted
75
66
on STM32L152D_EVAL board as data memory */
Original file line number Diff line number Diff line change 91
91
92
92
#include "stm32l4xx.h"
93
93
94
- #if !defined (HSE_VALUE )
95
- #define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
96
- #endif /* HSE_VALUE */
97
-
98
- #if !defined (MSI_VALUE )
99
- #define MSI_VALUE 4000000U /*!< Value of the Internal oscillator in Hz*/
100
- #endif /* MSI_VALUE */
101
-
102
- #if !defined (HSI_VALUE )
103
- #define HSI_VALUE 16000000U /*!< Value of the Internal oscillator in Hz*/
104
- #endif /* HSI_VALUE */
105
-
106
94
/**
107
95
* @}
108
96
*/
Original file line number Diff line number Diff line change 50
50
51
51
#include "stm32mp1xx.h"
52
52
53
- #if !defined (HSE_VALUE )
54
- #define HSE_VALUE ((uint32_t)24000000) /*!< Value of the External oscillator in Hz : FPGA case fixed to 60MHZ */
55
- #endif /* HSE_VALUE */
56
-
57
- #if !defined (HSI_VALUE )
58
- #define HSI_VALUE ((uint32_t)64000000) /*!< Value of the Internal oscillator in Hz*/
59
- #endif /* HSI_VALUE */
60
-
61
- #if !defined (CSI_VALUE )
62
- #define CSI_VALUE 4000000U /*!< Value of the Internal oscillator in Hz*/
63
- #endif /* CSI_VALUE */
64
-
65
53
/**
66
54
* @}
67
55
*/
Original file line number Diff line number Diff line change 85
85
86
86
#include "stm32wbxx.h"
87
87
88
- #if !defined (HSE_VALUE )
89
- #define HSE_VALUE (32000000UL) /*!< Value of the External oscillator in Hz */
90
- #endif /* HSE_VALUE */
91
-
92
- #if !defined (MSI_VALUE )
93
- #define MSI_VALUE (4000000UL) /*!< Value of the Internal oscillator in Hz*/
94
- #endif /* MSI_VALUE */
95
-
96
- #if !defined (HSI_VALUE )
97
- #define HSI_VALUE (16000000UL) /*!< Value of the Internal oscillator in Hz*/
98
- #endif /* HSI_VALUE */
99
-
100
- #if !defined (LSI_VALUE )
101
- #define LSI_VALUE (32000UL) /*!< Value of LSI in Hz*/
102
- #endif /* LSI_VALUE */
103
-
104
- #if !defined (LSE_VALUE )
105
- #define LSE_VALUE (32768UL) /*!< Value of LSE in Hz*/
106
- #endif /* LSE_VALUE */
107
-
108
88
/**
109
89
* @}
110
90
*/
You can’t perform that action at this time.
0 commit comments