all jtag cable: no more hardcoding tdi bit with writeTMS

This commit is contained in:
Gwenhael Goavec-Merou
2023-10-29 06:41:39 +01:00
parent 43ae0d8fdd
commit 59b56bcc95
29 changed files with 54 additions and 37 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class JtagInterface {
* \param len: number of bit to send
* \return number of bit send/received
*/
virtual int writeTMS(const uint8_t *tms, uint32_t len, bool flush_buffer) = 0;
virtual int writeTMS(const uint8_t *tms, uint32_t len, bool flush_buffer, const uint8_t tdi = 1) = 0;
/*!
* \brief send TDI bits (mainly in shift DR/IR state)