-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
58 lines (54 loc) · 1.5 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
; 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:sonoff_th]
platform = espressif8266
board = sonoff_th
framework = arduino
board_build.filesystem = littlefs
board_build.ldscript = eagle.flash.1m64.ld
lib_deps =
links2004/WebSockets @ ^2.3.6
bblanchon/ArduinoJson @ ^6.18.0
kitesurfer1404/WS2812FX@^1.3.4
makuna/NeoPixelBus@^2.6.9
monitor_filters = esp8266_exception_decoder, log2file
build_flags =
-D BEARSSL_SSL_BASIC
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DWIFI_PASSWORD="\"xxxx\""
-DWIFI_SSID="\"FBI Van\""
-DHOST_SECRET="\"1234\""
-DHOST_ADDRESS="\"https://192.168.1.102:5000\""
-DDEVICE_NAME="\"TesterLock\""
-DOTA_PASSWORD="\"twoguysfromquantico\""
-DSKELETON_CARD=1234
-DN_LEDS=1
-DINTERLOCK
-DRGBW
-DOLD_READER
[env:ota]
platform = espressif8266
board = sonoff_th
framework = arduino
board_build.filesystem = littlefs
board_build.ldscript = eagle.flash.1m64.ld
lib_deps =
links2004/WebSockets @ ^2.3.6
bblanchon/ArduinoJson @ ^6.18.0
kitesurfer1404/WS2812FX@^1.3.4
makuna/NeoPixelBus@^2.6.9
build_flags =
-D BEARSSL_SSL_BASIC
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
upload_protocol = espota
upload_port = 10.0.0.124
upload_flags =
--port=8266
--auth=twoguysfromquantico