-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
71 lines (61 loc) · 1.84 KB
/
platformio.ini
File metadata and controls
71 lines (61 loc) · 1.84 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
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
; 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]
description = esp32 logging demo (ConfigManager)
; Keep build artifacts out of the library repository.
; This avoids recursive local installs when using lib_deps = ../..
build_dir = ${sysenv.HOME}/.pio/CM/ex/Full-Logging-Demo
libdeps_dir = ${sysenv.HOME}/.pio/CM/ex/Full-Logging-Demo/libdeps
[env:usb]
platform = espressif32
board = nodemcu-32s
framework = arduino
monitor_speed = 115200
upload_port = COM3
;build_unflags = -std=gnu++11 ;required, to deactivate old default
build_unflags = -std=gnu++11
build_flags =
-Wno-deprecated-declarations
-std=gnu++17
-DCM_ENABLE_LOGGING=0
-DCM_ENABLE_VERBOSE_LOGGING=0
extra_scripts =
pre:../../tools/pio_force_local_lib_refresh.py
pre:../../tools/preCompile_script.py
lib_deps =
bblanchon/ArduinoJson@~7.4.1
esphome/ESPAsyncWebServer-esphome@~3.2.2
esphome/AsyncTCP-esphome@2.1.4
../..
; v3.0.0: no extra_scripts required
[env:ota]
platform = espressif32
board = nodemcu-32s
framework = arduino
monitor_speed = 115200
;build_unflags = -std=gnu++11 ;required, to deactivate old default
build_unflags = -std=gnu++11
build_flags =
-Wno-deprecated-declarations
-std=gnu++17
-DCM_ENABLE_LOGGING=0
-DCM_ENABLE_VERBOSE_LOGGING=0
lib_deps =
bblanchon/ArduinoJson@~7.4.1
esphome/ESPAsyncWebServer-esphome@~3.2.2
esphome/AsyncTCP-esphome@2.1.4
../..
;;test-esp
upload_port = 192.168.2.126
upload_protocol = espota
upload_flags = --auth=ota
extra_scripts =
pre:../../tools/pio_force_local_lib_refresh.py
pre:../../tools/preCompile_script.py