-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathplatformio.ini
24 lines (22 loc) · 879 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
[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
[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
test_filter = embedded
; this should be replaced with the correct platform version once espressif8266 has caught up.
platform_packages =
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
toolchain-xtensa@~2.100300.210717