-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplatformio.ini
42 lines (38 loc) · 1.19 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
; 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-wroom-1u-n16r8]
platform = espressif32 @~5.2.0
board = esp32-s3-wroom-1-n16r8
framework = arduino
monitor_speed = 115200
board_build.flash_mode = qio
board_build.partitions = app3M_fat9M_16MB.csv
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=0 ;是否需要使用USB串口调试,如果需要调试则打开,否则禁用,如果打开了这个选项但是不连接串口,在有串口输出的地方会卡顿1秒左右
; -DBOARD_HAS_PSRAM ;是否使用PSRAM
-D ARDUINO_RUNNING_CORE=1
-D ARDUINO_EVENT_RUNNING_CORE=1
lib_deps_builtin =
SPI
Wire
SD_MMC
[env:esp32-wroom-1u]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
board_build.mcu = esp32
board_build.f_cpu = 240000000L
board_build.partitions = huge_app.csv
lib_deps_builtin =
SPI
Wire
SD