summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/stm32/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/flash.c b/ports/stm32/flash.c
index 2cc6c390b..12fa523cd 100644
--- a/ports/stm32/flash.c
+++ b/ports/stm32/flash.c
@@ -133,7 +133,7 @@ static const flash_layout_t flash_layout[] = {
#error Unsupported processor
#endif
-#if defined(STM32H723xx)
+#if defined(STM32H723xx) || defined(STM32H750xx)
// get the bank of a given flash address
static uint32_t get_bank(uint32_t addr) {