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
@@ -43,7 +43,7 @@ class RemoteBitbang_client: public JtagInterface {
* \param[in] flush_buffer: force buffer to be send or not
* \return <= 0 if something wrong, len otherwise
*/
int writeTMS(const uint8_t *tms, uint32_t len, bool flush_buffer) override;
int writeTMS(const uint8_t *tms, uint32_t len, bool flush_buffer, const uint8_t tdi = 1) override;
/*!
* \brief write and read len bits with optional tms set to 1 if end