-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathplatformio.ini
37 lines (33 loc) · 1.32 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
;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
[env:esp12e]
; target ARDUINO_ESP8266_ESP12
platform = [email protected]
;platform = espressif8266
board = esp12e
upload_protocol = esptool
framework = arduino
; ADD -D ELECTRAWIFI_NO_IR_RCV to remove the IR reception code
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
lib_deps = ArduinoJson@<6.17, [email protected], IRremoteESP8266
monitor_speed = 115200
;if using target esp01 with plaform espresif8266 at the latest version (instead of 2.5.0),
;you might need to modify some code in the Homie library since the way the URL client has been handled has changed.
[env:esp01]
;platform = [email protected]
;target define ARDUINO_ESP8266_ESP01
platform = espressif8266
board = esp01_1m
upload_protocol = esptool
framework = arduino
; ADD -D ELECTRAWIFI_NO_IR_RCV to remove the IR reception code
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
lib_deps = ArduinoJson@<6.17, [email protected], IRremoteESP8266
monitor_speed = 115200