-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
45 lines (33 loc) · 1.09 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
env_default = esp12e
#env_default = d1_mini
[env:esp12e]
platform = espressif8266
board = esp12e
framework = arduino
lib_ldf_mode = chain+
lib_deps=HomieNodeCollection@^0.8.2, https://github.com/euphi/Automaton, 215, 13, 28, https://github.com/euphi/mpr121, SPI
#512 kb for ESP-ADC (in-circuit)
build_flags = -Wl,-Tesp8266.flash.512k64.ld
#build_flags = -Wl,-Tesp8266.flash.1m64.ld
upload_speed = 460800
#upload_speed = 921600
upload_resetmethod = ck
#upload_speed=115200
#targets = upload
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
lib_ldf_mode = chain+
lib_deps=HomieNodeCollection@^0.8.2, https://github.com/euphi/Automaton, 215, 13, 28, https://github.com/euphi/mpr121
upload_speed = 460800