summaryrefslogtreecommitdiff
path: root/chip/stm32/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/config_chip.h')
-rw-r--r--chip/stm32/config_chip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/stm32/config_chip.h b/chip/stm32/config_chip.h
index f9dcc2fda7..1d7f95115d 100644
--- a/chip/stm32/config_chip.h
+++ b/chip/stm32/config_chip.h
@@ -125,8 +125,10 @@
*/
#define CONFIG_UART_TX_DMA
+#ifndef CHIP_FAMILY_STM32H7
/* Flash protection applies to the next boot, not the current one */
#define CONFIG_FLASH_PROTECT_NEXT_BOOT
+#endif /* !CHIP_FAMILY_STM32H7 */
/* Chip needs to do custom pre-init */
#define CONFIG_CHIP_PRE_INIT