summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries/STM32L4xx_HAL/SConscript
diff options
context:
space:
mode:
authorEvalZero <[email protected]>2019-05-06 18:30:24 +0800
committerEvalZero <[email protected]>2019-05-06 19:56:01 +0800
commit943c5ccc66e59537ce00a773aca43978b296751d (patch)
tree0e06eb9d49ba9b80acd305ad2bb5ea797a7b5cb1 /bsp/stm32/libraries/STM32L4xx_HAL/SConscript
parentc57f2370adb07b450fbff36657f5c5bbba8e0c1a (diff)
[bsp][stm32l476-st-nucleo]add low power feature support for stm32l476-st-nucleo
Diffstat (limited to 'bsp/stm32/libraries/STM32L4xx_HAL/SConscript')
-rw-r--r--bsp/stm32/libraries/STM32L4xx_HAL/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/stm32/libraries/STM32L4xx_HAL/SConscript b/bsp/stm32/libraries/STM32L4xx_HAL/SConscript
index 5b130f5aa3..5eb48c406c 100644
--- a/bsp/stm32/libraries/STM32L4xx_HAL/SConscript
+++ b/bsp/stm32/libraries/STM32L4xx_HAL/SConscript
@@ -84,6 +84,9 @@ if GetDepend(['RT_USING_MTD_NOR']):
if GetDepend(['RT_USING_MTD_NAND']):
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_nand.c']
+if GetDepend(['RT_USING_PM']):
+ src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.c']
+
if GetDepend(['BSP_USING_ON_CHIP_FLASH']):
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c']
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c']