diff --git a/bsp/stm32/stm32l010-st-nucleo/SConstruct b/bsp/stm32/stm32l010-st-nucleo/SConstruct index a47cac3b41..465a4a2ab0 100644 --- a/bsp/stm32/stm32l010-st-nucleo/SConstruct +++ b/bsp/stm32/stm32l010-st-nucleo/SConstruct @@ -50,7 +50,7 @@ Export('SDK_LIB') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -stm32_library = 'STM32L4xx_HAL' +stm32_library = 'STM32L0xx_HAL' rtconfig.BSP_LIBRARY_TYPE = stm32_library bsp_vdir = 'build' diff --git a/bsp/stm32/stm32l053-st-nucleo/SConstruct b/bsp/stm32/stm32l053-st-nucleo/SConstruct index a47cac3b41..465a4a2ab0 100644 --- a/bsp/stm32/stm32l053-st-nucleo/SConstruct +++ b/bsp/stm32/stm32l053-st-nucleo/SConstruct @@ -50,7 +50,7 @@ Export('SDK_LIB') # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) -stm32_library = 'STM32L4xx_HAL' +stm32_library = 'STM32L0xx_HAL' rtconfig.BSP_LIBRARY_TYPE = stm32_library bsp_vdir = 'build'