atanisoft / ESP32CommandStation

An ESP32 based DCC Command Station with integrated OpenLCB (LCC) --- NOTE: this project is not under active development.
https://atanisoft.github.io/ESP32CommandStation/
GNU General Public License v3.0
90 stars 34 forks source link

DCC Signal->OPS->Railcom UART selection is ambiguous #44

Closed TrainzLuvr closed 4 years ago

TrainzLuvr commented 4 years ago

When enabling Railcom, an option is presented to select a Railcom UART: UART1 or UART2.

This is rather ambiguous because UART1 is already reserved to provide optional output on pins 5 and 16 via J3, as per the current ESP32CS schematic.

I believe there should not be an option to select UART (or default to UART2), unless UART1 could be shared somehow between Railcom and the UART1 header J3.

atanisoft commented 4 years ago

This is one downside of the current idf.py menuconfig utility, there is no clear way to declare a set of defaults and target specific overlays. In the CI build I work around this limitation here by adding the extra defaults file, but I have not found a way to automate this via idf.py menuconfig or within VSCode via the extension.