Skip to content

Commit

Permalink
ports/stm32: Use the first free MPU region for Open-AMP.
Browse files Browse the repository at this point in the history
  • Loading branch information
iabdalkader committed Jul 20, 2024
1 parent bd1a767 commit 6c22ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/stm32/mpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#define MPU_REGION_QSPI3 (MPU_REGION_NUMBER3)
#define MPU_REGION_SDRAM1 (MPU_REGION_NUMBER4)
#define MPU_REGION_SDRAM2 (MPU_REGION_NUMBER5)
#define MPU_REGION_OPENAMP (MPU_REGION_NUMBER15)
#define MPU_REGION_OPENAMP (MPU_REGION_NUMBER6)

// Only relevant on CPUs with D-Cache, must be higher priority than SDRAM
#define MPU_REGION_DMA_UNCACHED_1 (MPU_REGION_NUMBER6)
Expand Down

0 comments on commit 6c22ee2

Please sign in to comment.