]> granicus.if.org Git - esp-idf/commit
Modify UART driver:
authorWangjialin <wangjialin@espressif.com>
Tue, 1 Nov 2016 01:22:09 +0000 (09:22 +0800)
committerWangjialin <wangjialin@espressif.com>
Tue, 1 Nov 2016 01:22:09 +0000 (09:22 +0800)
commit8d6b78232728d7a987a2cae690fdd820cf8cf36a
tree1d29e14d9bdba1f9f3be38184706028bdd272e62
parentd7ea61734b2474460fde113833a382a81ba88fb6
Modify UART driver:

1. Add a ring buffer for UART TX.
    If the buffer size is set to zero, driver will not use a buffer. But we need a task to send data from buffer to fifo. I tried directly copy data in ISR, but the code looked too long for ISR.
2. Modify the format in uart.h
components/driver/include/driver/uart.h
components/driver/uart.c