-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
71 lines (61 loc) · 1.93 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[platformio]
default_envs = arduino-2, arduino-3, arduino-311
lib_dir = .
; src_dir = examples/EnergyReset
; src_dir = examples/EnergyResetAsync
src_dir = examples/Read
; src_dir = examples/ReadAsync
; src_dir = examples/SetMaxSpeed
; src_dir = examples/ChangeSpeed
; src_dir = examples/PerfTest1
; src_dir = examples/PerfTest2
; src_dir = examples/Callback
; src_dir = examples/CallbackAsync
; src_dir = examples/Repair
; src_dir = examples/SwitchModeACDC
; src_dir = examples/raw/RawEnergyReset
; src_dir = examples/raw/RawSetSpeed
; src_dir = examples/raw/RawRead1
; src_dir = examples/raw/RawRead2
; src_dir = examples/raw/RawRead3
; src_dir = examples/raw/RawRead4
; src_dir = examples/raw/RawRead5
[env]
framework = arduino
board = esp32dev
build_flags =
-std=c++17
-std=gnu++17
-Wall -Wextra
-D CONFIG_ARDUHAL_LOG_COLORS
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-D MYCILA_JSON_SUPPORT
; -D MYCILA_JSY_DEBUG
; -D RX2=16
; -D TX2=17
lib_deps = bblanchon/ArduinoJson @ 7.3.0
upload_protocol = esptool
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, log2file
build_unflags =
-std=gnu++11
[env:arduino-2]
platform = espressif32@6.10.0
[env:arduino-3]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
; board = esp32-s3-devkitc-1
; board = esp32-c6-devkitc-1
[env:arduino-311]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
; board = esp32-s3-devkitc-1
; board = esp32-c6-devkitc-1
; CI
[env:ci-arduino-2]
platform = espressif32@6.10.0
board = ${sysenv.PIO_BOARD}
[env:ci-arduino-3]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
board = ${sysenv.PIO_BOARD}
[env:ci-arduino-311]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
board = ${sysenv.PIO_BOARD}