Skip to content

Commit 9ae0f65

Browse files
committed
system(L1): add SMBUS to default HAL config
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent badd634 commit 9ae0f65

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

system/STM32L1xx/stm32l1xx_hal_conf_default.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ extern "C" {
6161
#define HAL_RTC_MODULE_ENABLED
6262
#define HAL_SD_MODULE_ENABLED
6363
#define HAL_SMARTCARD_MODULE_ENABLED
64+
#define HAL_SMBUS_MODULE_ENABLED
6465
#define HAL_SPI_MODULE_ENABLED
6566
#define HAL_SRAM_MODULE_ENABLED
6667
#define HAL_TIM_MODULE_ENABLED
@@ -282,6 +283,10 @@ in voltage and temperature.*/
282283
#include "stm32l1xx_hal_sd.h"
283284
#endif /* HAL_SD_MODULE_ENABLED */
284285

286+
#ifdef HAL_SMBUS_MODULE_ENABLED
287+
#include "stm32l1xx_hal_smbus.h"
288+
#endif /* HAL_SMBUS_MODULE_ENABLED */
289+
285290
#ifdef HAL_SPI_MODULE_ENABLED
286291
#include "stm32l1xx_hal_spi.h"
287292
#endif /* HAL_SPI_MODULE_ENABLED */

0 commit comments

Comments
 (0)