adapter: add command "adapter [de]assert srst|trst [[de]assert srst|trst]"
Inspired from http://openocd.zylin.com/#/c/3720/1 Add commands to control the adapter's signals srst and trst. Add macros for the flag's values assert/deassert to make clear what they mean and to propose a uniform set of values across the code. Change-Id: Ia8b13f4ded892942916cad7bda49540a896e7218 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/5277 Tested-by: jenkins
This commit is contained in:
committed by
Tomas Vanek
parent
deff24afa1
commit
fafe6dfc9c
@@ -326,6 +326,7 @@ struct jtag_interface {
|
||||
|
||||
extern const char * const jtag_only[];
|
||||
|
||||
int adapter_resets(int assert_trst, int assert_srst);
|
||||
void adapter_assert_reset(void);
|
||||
void adapter_deassert_reset(void);
|
||||
int adapter_config_trace(bool enabled, enum tpiu_pin_protocol pin_protocol,
|
||||
|
||||
Reference in New Issue
Block a user