Modular ESP Firmware - Baseline - Work Environment

From The TinkerNet Wiki
Jump to navigation Jump to search

platformio.ini

Most ESP8266 Devices

 1 [env:esp8266]
 2 platform = espressif8266
 3 board = esp07
 4 ; Pretty much ANY esp8266 board is an esp07 as far as Platformio is concerned
 5 framework = arduino
 6 
 7 monitor_speed = 115200
 8 ; I like my serial comms fast.  (Without this line you get the default of 9600)
 9 
10 build_flags = -D DEBUG
11 ; This is just plain handy.  You can use it to turn debugging output on/off...

esp-01

1 [env:esp01]
2 platform = espressif8266
3 board = esp01
4 framework = arduino

esp-M3

1 [env:espM3]
2 platform = espressif8266
3 board = esp8285
4 framework = arduino