Difference between revisions of "Modular ESP Firmware - Baseline - Work Environment"

From The TinkerNet Wiki
Jump to navigation Jump to search
Line 10: Line 10:
  
 
monitor_speed = 115200
 
monitor_speed = 115200
 +
; I like my serial comms fast.  (Without this line you get the default of 9600)
  
 
build_flags = -D DEBUG
 
build_flags = -D DEBUG
 +
; This is just plain handy.  You can use it to turn debugging output on/off...
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 19: Line 21:
 
platform = espressif8266
 
platform = espressif8266
 
board = esp01
 
board = esp01
 +
framework = arduino
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 26: Line 29:
 
platform = espressif8266
 
platform = espressif8266
 
board = esp8285
 
board = esp8285
 +
framework = arduino
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 12:31, 2 January 2021

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