-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
51 lines (47 loc) · 1.65 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]
;set default_envs to whichever board(s) you use. Build/Run/etc processes those envs
default_envs =
esp32dev
[env]
; Global data for all [env:***]
framework = arduino
lib_ldf_mode = deep
monitor_speed = 115200
upload_speed = 921600
lib_deps =
me-no-dev/AsyncTCP@1.1.1
SignalK/SensESP@^2.0.0
[espressif32_base]
;this section has config items common to all ESP32 boards
platform = espressif32 @ ^4.1.0
build_unflags = -Werror=reorder
board_build.partitions = min_spiffs.csv
monitor_filters = esp32_exception_decoder
extra_scripts = pre:platformio_version_increment/version_increment_pre.py
;post:platformio_version_increment/esp32_create_factory_bin_post.py
post:platformio_version_increment/version_increment_post.py
[env:esp32dev]
extends = espressif32_base
board = esp32dev
build_flags =
-D LED_BUILTIN=2
; Uncomment the following to disable debug output altogether
;-D DEBUG_DISABLED
; Uncomment the following to enable the remote debug telnet interface on port 23
;-D REMOTE_DEBUG
; Uncomment the following to use the OTA interface for flashing.
; "mydevice" must correspond to the device hostname.
; "mypassword" must correspond to the device OTA password.
;upload_protocol = espota
;upload_port = SensESP-PeetBrosWind.local
;upload_flags =
; --auth=mypassword