SAM4S Xplained Pro: Enable MPU. From Bob Doiron

This commit is contained in:
Gregory Nutt 2014-04-21 17:52:29 -06:00
parent 1fe2666c13
commit ebe23f362e
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,9 @@
- implement flash driver
- see arch/arm/src/stm32/stm32_flash.c and related
- both banks could be mapped with care taken not to erase the active code.
- perhaps the MPU could block code corruption?
- once implemented, the free() cmd replacement can show flash information.

View File

@ -124,7 +124,8 @@ CONFIG_ARCH_CHIP="sam34"
# CONFIG_ARMV7M_USEBASEPRI is not set
# CONFIG_ARCH_HAVE_FPU is not set
CONFIG_ARCH_HAVE_MPU=y
# CONFIG_ARMV7M_MPU is not set
CONFIG_ARMV7M_MPU=y
CONFIG_ARMV7M_MPU_NREGIONS=8
# CONFIG_DEBUG_HARDFAULT is not set
#