This repository has been archived by the owner on Aug 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
platformio.example.ini
78 lines (72 loc) · 2.09 KB
/
platformio.example.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
66
67
68
69
70
71
72
73
74
75
76
77
78
; AiLight Firmware - Project Configuration File
;
; This file is part of the AiLight Firmware.
; For the full copyright and license information, please view the LICENSE
; file that was distributed with this source code.
;
; Created by Sacha Telgenhof <me at sachatelgenhof dot com>
; (https://www.sachatelgenhof.com)
; Copyright (c) 2016 - 2021 Sacha Telgenhof
[platformio]
default_envs = dev
build_dir = .pioenvs
[common]
platform = [email protected]
framework = arduino
monitor_speed = 115200
upload_speed = 115200
upload_port = "<YOUR_DEVICE_ID>.local"
ota_password = hinotori
ota_port = 8266
flag_flash_size = -Wl,-Tesp8266.flash.1m128.ld
flag_debug = -DDEBUG -g -w
lib_deps =
xoseperez/my92xx
ESP Async [email protected]
# Development/Debug environment
[env:dev]
platform = ${common.platform}
board = esp8285
framework = ${common.framework}
monitor_speed = ${common.monitor_speed}
build_flags = ${common.flag_debug} ${common.flag_flash_size}
lib_deps = ${common.lib_deps}
extra_scripts = build.py
# Development/Debug environment for OTA Updates
[env:dev-ota]
platform = ${common.platform}
board = esp8285
framework = ${common.framework}
monitor_speed = ${common.monitor_speed}
build_flags = ${common.flag_debug} ${common.flag_flash_size}
lib_deps = ${common.lib_deps}
extra_scripts = build.py
upload_speed = ${common.upload_speed}
upload_port = ${common.upload_port}
upload_flags =
--auth=${common.ota_password}
--port=${common.ota_port}
# Production optimized environment
[env:prod]
platform = ${common.platform}
board = esp8285
framework = ${common.framework}
build_flags = -Os ${common.flag_flash_size}
lib_deps = ${common.lib_deps}
extra_scripts = build.py
# Production optimized environment for OTA Updates
[env:prod-ota]
platform = ${common.platform}
board = esp8285
framework = ${common.framework}
build_flags = -Os ${common.flag_flash_size}
lib_deps = ${common.lib_deps}
extra_scripts = build.py
upload_speed = ${common.upload_speed}
upload_port = ${common.upload_port}
upload_flags =
--auth=${common.ota_password}
--port=${common.ota_port}