hla: add a way to pass arbitrary commands from user to layout and use for ICDI
TI's ICDI adapter supports some additional commands which a user might want to run for debugging or other purposes, the most useful of them being "debug unlock" that fully mass-erases the device and unprotects the flash. Change-Id: I26990e736094367f92106fa891e9bb8fb0382efb Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2263 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
committed by
Spencer Oliver
parent
44394c2a77
commit
1f6a66ab7f
@@ -777,4 +777,5 @@ struct hl_layout_api_s icdi_usb_layout_api = {
|
||||
.write_mem = icdi_usb_write_mem,
|
||||
.write_debug_reg = icdi_usb_write_debug_reg,
|
||||
.override_target = icdi_usb_override_target,
|
||||
.custom_command = icdi_send_remote_cmd,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user