Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 479 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 479 Bytes

Platform.io is configured and can be run e.g.

$ pio run -t upload && pio device monitor -p /dev/ttyUSB0 -f esp8266_exception_decoder

You'll notice that Configuration.h contains a wifi connection array this can be defined in the PLATFORMIO_BUILD_FLAGS environment variable e.g.

$ PLATFORMIO_BUILD_FLAGS="'-DWIFI_SSID=\"my-ssid\"' '-DWIFI_PASS=\"my-password\"'" \
pio run -t upload && pio device monitor -p /dev/ttyUSB0 -f esp8266_exception_decoder