forked from jsphuebner/esp32-web-interface
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplatformio.ini
More file actions
102 lines (93 loc) · 2.25 KB
/
Copy pathplatformio.ini
File metadata and controls
102 lines (93 loc) · 2.25 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
; 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 = Web interface for Huebner inverter
default_envs = esp32_wemos
src_dir = .
data_dir = data
extra_configs = platformio-local-override.ini
boards_dir = boards
[common]
monitor_speed = 115200
[env]
platform = espressif32@~6.13.0
framework = arduino
extra_scripts =
pre:version.py
pre:gzip_assets.py
platform_packages = platformio/tool-esptoolpy
board = esp32dev
board_build.filesystem = spiffs
board_build.flash_mode = qout
build_src_filter = +<*> -<.git/> -<.svn/> -<src/flashloader>
upload_speed = 921600
[env:esp32_wemos]
build_flags =
${env.build_flags}
-D RELEASE
build_type = release
lib_deps =
fbiego/ESP32Time@^2.0.0
adafruit/RTClib@^2.1.1
SPI
[env:esp32_wemos_debug]
build_flags =
${env.build_flags}
-D DEBUG
-DDEBUG_ESP_PORT=Serial
-DDEBUG_ESP_CORE
-DDEBUG_ESP_WIFI
build_type = debug
lib_deps =
fbiego/ESP32Time@^2.0.0
adafruit/RTClib@^2.1.1
SPI
; --- ESP32-S3 targets ---
; Release build for LILYGO T-2Can (ESP32-S3) — SD_MMC disabled (S3 crash bug)
[env:esp32_t2can]
board = esp32s3_t2can
board_build.arduino.memory_type = qio_opi
board_build.arduino.partitions = default_16MB.csv
board_build.flash_mode = qio
board_build.filesystem = spiffs
monitor_speed = 115200
build_flags =
${env.build_flags}
-D RELEASE
-D BOARD_HAS_PSRAM
-D ARDUINO_USB_CDC_ON_BOOT=1
-D DBG_OUTPUT_PORT=Serial
-D S3_SKIP_SD_MMC
build_type = release
lib_deps =
fbiego/ESP32Time@^2.0.0
adafruit/RTClib@^2.1.1
SPI
[env:esp32_t2can_debug]
board = esp32s3_t2can
board_build.arduino.memory_type = qio_opi
board_build.arduino.partitions = default_16MB.csv
board_build.flash_mode = qio
board_build.filesystem = spiffs
monitor_speed = 115200
build_flags =
${env.build_flags}
-D DEBUG
-D DEBUG_ESP_PORT=Serial
-D DEBUG_ESP_CORE
-D DEBUG_ESP_WIFI
-D BOARD_HAS_PSRAM
-D ARDUINO_USB_CDC_ON_BOOT=1
-D S3_SKIP_SD_MMC
build_type = debug
lib_deps =
fbiego/ESP32Time@^2.0.0
adafruit/RTClib@^2.1.1
SPI