Browse Source

add iwdg driver

XXXXzzzz000 6 years ago
parent
commit
5e95c57456
1 changed files with 3 additions and 0 deletions
  1. 3 0
      bsp/stm32f10x-HAL/drivers/SConscript

+ 3 - 0
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']