File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,27 @@ cd SmartEVSE-3.5/SmartEVSE
1212pio 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+
1525For versions older than v3.6.0, build the spiffs filesystem:
1626* Compile spiffs.bin: ` pio run -t buildfs `
1727
28+ If you get all kinds of mongoose compile errors (mg_ ....), that means that your python environment is not installed correctly.
29+ If you execute:
30+ ```
31+ python packfs.py
32+ ```
33+ this should generate a fresh src/packed_fs.c file.
34+
35+
1836# Flashing the firmware
19371 . Almost always, even when your webserver seems not to be working, the http://ipaddress/update link will be working;
2038 this is the simplest way to flash your firmware; with the "Choose file" option you can flash any firmware[ .debug] .bin you downloaded or built.
You can’t perform that action at this time.
0 commit comments