diff --git a/configs/sam4s-xplained-pro/TODO.txt b/configs/sam4s-xplained-pro/TODO.txt new file mode 100644 index 00000000000..03b1883822c --- /dev/null +++ b/configs/sam4s-xplained-pro/TODO.txt @@ -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. + diff --git a/configs/sam4s-xplained-pro/nsh/defconfig b/configs/sam4s-xplained-pro/nsh/defconfig index 14dba27702e..12a4402b12a 100644 --- a/configs/sam4s-xplained-pro/nsh/defconfig +++ b/configs/sam4s-xplained-pro/nsh/defconfig @@ -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 #