Skip to content

Fix 2/4MB Partition Tables & Makefile #7073

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

Merged
merged 4 commits into from
Oct 18, 2022
Merged

Fix 2/4MB Partition Tables & Makefile #7073

merged 4 commits into from
Oct 18, 2022

Conversation

microdev1
Copy link
Collaborator

Breaking Change: ESP32/ESP32C3 boards having 4MB flash will loose CIRCUITPY data post f86377e

Fixes in this PR:

  1. Added ota partitions in 4MB-no-uf2 partition table.
  2. Changed the name of 2MB-no-uf2 partition table to 2MB-no-ota-no-uf2 as it is too small for ota support.
  3. The UF2_BOOTLOADER condition in Makefile now depends on CIRCUITPY_USB instead of IDF_TARGET.

Fixes #7070. Thanks @dhalbert for finding the bug in partition table.

@microdev1 microdev1 added bug tooling espressif applies to multiple Espressif chips labels Oct 17, 2022
@microdev1 microdev1 requested a review from dhalbert October 17, 2022 14:36
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See 7d8ff20 for comments about safeguarding against broken partition schemes.

- remove log level: set by -opt or -debug sdkconfig
- remove lwip hostname: set by board specific sdkconfig
@microdev1 microdev1 requested a review from dhalbert October 17, 2022 16:36
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the quick fix and the cleanups!

@dhalbert dhalbert merged commit 607e917 into adafruit:main Oct 18, 2022
@microdev1 microdev1 deleted the patch branch October 20, 2022 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug espressif applies to multiple Espressif chips tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESP32 boards hanging with 8.0.0-beta.2
2 participants