-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
44 lines (38 loc) · 1.27 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
[env:default]
platform = [email protected]
board = esp12e
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.4m1m.ld
board_name = "Shelly 1 4M"
framework = arduino
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-D ASYNC_TCP_SSL_ENABLED=1
-D HOMIE_MDNS=0
-D HOMIE_CONFIG=0
-D SERIAL_SPEED=115200
lib_compat_mode = strict
lib_ldf_mode = off
# ESPAsyncTCP fix for #129
# async-mqtt-client fix for #121
# homie-esp8266 fix for #648
lib_deps =
Ticker
https://github.com/kleini/ESPAsyncTCP#49b497569045d063c817b5c7ae4baa8eaf8313bf
https://github.com/kleini/async-mqtt-client.git#f1b42054815ad82fed4519bce7febb7f1601560f
https://github.com/homieiot/homie-esp8266.git#a282840bde090b4422be10bc390c4d9b8b8685d0
SPI
Wire
https://github.com/kleini/homie-node-collection.git#4bc761068f704bc934f438807cedc7fc83b0962f
monitor_speed = 115200
upload_port = /dev/ttyUSB0