Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9cc22c7

Browse files
committedAug 5, 2020
[G4] Set default HSE_VALUE to 24MHz
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 6dd4526 commit 9cc22c7

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed
 

‎system/STM32G4xx/stm32g4xx_hal_conf_default.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ extern "C" {
115115
* (when HSE is used as system clock source, directly or through the PLL).
116116
*/
117117
#if !defined (HSE_VALUE)
118-
#define HSE_VALUE (8000000UL) /*!< Value of the External oscillator in Hz */
118+
#define HSE_VALUE (24000000UL) /*!< Value of the External oscillator in Hz */
119119
#endif /* HSE_VALUE */
120120

121121
#if !defined (HSE_STARTUP_TIMEOUT)

‎variants/NUCLEO_G431KB/variant.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ extern "C" {
7979
#define PIN_SERIAL_RX PA3
8080
#define PIN_SERIAL_TX PA2
8181

82-
/* HAL configuration */
83-
#define HSE_VALUE (24000000UL)
84-
8582
/* Extra HAL modules */
8683
#define HAL_DAC_MODULE_ENABLED
8784

‎variants/NUCLEO_G431RB/variant.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ extern "C" {
106106
#define PIN_SERIAL_RX PA3
107107
#define PIN_SERIAL_TX PA2
108108

109-
/* HAL configuration */
110-
#define HSE_VALUE (24000000UL)
111-
112109
/* Extra HAL modules */
113110
#define HAL_DAC_MODULE_ENABLED
114111

‎variants/NUCLEO_G474RE/variant.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ extern "C" {
106106
#define PIN_SERIAL_RX PA3
107107
#define PIN_SERIAL_TX PA2
108108

109-
/* HAL configuration */
110-
#define HSE_VALUE (24000000UL)
111-
112109
/* Extra HAL modules */
113110
#define HAL_DAC_MODULE_ENABLED
114111

0 commit comments

Comments
 (0)
Please sign in to comment.