xiaoxiang781216 commented on code in PR #15562:
URL: https://github.com/apache/nuttx/pull/15562#discussion_r1916858023
##########
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:
already depends on ARCH_HAVE_HWDEBUG
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]