-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug: arc: expose thread relinquish cause
When a thread is preempted on ARC, caller-saved registers are saved on the stack automatically (RIRQ) or manually by the kernel ISR (FIRQ). Exposing the thread's relinquish cause hints the debugger that it can read more or less register values. Signed-off-by: Bruno Mendes <[email protected]>
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
scripts/west_commands/tests/nrf/generated_nrfutil_batch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"family": "NRF53_FAMILY", | ||
"operations": [ | ||
{ | ||
"operation": { | ||
"type": "recover" | ||
}, | ||
"core": "NRFDL_DEVICE_CORE_NETWORK", | ||
"operationId": "1" | ||
}, | ||
{ | ||
"operation": { | ||
"type": "recover" | ||
}, | ||
"operationId": "2" | ||
}, | ||
{ | ||
"operation": { | ||
"type": "program", | ||
"firmware": { | ||
"file": "/home/mendesb/zephyrproject/zephyr/scripts/west_commands/tests/nrf/nrf5340_net_only.hex", | ||
"format": "NRFDL_FW_INTEL_HEX" | ||
}, | ||
"chip_erase_mode": "ERASE_ALL", | ||
"verify": "VERIFY_READ" | ||
}, | ||
"core": "NRFDL_DEVICE_CORE_NETWORK", | ||
"operationId": "3" | ||
}, | ||
{ | ||
"operation": { | ||
"type": "reset", | ||
"option": "RESET_SYSTEM" | ||
}, | ||
"operationId": "4" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters