OVMS3-idf/components/driver
Alex Lisitsyn a952eb1a92 driver: add rs485 half duplex interface support to uart driver (fix indentation after review)
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
uart.c/h: fix param errors
test_uart.c: Remove GCC warning supress
uart.rst: fix the notes
rs485_example.c: fix output

The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.

TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
..
include/driver driver: add rs485 half duplex interface support to uart driver (fix indentation after review) 2018-07-02 15:24:58 +02:00
test driver: add rs485 half duplex interface support to uart driver (update after review) 2018-07-02 15:24:58 +02:00
adc1_i2s_private.h driver(i2s): fix broken i2s adc mode 2018-02-07 17:17:20 +08:00
component.mk build system: Refactor component.mk to not need component_common.mk 2016-11-10 15:52:22 +11:00
gpio.c soc: Fix check_long_hold_gpio and move def to soc 2018-06-22 09:20:27 +05:00
i2c.c driver(i2c, rmt):Add intr_flag setting to ESP_INTR_FLAG_IRAM support when enable psram. 2018-05-21 09:37:56 +08:00
i2s.c fix i2s mix result and error code 2018-05-17 10:59:04 +08:00
Kconfig feature(spi_master): allow to place functions into IRAM to get higher efficiency 2018-06-14 20:22:40 +08:00
ledc.c driver(ledc): fix duty and fade issues and add thread-safe version APIs. 2018-05-14 12:27:21 +08:00
mcpwm.c feature: add Motor Control PWM(mcpwm) driver 2017-05-12 15:47:59 +08:00
pcnt.c driver(pcnt): Add some APIs to support each unit can have it's own interrupt handler. 2018-04-11 16:15:09 +08:00
periph_ctrl.c component/bt: implement bluetooth modem sleep mode, one mode for BLE only and another for dual mode bluetooth 2018-05-19 15:37:26 +08:00
rmt.c driver(rmt):Add API supports sending uint8_t type data. 2018-05-22 01:55:44 +00:00
rtc_module.c soc: Fix check_long_hold_gpio and move def to soc 2018-06-22 09:20:27 +05:00
sdio_slave.c chore(sdio_slave): format source files 2018-06-20 07:00:05 +00:00
sdmmc_host.c feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature 2018-06-14 12:04:22 +08:00
sdmmc_private.h feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature 2018-06-14 12:04:22 +08:00
sdmmc_transaction.c feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature 2018-06-14 12:04:22 +08:00
sdspi_crc.c driver: SD protocol driver for SPI peripheral 2017-07-20 13:43:07 +08:00
sdspi_crc.h driver: SD protocol driver for SPI peripheral 2017-07-20 13:43:07 +08:00
sdspi_host.c sdspi: handle delayed responses for data write commands 2018-04-26 10:04:44 +08:00
sdspi_private.h sdmmc: improve error handling during SPI mode init 2018-04-11 11:11:17 +08:00
sdspi_transaction.c feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature 2018-06-14 12:04:22 +08:00
sigmadelta.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
spi_common.c bugfix(spi): resolve the glitch that happens during initialization 2018-06-14 11:29:16 +08:00
spi_master.c Merge branch 'feature/spi_functions_in_iram' into 'master' 2018-06-19 07:25:12 +08:00
spi_slave.c refactor(spi): move pin information into soc folder 2018-06-14 11:29:15 +08:00
timer.c Timer API docs update, refactored example 2017-10-27 07:13:59 +02:00
uart.c driver: add rs485 half duplex interface support to uart driver (update after review) 2018-07-02 15:24:58 +02:00