/
platformio.ini
60 lines (56 loc) · 1.49 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
;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
[common]
debug_flags = -D'SPHUE_EXAMPLE_PROJECT'
[platformio]
default_envs = esp12e
[env:esp12e]
board = esp12e
platform = espressif8266
platform_packages =
; use upstream Git version
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
framework = arduino
monitor_speed = 115200
build_flags =
-std=c++11
-std=c11
-D'BAUD_RATE=115200'
${common.debug_flags}
build_unflags =
-std=gnu++17
-std=gnu++1z
-std=c17
lib_deps =
https://github.com/geeksunny/especially-useful.git
https://github.com/geeksunny/especially-rested.git
;lib_ldf_mode = deep
monitor_port = /dev/cu.usbserial-141220
[env:nodemcu]
board = nodemcuv2
platform = espressif8266
platform_packages =
; use upstream Git version
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
framework = arduino
monitor_speed = 9600
build_flags =
-std=c++11
-std=c11
-D'BAUD_RATE=9600'
${common.debug_flags}
build_unflags =
-std=gnu++17
-std=gnu++1z
-std=c17
lib_deps =
https://github.com/geeksunny/especially-useful.git
https://github.com/geeksunny/especially-rested.git
;lib_ldf_mode = deep