-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
68 lines (56 loc) · 1.84 KB
/
platformio.ini
File metadata and controls
68 lines (56 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
; 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 = esp32wroom
[env:esp32wroom]
; Platform and board configuration
platform = espressif32
board = esp32dev
framework = arduino
; Use a partition table with a larger app size to accommodate additional libraries
board_build.partitions = huge_app.csv
; Serial monitor configuration
monitor_speed = 115200
; Upload configuration for faster flashing
upload_speed = 460800
; Build flags to suppress deprecation warnings and include device-specific pins
build_flags =
-Wno-deprecated-declarations
-include src/pins_wroom.h
; Required library dependencies
lib_deps =
esphome/ESP32-audioI2S@^2.3.0
bblanchon/ArduinoJson@^7.4.2
adafruit/Adafruit SSD1306@^2.5.15
links2004/WebSockets@^2.3.6
ESPmDNS
; Monitor filters for better debugging experience
monitor_filters =
colorize
[env:esp32wrover]
; Platform and board configuration
extends = env:esp32wroom
board = esp-wrover-kit
; Build flags to suppress deprecation warnings, enable PSRAM, and include device-specific pins
build_flags =
-Wno-deprecated-declarations
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-include src/pins_wrover.h
[env:esp32cam]
; Platform and board configuration for ESP32-CAM with ESP32S and PSRAM
extends = env:esp32wrover
board = esp32cam
; Build flags to suppress deprecation warnings, enable PSRAM, and include device-specific pins
build_flags =
-Wno-deprecated-declarations
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-include src/pins_cam.h