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

Add all Esp32-xx BOOTLOADER_OFFSET #1079

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

petermm
Copy link
Contributor

@petermm petermm commented Feb 28, 2024

Decided to add all BOOTLOADER_OFFSET - and not only correcting the incorrect S2 one..

Obviously the conditional could be refactored, but seems preferably to explicitly list/config the various devices.

Release image didn't boot Esp32-S2.

"Bootloader is located at the address 0x1000 in the flash."
https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/bootloader.html

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@petermm petermm changed the title Fix Esp32-S2 BOOTLOADER_OFFSET Add all Esp32-xx BOOTLOADER_OFFSET Feb 29, 2024
@petermm petermm force-pushed the fix-S2-bootloader_offset branch from 6c66dab to d07787e Compare February 29, 2024 10:29
Copy link
Collaborator

@bettio bettio left a comment

Choose a reason for hiding this comment

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

Looks good, this is important to mention on the changelog for v0.6.0-rc.0.

Esp32-S2 Offset was not correct - this PR adds all offsets as documented here:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/bootloader.html

Signed-off-by: Peter M <petermm@gmail.com>
@petermm petermm force-pushed the fix-S2-bootloader_offset branch from d07787e to f895c41 Compare March 1, 2024 16:33
@bettio bettio merged commit be5f68c into atomvm:release-0.6 Mar 2, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants