mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-17 15:15:02 +00:00
Merge branch 'feat/add_example_usj_v5.2' into 'release/v5.2'
change(usb_serial_jtag): Add example for usb serial jtag echo (backport v5.2) See merge request espressif/esp-idf!30019
This commit is contained in:
@@ -161,6 +161,15 @@ static inline int usb_serial_jtag_ll_txfifo_writable(void)
|
||||
* @brief Flushes the TX buffer, that is, make it available for the
|
||||
* host to pick up.
|
||||
*
|
||||
* @note When fifo is full (with 64 byte), HW will flush the buffer automatically,
|
||||
* if this function is called directly after, this effectively turns into a
|
||||
* no-op. Because a 64-byte packet will be interpreted as a not-complete USB
|
||||
* transaction, you need to transfer either more data or a zero-length packet
|
||||
* for the data to actually end up at the program listening to the CDC-ACM
|
||||
* serial port. To send a zero-length packet, call
|
||||
* usb_serial_jtag_ll_txfifo_flush() again when
|
||||
* usb_serial_jtag_ll_txfifo_writable() returns true.
|
||||
*
|
||||
* @return na
|
||||
*/
|
||||
static inline void usb_serial_jtag_ll_txfifo_flush(void)
|
||||
|
Reference in New Issue
Block a user