You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/10/22 13:06:22 UTC

[GitHub] [incubator-nuttx] davids5 commented on a change in pull request #4702: armv7-m,armv7-r,armv8-m:MPU Add mpu_reset and ARM_MPU_EARLY_RESET

davids5 commented on a change in pull request #4702:
URL: https://github.com/apache/incubator-nuttx/pull/4702#discussion_r734523590



##########
File path: arch/arm/src/stm32/stm32_mpuinit.c
##########
@@ -78,6 +78,12 @@ void stm32_mpuinitialize(void)
 
   mpu_showtype();
 
+#if defined(CONFIG_MPU_RESET)
+  /* Reset MPU if enabled */
+
+  mpu_reset();

Review comment:
       Because if CONFIG_ARM_MPU_EARLY_RESET is SET and CONFIG_MPU_RESET  is NOT SET, then only 1 reset is done. The early one.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org