forked from rednblkx/HomeKey-ESP32
-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
51 lines (46 loc) · 1.12 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
; 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]
default_envs = release
[env]
platform = espressif32
board = wemos_d1_mini32
framework = arduino, espidf
monitor_speed = 115200
monitor_echo = yes
monitor_filters =
direct
esp32_exception_decoder
log2file
lib_ldf_mode = deep
lib_deps =
https://github.com/rednblkx/HomeSpan.git#home-key
https://github.com/rednblkx/PN532.git
telecombretagne/YACL@^1.0.3
johboh/nlohmann-json@^3.11.3
https://github.com/rednblkx/HK-HomeKit-Lib.git
board_build.partitions = with_ota.csv
extra_scripts = pre:extra_script.py
build_flags =
-O2
-DCONFIG_LOG_COLORS
-std=gnu++17
build_unflags =
-Os
-std=gnu++11
[env:debug]
build_type = debug
[env:release]
build_type = release
[env:ota]
build_type = release
upload_protocol = espota
upload_flags =
--auth=homespan-ota