Skip to content

Commit 8c1dfb4

Browse files
committed
Updated stm32f1xx_hal_conf.h in variants
Fix LSI value Signed-off-by: Frederic.Pillon <[email protected]>
1 parent fb71088 commit 8c1dfb4

File tree

4 files changed

+43
-51
lines changed

4 files changed

+43
-51
lines changed

variants/BLUEPILL_F103C8/stm32f1xx_hal_conf.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f1xx_hal_conf.h
44
* @author MCD Application Team
5-
* @version V1.1.1
6-
* @date 12-May-2017
75
* @brief HAL configuration template file.
86
* This file should be copied to the application folder and renamed
97
* to stm32f1xx_hal_conf.h.
@@ -116,7 +114,7 @@
116114
* @brief Internal Low Speed oscillator (LSI) value.
117115
*/
118116
#if !defined (LSI_VALUE)
119-
#define LSI_VALUE 40000U /*!< LSI Typical Value in Hz */
117+
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz */
120118
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
121119
The real value may vary depending on the variations
122120
in voltage and temperature. */

variants/DISCO_F100RB/stm32f1xx_hal_conf.h

+20-22
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f1xx_hal_conf.h
44
* @author MCD Application Team
5-
* @version V1.1.1
6-
* @date 12-May-2017
75
* @brief HAL configuration template file.
86
* This file should be copied to the application folder and renamed
97
* to stm32f1xx_hal_conf.h.
@@ -54,35 +52,35 @@
5452
*/
5553
#define HAL_MODULE_ENABLED
5654
#define HAL_ADC_MODULE_ENABLED
57-
//#define HAL_CAN_MODULE_ENABLED
58-
//#define HAL_CEC_MODULE_ENABLED
55+
/*#define HAL_CAN_MODULE_ENABLED*/
56+
/*#define HAL_CEC_MODULE_ENABLED*/
5957
#define HAL_CORTEX_MODULE_ENABLED
60-
//#define HAL_CRC_MODULE_ENABLED
58+
/*#define HAL_CRC_MODULE_ENABLED*/
6159
#define HAL_DAC_MODULE_ENABLED
6260
#define HAL_DMA_MODULE_ENABLED
63-
//#define HAL_ETH_MODULE_ENABLED
61+
/*#define HAL_ETH_MODULE_ENABLED*/
6462
#define HAL_FLASH_MODULE_ENABLED
6563
#define HAL_GPIO_MODULE_ENABLED
66-
//#define HAL_HCD_MODULE_ENABLED
64+
/*#define HAL_HCD_MODULE_ENABLED*/
6765
#define HAL_I2C_MODULE_ENABLED
68-
//#define HAL_I2S_MODULE_ENABLED
69-
//#define HAL_IRDA_MODULE_ENABLED
70-
//#define HAL_IWDG_MODULE_ENABLED
71-
//#define HAL_NAND_MODULE_ENABLED
72-
//#define HAL_NOR_MODULE_ENABLED
73-
//#define HAL_PCCARD_MODULE_ENABLED
74-
//#define HAL_PCD_MODULE_ENABLED
75-
//#define HAL_PWR_MODULE_ENABLED
66+
/*#define HAL_I2S_MODULE_ENABLED*/
67+
/*#define HAL_IRDA_MODULE_ENABLED*/
68+
/*#define HAL_IWDG_MODULE_ENABLED*/
69+
/*#define HAL_NAND_MODULE_ENABLED*/
70+
/*#define HAL_NOR_MODULE_ENABLED*/
71+
/*#define HAL_PCCARD_MODULE_ENABLED*/
72+
/*#define HAL_PCD_MODULE_ENABLED*/
73+
/*#define HAL_PWR_MODULE_ENABLED*/
7674
#define HAL_RCC_MODULE_ENABLED
77-
//#define HAL_RTC_MODULE_ENABLED
78-
//#define HAL_SD_MODULE_ENABLED
79-
//#define HAL_SMARTCARD_MODULE_ENABLED
75+
/*#define HAL_RTC_MODULE_ENABLED*/
76+
/*#define HAL_SD_MODULE_ENABLED*/
77+
/*#define HAL_SMARTCARD_MODULE_ENABLED*/
8078
#define HAL_SPI_MODULE_ENABLED
81-
//#define HAL_SRAM_MODULE_ENABLED
79+
/*#define HAL_SRAM_MODULE_ENABLED*/
8280
#define HAL_TIM_MODULE_ENABLED
8381
#define HAL_UART_MODULE_ENABLED
84-
//#define HAL_USART_MODULE_ENABLED
85-
//#define HAL_WWDG_MODULE_ENABLED
82+
/*#define HAL_USART_MODULE_ENABLED*/
83+
/*#define HAL_WWDG_MODULE_ENABLED*/
8684
#define HAL_MMC_MODULE_ENABLED
8785

8886
/* ########################## Oscillator Values adaptation ####################*/
@@ -116,7 +114,7 @@
116114
* @brief Internal Low Speed oscillator (LSI) value.
117115
*/
118116
#if !defined (LSI_VALUE)
119-
#define LSI_VALUE 40000U /*!< LSI Typical Value in Hz */
117+
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz */
120118
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
121119
The real value may vary depending on the variations
122120
in voltage and temperature. */

variants/MAPLEMINI_F103CB/stm32f1xx_hal_conf.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f1xx_hal_conf.h
44
* @author MCD Application Team
5-
* @version V1.1.1
6-
* @date 12-May-2017
75
* @brief HAL configuration template file.
86
* This file should be copied to the application folder and renamed
97
* to stm32f1xx_hal_conf.h.
@@ -116,7 +114,7 @@
116114
* @brief Internal Low Speed oscillator (LSI) value.
117115
*/
118116
#if !defined (LSI_VALUE)
119-
#define LSI_VALUE 40000U /*!< LSI Typical Value in Hz */
117+
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz */
120118
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
121119
The real value may vary depending on the variations
122120
in voltage and temperature. */

variants/NUCLEO_F103RB/stm32f1xx_hal_conf.h

+21-23
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f1xx_hal_conf.h
44
* @author MCD Application Team
5-
* @version V1.1.1
6-
* @date 12-May-2017
75
* @brief HAL configuration template file.
86
* This file should be copied to the application folder and renamed
97
* to stm32f1xx_hal_conf.h.
@@ -54,35 +52,35 @@
5452
*/
5553
#define HAL_MODULE_ENABLED
5654
#define HAL_ADC_MODULE_ENABLED
57-
//#define HAL_CAN_MODULE_ENABLED
58-
//#define HAL_CEC_MODULE_ENABLED
55+
/*#define HAL_CAN_MODULE_ENABLED*/
56+
/*#define HAL_CEC_MODULE_ENABLED*/
5957
#define HAL_CORTEX_MODULE_ENABLED
60-
//#define HAL_CRC_MODULE_ENABLED
61-
//#define HAL_DAC_MODULE_ENABLED
58+
/*#define HAL_CRC_MODULE_ENABLED*/
59+
/*#define HAL_DAC_MODULE_ENABLED*/
6260
#define HAL_DMA_MODULE_ENABLED
63-
//#define HAL_ETH_MODULE_ENABLED
61+
/*#define HAL_ETH_MODULE_ENABLED*/
6462
#define HAL_FLASH_MODULE_ENABLED
6563
#define HAL_GPIO_MODULE_ENABLED
66-
//#define HAL_HCD_MODULE_ENABLED
64+
/*#define HAL_HCD_MODULE_ENABLED*/
6765
#define HAL_I2C_MODULE_ENABLED
68-
//#define HAL_I2S_MODULE_ENABLED
69-
//#define HAL_IRDA_MODULE_ENABLED
70-
//#define HAL_IWDG_MODULE_ENABLED
71-
//#define HAL_NAND_MODULE_ENABLED
72-
//#define HAL_NOR_MODULE_ENABLED
73-
//#define HAL_PCCARD_MODULE_ENABLED
74-
//#define HAL_PCD_MODULE_ENABLED
75-
//#define HAL_PWR_MODULE_ENABLED
66+
/*#define HAL_I2S_MODULE_ENABLED*/
67+
/*#define HAL_IRDA_MODULE_ENABLED*/
68+
/*#define HAL_IWDG_MODULE_ENABLED*/
69+
/*#define HAL_NAND_MODULE_ENABLED*/
70+
/*#define HAL_NOR_MODULE_ENABLED*/
71+
/*#define HAL_PCCARD_MODULE_ENABLED*/
72+
/*#define HAL_PCD_MODULE_ENABLED*/
73+
/*#define HAL_PWR_MODULE_ENABLED*/
7674
#define HAL_RCC_MODULE_ENABLED
77-
//#define HAL_RTC_MODULE_ENABLED
78-
//#define HAL_SD_MODULE_ENABLED
79-
//#define HAL_SMARTCARD_MODULE_ENABLED
75+
/*#define HAL_RTC_MODULE_ENABLED*/
76+
/*#define HAL_SD_MODULE_ENABLED*/
77+
/*#define HAL_SMARTCARD_MODULE_ENABLED*/
8078
#define HAL_SPI_MODULE_ENABLED
81-
//#define HAL_SRAM_MODULE_ENABLED
79+
/*#define HAL_SRAM_MODULE_ENABLED*/
8280
#define HAL_TIM_MODULE_ENABLED
8381
#define HAL_UART_MODULE_ENABLED
84-
//#define HAL_USART_MODULE_ENABLED
85-
//#define HAL_WWDG_MODULE_ENABLED
82+
/*#define HAL_USART_MODULE_ENABLED*/
83+
/*#define HAL_WWDG_MODULE_ENABLED*/
8684
#define HAL_MMC_MODULE_ENABLED
8785

8886
/* ########################## Oscillator Values adaptation ####################*/
@@ -116,7 +114,7 @@
116114
* @brief Internal Low Speed oscillator (LSI) value.
117115
*/
118116
#if !defined (LSI_VALUE)
119-
#define LSI_VALUE 40000U /*!< LSI Typical Value in Hz */
117+
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz */
120118
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
121119
The real value may vary depending on the variations
122120
in voltage and temperature. */

0 commit comments

Comments
 (0)