forked from dniklaus/wiring-iot-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
101 lines (89 loc) · 1.88 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
[platformio]
default_envs =
; d1_mini
; huzzah
; nodemcu
lolin32
; esp32doit-devkit-v1
# Modify this line to build and upload examples from the examples folder e.g. examples/dmn/
src_dir = src
[common]
build_flags_ext =
lib_deps_builtin =
SPI
Wire
lib_deps_external =
ArduinoJson
dbg-trace@>=1.1.0
debug-cli@>=1.3.0
https://github.com/dniklaus/Arduino-SerialCommand
https://github.com/dniklaus/wiring-app-debug#2.0.1
https://github.com/dniklaus/arduino-utils-mem#2.1.0
https://github.com/me-no-dev/ESPAsyncWebServer.git
NTPClient
PubSubClient
Base64
lib_deps_8266 =
ESP8266HTTPClient
lib_deps_32 =
WiFiClientSecure
HTTPClient
AsyncTCP
[env]
framework = arduino
build_flags =
${common.build_flags_ext}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
[env:d1_mini]
platform = espressif8266
board = d1_mini
board_build.filesystem = littlefs
lib_deps =
${env.lib_deps}
${common.lib_deps_8266}
[env:huzzah]
platform = espressif8266
board = huzzah
lib_deps =
${env.lib_deps}
${common.lib_deps_8266}
[env:nodemcu]
platform = espressif8266
board = nodemcuv2
lib_deps =
${env.lib_deps}
${common.lib_deps_8266}
[env:lolin32]
platform = espressif32
board = lolin32
build_flags =
${env.build_flags}
-DBOARD_LOLIN_D32
lib_deps =
${env.lib_deps}
${common.lib_deps_32}
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
lib_deps =
${env.lib_deps}
${common.lib_deps_32}