Skip to content

Will there be a partition table using the 32Mb of ESP32-S3 Dev-board #8497

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

Closed
1 task done
thomaspapad94 opened this issue Aug 7, 2023 · 4 comments · Fixed by #8498
Closed
1 task done

Will there be a partition table using the 32Mb of ESP32-S3 Dev-board #8497

thomaspapad94 opened this issue Aug 7, 2023 · 4 comments · Fixed by #8498
Labels
Type: Feature request Feature request for Arduino ESP32

Comments

@thomaspapad94
Copy link

Related area

Partition table

Hardware specification

ESP32-S3-DevKitC-1-N32R8V

Is your feature request related to a problem?

Hello, I'm currently working on developing a rather intricate codebase for an ESP32-S3 microcontroller. My aim is to fully leverage the capabilities of the board. I'm utilizing the PlatformIO environment for coding. While I managed to get my board operational through some research, I encountered a hurdle in utilizing the entire 32Mb of flash memory effectively.

Describe the solution you'd like

I would greatly appreciate it if you could provide a default partition table for the 32Mb flash memory. Currently, there are existing options available for 16Mb flash boards, and having a similar default configuration for the larger memory capacity would be immensely helpful.

Describe alternatives you've considered

No response

Additional context

Here is my current platformio.ini configuration, which is functional:

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_upload.flash_size = 16MB
board_build.partitions = large_spiffs_16MB.csv
monitor_speed = 115200
board_build.flash_mode = dio
build_flags = 
    -DBOARD_HAS_PSRAM 
    -mfix-esp32-psram-cache-issue
board_build.arduino.memory_type = opi_opi

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.
@lbernstone
Copy link
Contributor

This partition is getting to the size where I would not recommend using SPIFFS.

@thomaspapad94
Copy link
Author

I came across information suggesting that the Arduino-ESP32 library might incorporate support for both 16MB and 32MB ESP32-S3 boards in a forthcoming v3.x version. Could anyone provide additional confirmation on this matter? Furthermore, if these developments are accurate, is there any available information regarding the anticipated release date for this version?

@thomaspapad94
Copy link
Author

This partition is getting to the size where I would not recommend using SPIFFS.

Thanks for the reply.
Why shouldn't I use SPIFFS? To be honest that's why I need the extra space..

@lbernstone
Copy link
Contributor

lbernstone commented Aug 7, 2023

SPIFFS is not a hierarchical file system. The directories are just a slash in the string name of the file, and the performance on large spaces is subpar, particularly if you are fragmenting the space at all.
LittleFS is recommended nowadays if you want to optimize for file integrity. FAT has better seek/replace performance.
Note that I only use file systems for user data. I prefer to include read-only files in the code as C-strings, so they can be updated as part of the firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature request Feature request for Arduino ESP32
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants