This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git

commit 6c1dd60bc6a0af6774eaef5e987301d58b521b12
Author: Christopher Collins <ccoll...@apache.org>
AuthorDate: Wed Feb 14 15:04:50 2018 -0800

    img_mgmt (Zephyr) - Conditionally select if MPU.
    
    Enabling img_mgmt was automatically selecting MPU_ALLOW_FLASH_WRITE.
    This setting can only be selected if the target platform has an MPU.
    Now, this setting only gets selected if CPU_HAS_MPU is already enabled.
---
 cmd/img_mgmt/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/img_mgmt/Kconfig b/cmd/img_mgmt/Kconfig
index f8072b8..3a581c6 100644
--- a/cmd/img_mgmt/Kconfig
+++ b/cmd/img_mgmt/Kconfig
@@ -19,7 +19,7 @@ menuconfig MCUMGR_CMD_IMG_MGMT
     bool
     prompt "Enable mcumgr handlers for image management"
     select FLASH
-    select MPU_ALLOW_FLASH_WRITE
+    select MPU_ALLOW_FLASH_WRITE if CPU_HAS_MPU
     select IMG_MANAGER
     select MCUBOOT_IMG_MANAGER
 

-- 
To stop receiving notification emails like this one, please contact
ccoll...@apache.org.

Reply via email to