Difference between revisions of "Modular ESP Firmware - Baseline - Work Environment"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== platformio.ini == | == platformio.ini == | ||
+ | |||
+ | === Most ESP8266 Devices === | ||
<syntaxhighlight lang="ini" line="1"> | <syntaxhighlight lang="ini" line="1"> | ||
− | |||
[env:esp8266] | [env:esp8266] | ||
platform = espressif8266 | platform = espressif8266 | ||
Line 11: | Line 12: | ||
build_flags = -D DEBUG | build_flags = -D DEBUG | ||
+ | </syntaxhighlight> | ||
+ | === esp-01 === | ||
+ | <syntaxhighlight lang="ini" line="1"> | ||
+ | [env:esp01] | ||
+ | platform = espressif8266 | ||
+ | board = esp01 | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | === esp-M3 === | ||
+ | <syntaxhighlight lang="ini" line="1"> | ||
+ | [env:espM3] | ||
+ | platform = espressif8266 | ||
+ | board = esp8285 | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 12:09, 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
9 build_flags = -D DEBUG
esp-01
1 [env:esp01]
2 platform = espressif8266
3 board = esp01
esp-M3
1 [env:espM3]
2 platform = espressif8266
3 board = esp8285