summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Leech <andrew.leech@planetinnovation.com.au>2023-06-07 13:35:02 +1000
committerDamien George <damien@micropython.org>2023-11-17 13:17:13 +1100
commit37c1c5fa49aec4b6e5813719341af442fa45a9d9 (patch)
tree72e668c6b543911d25d917a5403455ee349c1804
parent8b1980ad450ea2b34af4b831a8c655ba08dee800 (diff)
stm32/mpu: Enable STM32WB mpu use to support qspi flash.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
-rw-r--r--ports/stm32/mpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/mpu.h b/ports/stm32/mpu.h
index e95a07da9..b3e2aec2d 100644
--- a/ports/stm32/mpu.h
+++ b/ports/stm32/mpu.h
@@ -26,7 +26,7 @@
#ifndef MICROPY_INCLUDED_STM32_MPU_H
#define MICROPY_INCLUDED_STM32_MPU_H
-#if (defined(STM32F4) && defined(MICROPY_HW_ETH_MDC)) || defined(STM32F7) || defined(STM32H7)
+#if (defined(STM32F4) && defined(MICROPY_HW_ETH_MDC)) || defined(STM32F7) || defined(STM32H7) || defined(STM32WB)
#define MPU_REGION_ETH (MPU_REGION_NUMBER0)
#define MPU_REGION_QSPI1 (MPU_REGION_NUMBER1)