forked from ratgdo/homekit-ratgdo32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
54 lines (52 loc) · 1.89 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
; 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
[env]
upload_speed = 921600
monitor_speed = 115200 ; must remain at 115200 for improv
; Following embedded files required if we build our own ESPIDF (see framework below)
;board_build.embed_txtfiles =
; managed_components/espressif__esp_insights/server_certs/https_server.crt
; managed_components/espressif__esp_rainmaker/server_certs/rmaker_mqtt_server.crt
; managed_components/espressif__esp_rainmaker/server_certs/rmaker_claim_service_server.crt
; managed_components/espressif__esp_rainmaker/server_certs/rmaker_ota_server.crt
[env:ratgdo_esp32dev]
platform = https://github.com/pioarduino/platform-espressif32
board = esp32dev
board_build.partitions = partitions.csv
; If we build our own ESPIDF then change framework line to include espidf
;framework = arduino, espidf
framework = arduino
build_flags =
${env.build_flags}
-Wno-unused-variable
-I./src
-I./lib/ratgdo
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_ERROR
-D SOC_WIFI_SUPPORTED=1
-D LOG_MSG_BUFFER
; -D ENABLE_CRASH_LOG
-D NTP_CLIENT
-D USE_NTP_TIMESTAMP
; -D GW_PING_CHECK
; -D CRASH_DEBUG
monitor_filters = esp32_exception_decoder
lib_deps =
https://github.com/ratgdo/espsoftwareserial.git#autobaud
https://github.com/HomeSpan/HomeSpan.git#release-2.0.0
https://github.com/stm32duino/VL53L4CX#1.1.0
https://github.com/improv-wifi/sdk-cpp.git#v1.2.4
mathertel/OneButton@^2.6.1
lib_ldf_mode = deep+
lib_compat_mode = off
extra_scripts =
build_flags.py
pre:build_web_content.py
pre:auto_firmware_version.py
pre:patch_files.py