forked from nrwiersma/ConfigManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
35 lines (31 loc) · 1018 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[platformio]
default_envs = nodemcuv2
; set to "localbuild" to compile standalone
; set to "nonlocalbuild" to use as library (this prevents a double definition of setup and loop)
[debug]
;build_flags = -D localbuild
build_flags = -D nonlocalbuild
[common]
lib_deps =
ArduinoJson
[env:nodemcuv2]
platform = https://github.com/platformio/platform-espressif8266.git
board = d1_mini
framework = arduino
monitor_speed = 115200
build_flags = -std=c++11, ${debug.build_flags}, -D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH, -DARDUINO_ARCH_ESP8266
lib_ldf_mode = deep
board_build.f_flash = 80000000L
board_build.ldscript = eagle.flash.4m3m.ld
upload_speed = 115200
lib_deps = ${common.lib_deps}
test_filter = embedded
[env:esp32]
platform = https://github.com/platformio/platform-espressif32.git
board = esp-wrover-kit
framework = arduino
board_build.partitions = noota_3g.csv
build_flags = -std=c++11, ${debug.build_flags}, -DARDUINO_ARCH_ESP32
lib_ldf_mode = deep
lib_deps = ${common.lib_deps}
test_filter = embedded