From cc00e948ad184df39af2e594839541710b622a17 Mon Sep 17 00:00:00 2001 From: andreika-git Date: Wed, 13 Dec 2023 00:05:07 +0200 Subject: [PATCH] more flexible #define STM32_WDG_USE_IWDG --- firmware/hw_layer/ports/stm32/mcuconf_common_f4_f7.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/hw_layer/ports/stm32/mcuconf_common_f4_f7.h b/firmware/hw_layer/ports/stm32/mcuconf_common_f4_f7.h index dba7c03337..241e4a6979 100644 --- a/firmware/hw_layer/ports/stm32/mcuconf_common_f4_f7.h +++ b/firmware/hw_layer/ports/stm32/mcuconf_common_f4_f7.h @@ -411,7 +411,9 @@ /* * WDG driver system settings. */ +#ifndef STM32_WDG_USE_IWDG #define STM32_WDG_USE_IWDG FALSE +#endif /* Some boards need to know clock early on boot. * F429-Discovery board configures clock and then SDRAM early on boot */