]> granicus.if.org Git - esp-idf/commit
examples: freemodbus port serial slave move uart mode settings into example
authoraleks <aleks@espressif.com>
Mon, 3 Dec 2018 13:16:36 +0000 (14:16 +0100)
committeraleks <aleks@espressif.com>
Fri, 21 Dec 2018 08:54:26 +0000 (09:54 +0100)
commit6523d912f209a24e4d2a923217132d4c92315fb0
tree3264f48419d794c4d9a9471a91e11c1eec0034b1
parent2cac11f162113154b8a46f594894d10f4e08b7d9
examples: freemodbus port serial slave move uart mode settings into example

Update freemodbus component file esp-idf/components/freemodbus/port/portserial.c to remove UART mode settings;
Move UART mode settings into esp-idf/examples/protocols/modbus_slave/main/freemodbus.c
Move UART pin settings from Component config into example Kconfig.projbuild file
Move setup of UART port pins from freemodbus component into example file

TW#27721
Closes https://github.com/espressif/esp-idf/issues/2784#issuecomment-443600157
components/freemodbus/Kconfig
components/freemodbus/port/portserial.c
examples/protocols/modbus_slave/main/Kconfig.projbuild [new file with mode: 0644]
examples/protocols/modbus_slave/main/freemodbus.c