-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
86 lines (82 loc) · 2.84 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
; 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]
default_envs = esp32dev
data_dir = data
src_dir = src
[env:esp32dev]
platform = espressif32
board = esp32dev
board_build.filesystem = littlefs
framework = arduino
lib_deps =
;Time
esphome/AsyncTCP-esphome@^2.1.3
esphome/ESPAsyncWebServer-esphome@^3.2.2
heman/AsyncMqttClient-esphome@^2.1.0
https://github.com/bblanchon/ArduinoJson.git
https://github.com/PaulStoffregen/Time.git
https://github.com/coryjfowler/MCP_CAN_lib.git#1.5.0
https://github.com/sijones/AsyncElegantOTA.git
https://github.com/hasenradball/LCD-I2C.git
upload_protocol = esptool
monitor_speed = 115200
;upload_port = COM3
;debug_port = COM6
board_build.partitions = default.csv
build_type = debug
build_flags = -DCORE_DEBUG_LEVEL=4 -DCAN_BUS_CS_PIN=2 -DVEDIRECT_RX=33 -DVEDIRECT_TX=32 -DONEWIREPIN=12 -DCAN0_INT=22
[env:esp32plus]
platform = espressif32
board = esp32dev
board_build.filesystem = littlefs
framework = arduino
lib_deps =
;Time
esphome/AsyncTCP-esphome@^2.1.3
esphome/ESPAsyncWebServer-esphome@^3.2.2
heman/AsyncMqttClient-esphome@^2.1.0
https://github.com/bblanchon/ArduinoJson.git
https://github.com/PaulStoffregen/Time.git
https://github.com/coryjfowler/MCP_CAN_lib.git#1.5.0
https://github.com/sijones/AsyncElegantOTA.git
https://github.com/hasenradball/LCD-I2C.git
upload_protocol = esptool
monitor_speed = 115200
;upload_port = COM3
;debug_port = COM6
board_build.partitions = default.csv
build_type = debug
build_flags = -DCORE_DEBUG_LEVEL=4 -DCAN_BUS_CS_PIN=5 -DVEDIRECT_RX=33 -DVEDIRECT_TX=32 -DONEWIREPIN=12 -DCAN0_INT=13
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.filesystem = littlefs
framework = arduino
lib_deps =
;Time
esphome/AsyncTCP-esphome@^2.1.3
esphome/ESPAsyncWebServer-esphome@^3.2.2
heman/AsyncMqttClient-esphome@^2.1.0
https://github.com/bblanchon/ArduinoJson.git
https://github.com/PaulStoffregen/Time.git
https://github.com/coryjfowler/MCP_CAN_lib.git#1.5.0
https://github.com/sijones/AsyncElegantOTA.git
https://github.com/hasenradball/LCD-I2C.git
upload_protocol = esptool
upload_speed = 2000000 ;ESP32S3 USB-Serial Converter maximum 2000000bps
;upload_port = COM4
monitor_speed = 115200
;monitor_port = COM10
debug_tool = esp-builtin
debug_init_break = break setup
board_build.partitions = default.csv
build_type = debug
build_flags = -DCORE_DEBUG_LEVEL=4 -DCAN_BUS_CS_PIN=5 -DVEDIRECT_RX=47 -DVEDIRECT_TX=48 -DONEWIREPIN=12 -DCAN0_INT=13