arch/xtensa: initial support for debugpoint api#15907
Conversation
|
[Experimental Bot, please feedback here] Yes, this PR appears to meet the basic NuttX requirements, but it's incomplete. Here's a breakdown: Strengths:
Weaknesses:
Conclusion: While the PR presents a good starting point, it needs further work to fully meet the NuttX requirements. Specifically, it needs to include actual testing logs, complete information about the testing environment, and address the missing details in the Impact section. Adding the missing link to the planned interrupt handler PR would also be beneficial. |
tmedicci
left a comment
There was a problem hiding this comment.
Hi @chirping78 , nice job!
Can you please improve the testing section on how to run the gdbstub and how to test it using a real HW? Also, being a new feature, can you please provide the related documentation?
|
@chirping78 @tmedicci does it require updating the Documentation/ ? |
Currently only To support
|
As said above, currently only |
jerpelea
left a comment
There was a problem hiding this comment.
please update commit title to
arch/xtensa: initial support for debugpoint api
Implement up_debugpoint_add/up_debugpoint_remove for xtensa. Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
tmedicci
left a comment
There was a problem hiding this comment.
Tried on ESP32-S3-DevKitC-1 board too.
|
@acassis @jerpelea @tmedicci @xiaoxiang781216 Would you please merge this PR? |
|
Thanks for submitting it, @chirping78! |
Summary
Implement up_debugpoint_add/up_debugpoint_remove for xtensa.
Impact
Can use
debugpointprogram to test code and data debugpoint.Currently the int handler here will call panic when the debugpoint hit, will improve the int handler with following PR.
Update 25/03/03: Have complete the debug int handler. When the debug interrupt is triggered, it will call the registered callback.
Testing
enable
CONFIG_LIB_GDBSTUBCONFIG_SYSTEM_DEBUGPOINTand disableCONFIG_NSH_DISABLE_MWto test.Take
esp32-devkitc:ostestas an example:debugpointw/o argument