Skip to content

Commit 6531bf9

Browse files
author
dingo35
committed
update docs
1 parent 4c3c1ce commit 6531bf9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/building_flashing.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ cd SmartEVSE-3.5/SmartEVSE
1212
pio run
1313
```
1414

15+
To enable the telnet server that allows you to online view the debug logs, add the compile flag like this:
16+
```
17+
PLATFORMIO_BUILD_FLAGS='-DDBG=1' pio run
18+
```
19+
20+
Other compile flags:
21+
* DDBG=0 : no logging (default)
22+
* DDBG=2 : log via USB-C connector
23+
* DMIN_CURRENT=5 ; decrease minimum allowed current from 6A to 5A ----> THIS IS NOT FOLLOWING THE PROTOCOLS SO AT YOUR OWN RISK !!!
24+
1525
For versions older than v3.6.0, build the spiffs filesystem:
1626
* Compile spiffs.bin: `pio run -t buildfs`
1727

0 commit comments

Comments
 (0)