Browse Source

Add HAL_IWDG_MODULE_ENABLED to generic F4/F7

Scott Lahteine 5 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,10 +326,10 @@ monitor_speed     = 115200
326 326
 # STM32F4 with STM32GENERIC
327 327
 #
328 328
 [env:STM32F4]
329
-platform      = ststm32@5.6.0
329
+platform      = ststm32
330 330
 framework     = arduino
331 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 333
 lib_deps      = ${common.lib_deps}
334 334
 lib_ignore    = Adafruit NeoPixel, TMCStepper
335 335
 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
339 339
 # STM32F7 with STM32GENERIC
340 340
 #
341 341
 [env:STM32F7]
342
-platform      = ststm32@5.6.0
342
+platform      = ststm32
343 343
 framework     = arduino
344 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 346
 lib_deps      = ${common.lib_deps}
347 347
 lib_ignore    = Adafruit NeoPixel, TMCStepper
348 348
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F4>

Loading…
Cancel
Save