-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
46 lines (42 loc) · 1.18 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
; 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
[common_env]
build_flags =
; -DDEBUG
-DTESTING
upload_protocol = esptool
[env:4d_systems_esp32s3_gen4_r8n16]
platform = https://github.com/platformio/platform-espressif32.git
board = 4d_systems_esp32s3_gen4_r8n16
board_build.mcu = esp32s3
framework = arduino
monitor_speed = 460800
; Upload port Windows
; upload_port = COM3
; Upload port Linux
upload_port = /dev/ttyACM0
board_upload.maximum_ram_size = 8192000
board_build.filesystem = spiffs
board_build.partitions = src/partitions_custom.csv
upload_protocol = esptool
lib_deps =
SPI
FASTLED
WIFI
Display
BLE
adafruit/Adafruit NeoPixel@^1.12.0
board_build.f_cpu = 240000000L
board_build.flash_mode = qio
build_flags =
${common_env.build_flags}
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DCONFIG_SPIRAM_CACHE_WORKAROUND=y