Use UEXT serial for ThingSet by default

Rationale: ESP32 modules can be used as gateways without firmware change.
This commit is contained in:
Martin Jäger
2021-04-14 11:41:52 +02:00
parent 8d8a8f06ad
commit 1943533360
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -153,6 +153,16 @@ CONFIG_BAT_TYPE_LFP=y
CONFIG_BAT_NUM_CELLS=4
```
#### Define serial for ThingSet protocol
By default, the charge controller uses the serial interface in the UEXT connector for the [ThingSet protocol](https://libre.solar/thingset/). This allows to use WiFi modules with ESP32 without any firmware change.
Add the following configuration if you prefer to use the serial of the LS.one port or the additional debug RX/TX pins present on most boards:
```
CONFIG_UEXT_SERIAL_THINGSET=n
```
### Custom functions (separate C/C++ files)
If you want experiment with some completely new functions for the charge controller, new files should be stored in a subfolder `src/custom`.
+2 -2
View File
@@ -328,10 +328,10 @@ config EXT_OLED_BRIGHTNESS
config UEXT_SERIAL_THINGSET
depends on THINGSET_SERIAL
bool "Use UEXT serial for ThingSet interface"
default n
default y
help
If the ThingSet interface is not attached to the serial port in the UEXT connector, the
debug serial connector is used (if existing).
serial in the LS.one port or the debug connector is used (if existing).
endmenu # UEXT port