acassis commented on code in PR #15562:
URL: https://github.com/apache/nuttx/pull/15562#discussion_r1916864994


##########
arch/Kconfig:
##########
@@ -538,6 +538,14 @@ config ARCH_PERF_EVENTS
                Enable hardware performance counter support for perf events. If
                disabled, perf events will use software events only.
 
+config ARCH_PROTECT_ZERO_ADDRESS
+       bool "Protect address zero"
+       depends on ARCH_HAVE_DEBUG
+       default n
+       ---help---
+               When the program accesses address 0, it will assert 
automatically.
+               Hardware support is required, such as ARM V8M DWT

Review Comment:
   You mean ARCH_HAVE_DEBUG not ARCH_HAVE_HWDEBUG, right? But ARMV7M also has 
ARCH_HAVE_DEBUG and probably doesn't have this feature, correct? RISC-V also 
have ARCH_HAVE_DEBUG



-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to