Browse Source

Add HAL_IWDG_MODULE_ENABLED to generic F4/F7

Scott Lahteine 4 years ago
parent
commit
a5df89eef7
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      platformio.ini

+ 4
- 4
platformio.ini View File

326
 # STM32F4 with STM32GENERIC
326
 # STM32F4 with STM32GENERIC
327
 #
327
 #
328
 [env:STM32F4]
328
 [env:STM32F4]
329
-platform      = ststm32@5.6.0
329
+platform      = ststm32
330
 framework     = arduino
330
 framework     = arduino
331
 board         = disco_f407vg
331
 board         = disco_f407vg
332
-build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
332
+build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
333
 lib_deps      = ${common.lib_deps}
333
 lib_deps      = ${common.lib_deps}
334
 lib_ignore    = Adafruit NeoPixel, TMCStepper
334
 lib_ignore    = Adafruit NeoPixel, TMCStepper
335
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F7>
335
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F7>
339
 # STM32F7 with STM32GENERIC
339
 # STM32F7 with STM32GENERIC
340
 #
340
 #
341
 [env:STM32F7]
341
 [env:STM32F7]
342
-platform      = ststm32@5.6.0
342
+platform      = ststm32
343
 framework     = arduino
343
 framework     = arduino
344
 board         = remram_v1
344
 board         = remram_v1
345
-build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
345
+build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
346
 lib_deps      = ${common.lib_deps}
346
 lib_deps      = ${common.lib_deps}
347
 lib_ignore    = Adafruit NeoPixel, TMCStepper
347
 lib_ignore    = Adafruit NeoPixel, TMCStepper
348
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F4>
348
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F4>

Loading…
Cancel
Save