-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
57 lines (50 loc) · 1.54 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
; 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]
extra_configs =
secret.ini
[common]
build_flags =
-DMQTT_MAX_PACKET_SIZE=1024
-DTASKER_MAX_TASKS=10
-DASYNC_TCP_SSL_ENABLED
${secret.build_flags}
[env]
platform = espressif8266
framework = arduino
monitor_speed = 74880
lib_deps =
AsyncMqttClient
WiFiManager
[env:esp12_devenv_usb]
board = esp12e
build_flags = ${common.build_flags} -DHARDWARE_TEST
[env:esp12_devenv_ota]
board = esp12e
upload_protocol = espota
upload_port = "devenv.local"
build_flags = ${common.build_flags} -DHARDWARE_TEST
[env:esp01_usb]
board = esp01_1m
board_build.flash_mode = dout
build_flags = ${common.build_flags} -DHARDWARE_KITCHEN_LIGHT
; build_flags = ${common.build_flags} -DHARDWARE_COINTREAU_BOTTLE
; build_flags = ${common.build_flags} -DHARDWARE_HANGING_BULBS
[env:esp01_ota]
board = esp01_1m
board_build.flash_mode = dout
upload_protocol = espota
build_flags = ${common.build_flags} -DHARDWARE_KITCHEN_LIGHT
upload_port = "kitchen_light.local"
; build_flags = ${common.build_flags} -DHARDWARE_COINTREAU_BOTTLE
; upload_port = "cointreau_bottle.local"
; build_flags = ${common.build_flags} -DHARDWARE_HANGING_BULBS
; upload_port = "hanging_bulbs.local"