Skip to content
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

about Partition Table (IDFGH-11158) #12326

Closed
3 tasks done
franz-ms-muc opened this issue Sep 29, 2023 · 2 comments
Closed
3 tasks done

about Partition Table (IDFGH-11158) #12326

franz-ms-muc opened this issue Sep 29, 2023 · 2 comments
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@franz-ms-muc
Copy link
Contributor

franz-ms-muc commented Sep 29, 2023

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

doc

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html

General issue report

https://github.com/espressif/esp-idf/blob/master/examples/storage/spiffs/partitions_example.csv

https://github.com/espressif/esp-idf/blob/master/components/partition_table/partitions_singleapp_large.csv

https://github.com/espressif/esp-idf/blob/master/components/partition_table/partitions_singleapp.csv

in the first Example we see the Offsets.
in the 2. and 3. no Offsets.

what is the reason, and what is the recommended practice ?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 29, 2023
@github-actions github-actions bot changed the title about Partition Table about Partition Table (IDFGH-11158) Sep 29, 2023
@KaeLL
Copy link
Contributor

KaeLL commented Sep 29, 2023

The “Offset” field for each partition is empty. The gen_esp32part.py tool fills in each blank offset, starting after the partition table and making sure each partition is aligned correctly.

@espressif-bot espressif-bot added Status: Selected for Development Issue is selected for development and removed Status: Opened Issue is new labels Nov 6, 2023
@espressif-bot espressif-bot added Status: Opened Issue is new and removed Status: Selected for Development Issue is selected for development labels Jan 15, 2024
@adokitkat
Copy link
Collaborator

To expand upon previous answer, the preference is up to you, but I think it is easier to just leave the offset blank as it is automatically calculated - e.g. if you set your partition size to 1M and your program exceeds his value, you only need to make the partition bigger and you don't have to meddle and manually also update all other offsets in the csv. If you for some reason need to have a partition on certain offset, then you can use it.

@espressif-bot espressif-bot assigned adokitkat and unassigned pacucha42 Nov 5, 2024
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

5 participants