Add HAL_IWDG_MODULE_ENABLED to generic F4/F7

This commit is contained in:
Scott Lahteine 2019-11-01 21:54:08 -05:00
parent 93db4f4535
commit a5df89eef7

View file

@ -326,10 +326,10 @@ monitor_speed = 115200
# STM32F4 with STM32GENERIC
#
[env:STM32F4]
platform = ststm32@5.6.0
platform = ststm32
framework = arduino
board = disco_f407vg
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMCStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F7>
@ -339,10 +339,10 @@ monitor_speed = 250000
# STM32F7 with STM32GENERIC
#
[env:STM32F7]
platform = ststm32@5.6.0
platform = ststm32
framework = arduino
board = remram_v1
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMCStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F4>