-
-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ESP32-S3-WROOM-2-N32R8V #1280
Comments
This should Do
|
Thank you so much for that. Will give it a go and see if it helps the memory issue. Craig |
I use N16R8 with this "platformio.ini" |
-mfix-esp32-psram-cache-issue should never be necessary on an S3 as I understand it. That flag existed to fix an errata in the original ESP32-nothing. It's not applicable to ESP32-S3 or ESP32-anythingelse. It just throws clock cycles trying very carefully to stagger loads and stores to not trigger defects in original revs of the silicon. |
ESP32-S3-WROOM-1-N16R8: [env:esp32s3]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
; 指定为16MB的FLASH分区表
board_build.arduino.partitions = default_16MB.csv
; 指定FLASH和PSRAM的运行模式
board_build.arduino.memory_type = qio_opi
; 预定义宏,启用PSRAM
build_flags = -DBOARD_HAS_PSRAM
; 指定FLASH容量为16MB
board_upload.flash_size = 16MB Reference link: Reference link |
ESP32-S3-N32R8: [env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
;lib_ldf_mode = deep+ #在搜索库依赖关系时使用 "深度+" 模式
board_build.arduino.partitions = default_16MB.csv
board_build.arduino.memory_type = opi_opi #8MB PSRAM的运行模式
build_flags = -DBOARD_HAS_PSRAM #用于指示编译器当前的目标设备是否具有 PSRAM
-mfix-esp32-psram-cache-issue #用于修复 ESP32 上的 PSRAM 缓存一致性问题的编译选项
board_upload.flash_size = 32MB #FLASH大小
#添加的库
; lib_deps =
; bblanchon/ArduinoJson@^6.21.2
; lvgl/lvgl@^8.3.7
; bodmer/TFT_eSPI@^2.5.30
; lorol/LittleFS_esp32@^1.0.6 其中最主要的就是“board_build.arduino.memory_type = opi_opi”,查看官方文档可以发现ESP32的PSRAM的运行模式是有Quad SPI和Octal SPI的区别的,而8M的PSRAM使用的是Octal SPI,默认的Quad SPI是运行不了的。 |
While I see there is some support for the 16mb versions of this board, not seeing anything current for the 32mb version of it. I am using it on a couple of different builds, and I am running out of memory. Doesn't seem like I should be. Have some esp32 v1 boards that out perform this chip, and seems that shouldn't be happening. While I know that the authentic espressif boards should have memory set as opi_opi, and the generic versions of that are using quad memory. Was hoping someone here might have a board define jason that works with platformio, as well as the appropriate memory table that would go with. I know it's a big ask, but this one has been out for a while now, and from what I read, many have struggled with it. Hope someone can help.
Thanks, Craig
The text was updated successfully, but these errors were encountered: