Skip to content

Commit

Permalink
system(L1): add SMBUS to default HAL config
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Apr 28, 2023
1 parent badd634 commit 9ae0f65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system/STM32L1xx/stm32l1xx_hal_conf_default.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ extern "C" {
#define HAL_RTC_MODULE_ENABLED
#define HAL_SD_MODULE_ENABLED
#define HAL_SMARTCARD_MODULE_ENABLED
#define HAL_SMBUS_MODULE_ENABLED
#define HAL_SPI_MODULE_ENABLED
#define HAL_SRAM_MODULE_ENABLED
#define HAL_TIM_MODULE_ENABLED
Expand Down Expand Up @@ -282,6 +283,10 @@ in voltage and temperature.*/
#include "stm32l1xx_hal_sd.h"
#endif /* HAL_SD_MODULE_ENABLED */

#ifdef HAL_SMBUS_MODULE_ENABLED
#include "stm32l1xx_hal_smbus.h"
#endif /* HAL_SMBUS_MODULE_ENABLED */

#ifdef HAL_SPI_MODULE_ENABLED
#include "stm32l1xx_hal_spi.h"
#endif /* HAL_SPI_MODULE_ENABLED */
Expand Down

0 comments on commit 9ae0f65

Please sign in to comment.