-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
45 lines (37 loc) · 1.36 KB
/
platformio.ini
File metadata and controls
45 lines (37 loc) · 1.36 KB
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
; 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:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
; C++17 и пара удобных дефайнов
build_unflags = -std=gnu++11
build_flags =
-std=gnu++17
-DCORE_DEBUG_LEVEL=3
-DCD_SCHEMA_VERSION=1
; Два OTA-слота + otadata
board_build.partitions = partitions.csv
lib_ldf_mode = deep+
; Библиотеки по мере надобности (оставь пустым сейчас)
lib_deps =
cd-protocol
; knolleary/PubSubClient @ ^2.8
; marvinroger/AsyncMqttClient @ ^0.9.0
; Фильтры монитора
; direct: вывод как есть
; send_on_enter: отправляет текст только по нажатию Enter (решает проблему "разрыва" ввода логами)
monitor_filters = direct, send_on_enter
; Включить локальное эхо (ты видишь, что пишешь)
monitor_echo = yes
; Обработка конца строки (CRLF)
monitor_eol = LF