summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXXXXzzzz000 <[email protected]>2018-10-17 16:05:33 +0800
committerXXXXzzzz000 <[email protected]>2018-10-17 16:05:33 +0800
commit5e95c574566adfd5512759b4f185121f84c6e58e (patch)
tree86d3e77cea348efb8d38953c380b29d8b2bd2a88
parent8107542d761489dd7c3046af7af24b94d5d03b49 (diff)
add iwdg driver
-rw-r--r--bsp/stm32f10x-HAL/drivers/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/stm32f10x-HAL/drivers/SConscript b/bsp/stm32f10x-HAL/drivers/SConscript
index 43c9b3f4a0..feb72bed10 100644
--- a/bsp/stm32f10x-HAL/drivers/SConscript
+++ b/bsp/stm32f10x-HAL/drivers/SConscript
@@ -23,6 +23,9 @@ if GetDepend(['RT_USING_SDCARD']):
if GetDepend(['RT_USING_I2C', 'RT_USING_I2C_BITOPS']):
src += ['drv_i2c.c']
+if GetDepend(['RT_USING_WDT']):
+ src += ['drv_iwg.c']
+
if rtconfig.CROSS_TOOL == 'gcc':
src += ['gcc_startup.s']