/
platformio.ini
57 lines (53 loc) · 1.36 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
;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'LIGHTSWITCH_CORE_EXAMPLE'
[platformio]
default_envs = nodemcu
[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}
!python inject-config.py
build_unflags =
-std=gnu++17
-std=gnu++1z
-std=c17
lib_deps =
https://github.com/geeksunny/especially-useful.git
[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=115200'
${common.debug_flags}
!python inject-config.py
build_unflags =
-std=gnu++17
-std=gnu++1z
-std=c17
lib_deps =
https://github.com/geeksunny/especially-useful.git