-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
39 lines (34 loc) · 1.08 KB
/
Copy pathplatformio.ini
File metadata and controls
39 lines (34 loc) · 1.08 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
; 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
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
; 内存与 Flash 设置 (ESP32-S3R8, 8MB PSRAM, 16MB Flash)
board_build.arduino.memory_type = qio_opi
board_build.flash_mode = qio
board_build.f_flash = 80000000L
board_build.flash_size = 16MB
board_upload.flash_size = 16MB
; 构建参数
extra_scripts = pre:read_env.py
build_flags =
-D BOARD_HAS_PSRAM
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
; 引入依赖库
lib_deps =
bblanchon/ArduinoJson @ ^7.0.4
knolleary/PubSubClient @ ^2.8
moononournation/GFX Library for Arduino @ 1.4.9
https://github.com/lewisxhe/SensorLib.git
bitbank2/PNGdec @ ^1.0.1
olikraus/U8g2 @ ^2.35.19
monitor_speed = 115200