-
Notifications
You must be signed in to change notification settings - Fork 6
/
platformio.ini
45 lines (41 loc) · 1.16 KB
/
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
36
37
38
39
40
41
42
43
44
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = esp8266
[env:esp8266]
platform = espressif8266
board = esp12e
framework = arduino
lib_deps =
WiFiManager
ESP8266WiFi @ ^1.0
ESP8266WebServer @ ^1.0
DNSServer @ ^1.1.1
bblanchon/ArduinoJson @ ^6.17.2
build_flags =
-D ARDUINOJSON_USE_LONG_LONG=1
-D ARDUINOJSON_USE_DOUBLE=1
extra_scripts =
scripts/makeweb.py
monitor_speed = 115200
test_ignore = test_desktop
; Comment the 2 lines below if upload using USB/Serial cable.
; Normally it is only needed the first time programming the
; MCU or if the firmware is broken.
; After first time programming, OTA should be possible.
upload_protocol = espota
upload_port = emeter
[env:testnative]
platform = native
lib_deps =
bblanchon/ArduinoJson @ ^6.17.2
;build_flags =
; -D ARDUINOJSON_ENABLE_ARDUINO_STRING=1
;lib_compat_mode = off