Skip to content

Commit

Permalink
Fix psram settings for s2 mini
Browse files Browse the repository at this point in the history
  • Loading branch information
CelliesProjects committed Sep 27, 2023
1 parent f1a0402 commit e0f3128
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ build_unflags = -std=c++11
build_flags =
${user.build_flags}
-std=c++17
-D CORE_DEBUG_LEVEL=0
-D CORE_DEBUG_LEVEL=3
;ESP_LOG_NONE, 0
;ESP_LOG_ERROR, 1
;ESP_LOG_WARN, 2
Expand All @@ -75,7 +75,7 @@ lib_deps =
esphome/ESPAsyncWebServer-esphome@^3.0.1
VS1053 = https://github.com/baldram/ESP_VS1053_Library#824f82c
;CelliesProjects/ESP32_VS1053_Stream@^2.0.3
ESP32_VS1053_Stream = https://github.com/CelliesProjects/ESP32_VS1053_Stream#38b3249
ESP32_VS1053_Stream = https://github.com/CelliesProjects/ESP32_VS1053_Stream#375873d

upload_speed = 921600
monitor_speed = 115200
Expand Down Expand Up @@ -117,6 +117,8 @@ build_flags =
-D SPI_MISO_PIN=9
-D SPI_MOSI_PIN=11
; XRST from VS1053 connects to ENABLE or RESET on esp32
-mfix-esp32-psram-cache-issue
-mfix-esp32-psram-cache-strategy=memw

[env:lolin_s3_mini]
board = lolin_s3_mini
Expand Down Expand Up @@ -169,6 +171,7 @@ platform = espressif32
board = esp32s3box
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L
; board_build.flash_mode = qio
build_flags =
${env.build_flags}
-D VS1053_CS_PIN=10
Expand Down

0 comments on commit e0f3128

Please sign in to comment.