-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathplatformio.ini
71 lines (63 loc) · 2.23 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 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]
core_dir = c:\.platformio
src_dir = PSACanBridge
lib_extra_dirs = PSACanBridge\src
#default_envs = esp32-c3-devkitm-1
#default_envs = esp32doit-devkit-v1
default_envs = esp32-c6-devkitc-1
[common]
build_flags =
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-Os -Wno-unknown-pragmas
-Wno-unused-function
-DHTTPS_DISABLE_SELFSIGNING
-DHTTPS_LOGLEVEL=1
[env]
monitor_speed = 500000
lib_deps =
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
bblanchon/ArduinoJson @ ^6.18.2
https://github.com/coryjfowler/MCP_CAN_lib#6f1f30ce41e11bd75a8e367b7666399da8ddeea0
https://github.com/Erriez/ErriezDS3231
[env:esp32doit-devkit-v1]
# No version specified: latest installed version will be used
# New functionality (backward-compatible) and bug-fixes are allowed: @^3.5.0
# Only bug-fixes are allowed: @~3.5.0
# Depend on the exact version: @3.5.0
; Versions: https://github.com/platformio/platform-espressif32/tags
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc2/platform-espressif32.zip
board = esp32doit-devkit-v1
framework = arduino
upload_port = COM3
board_build.partitions = default.csv
build_flags =
${common.build_flags}
-D PIO_INI_BOARD_ESP32
[env:esp32-c3-devkitm-1]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc2/platform-espressif32.zip
board = lolin_c3_mini
framework = arduino
upload_port = COM12
board_build.partitions = default.csv
build_flags =
${common.build_flags}
-D PIO_INI_BOARD_ESP32C3
[env:esp32-c6-devkitc-1]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc2/platform-espressif32.zip
board = esp32-c6-devkitc-1
framework = arduino
upload_port = COM29
board_build.partitions = default.csv
build_flags =
${common.build_flags}
-D PIO_INI_BOARD_ESP32_C6