-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
65 lines (57 loc) · 1.95 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
61
62
63
64
65
; 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
; 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
[defines]
; Serial speed 74880 in order to be able to read the first boot messages on the serial console
monitor_baud = 74880
; Serial speed 230400 in order to be able to fast upload the firmware
upload_baud = 230400
[env:d1_mini]
platform = espressif8266
board = d1_mini
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.4m1m.ld
;board_build.filesystem = littlefs
framework = arduino
upload_speed = ${defines.upload_baud}
monitor_speed = ${defines.monitor_baud}
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-D SERIAL_SPEED=${defines.monitor_baud}
-D ASYNC_TCP_SSL_ENABLED=0
-D HOMIE_CONFIG=0
-D HOMIE_MDNS=0
-D DEBUG_APP=1
; -D HOMIE_LITTLEFS
-Wall
lib_compat_mode = strict
lib_deps =
https://github.com/kitesurfer1404/WS2812FX.git#master
https://github.com/Makuna/NeoPixelBus.git#master
https://github.com/homieiot/homie-esp8266.git#develop
https://github.com/RobAxt/SyslogStream.git#main
https://github.com/arcao/Syslog.git#master
https://github.com/rlogiacco/CircularBuffer.git#master
lib_ignore =
ESP Async WebServer
; Download data folder to SPIFF
; pio run --target uploadfs
; pio run --target erase
; Download firmware witout rebuild
; pio run -t nobuild -t upload
; pio run --target upload