Skip to content

Commit 37c1c5f

Browse files
pi-anldpgeorge
authored andcommitted
stm32/mpu: Enable STM32WB mpu use to support qspi flash.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
1 parent 8b1980a commit 37c1c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/stm32/mpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#ifndef MICROPY_INCLUDED_STM32_MPU_H
2727
#define MICROPY_INCLUDED_STM32_MPU_H
2828

29-
#if (defined(STM32F4) && defined(MICROPY_HW_ETH_MDC)) || defined(STM32F7) || defined(STM32H7)
29+
#if (defined(STM32F4) && defined(MICROPY_HW_ETH_MDC)) || defined(STM32F7) || defined(STM32H7) || defined(STM32WB)
3030

3131
#define MPU_REGION_ETH (MPU_REGION_NUMBER0)
3232
#define MPU_REGION_QSPI1 (MPU_REGION_NUMBER1)

0 commit comments

Comments
 (0)