Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo35 committed Nov 22, 2024
1 parent 4c3c1ce commit 6531bf9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/building_flashing.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ cd SmartEVSE-3.5/SmartEVSE
pio run
```

To enable the telnet server that allows you to online view the debug logs, add the compile flag like this:
```
PLATFORMIO_BUILD_FLAGS='-DDBG=1' pio run
```

Other compile flags:
* DDBG=0 : no logging (default)
* DDBG=2 : log via USB-C connector
* DMIN_CURRENT=5 ; decrease minimum allowed current from 6A to 5A ----> THIS IS NOT FOLLOWING THE PROTOCOLS SO AT YOUR OWN RISK !!!

For versions older than v3.6.0, build the spiffs filesystem:
* Compile spiffs.bin: `pio run -t buildfs`

Expand Down

0 comments on commit 6531bf9

Please sign in to comment.