[Upstream port] Add standard board examine, poll, reset, save_context functionality.
EvgeniiDidin opened this issue · 4 comments
EvgeniiDidin commented
There is necessary to define standard target-specific functions, which are used by openocd during init process.
- Adding arc_configure function
- Adding arc_examine function
- Adding halt function
- Adding arc_poll function
- Adding arc_[de]assert_reset functions
- Adding arc_save_context function
EvgeniiDidin commented
Commit, adding arc_configure function:
fbb6f2e
EvgeniiDidin commented
Commit, adding arc_examine function:
543d6ca
EvgeniiDidin commented
Commit, adding arc_hatl function:
33a27db
Code of the function is based on:
https://github.com/foss-for-synopsys-dwc-arc-processors/openocd/blob/arc-2019.03-release/src/target/arc_dbg.c#L522
Unfortunately there is no commit message, so changes will be displayed here:
- Function is moved from arc_dbg.* to arc.* files.
- Code from arc_dbg_enter_debug moved inside arc_halt function
- Reworked printing additional debug information
EvgeniiDidin commented