Skip to content

Conversation

@iabdalkader
Copy link
Contributor

With the current config, a debug loader overwrites the sketch.

The correct partition layout is (offset, size):

  • 0x00000 - 0x40000 (256KB): Bootloader
  • 0x40000 - 0xa0000 (640KB): llext loader
  • 0xe0000 - 0x20000 (128KB): sketch

With the current config, a debug loader overwrites the sketch.

The correct partition layout is (offset, size):
- 0x00000 - 0x40000 (256KB): Bootloader
- 0x40000 - 0xa0000 (640KB): llext loader
- 0xe0000 - 0x20000 (128KB): sketch

Signed-off-by: Ibrahim Abdalkader <[email protected]>
@zephyrbot zephyrbot added size: XS A PR changing only a single line of code area: Boards/SoCs labels Nov 11, 2025
pillo79
pillo79 previously approved these changes Nov 11, 2025
Copy link
Contributor

@pillo79 pillo79 left a comment

Choose a reason for hiding this comment

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

That is indeed correct. We could say it's a feature though! 😅

@iabdalkader
Copy link
Contributor Author

That is indeed correct. We could say it's a feature though! 😅

Virtual flash 👍🏼

With the current config, a debug loader overwrites the sketch.

The correct partition layout is (offset, size):
- 0x00000 - 0x40000 (256KB): Bootloader
- 0x40000 - 0xa0000 (640KB): llext loader
- 0xe0000 - 0x20000 (128KB): sketch

Signed-off-by: Ibrahim Abdalkader <[email protected]>
@sonarqubecloud
Copy link

@iabdalkader
Copy link
Contributor Author

This patch is no longer needed, we're going to keep the sizes as they are, and carve out sketch space in overlays when it's needed.

@iabdalkader iabdalkader deleted the fix_arduino_giga_flash_size branch November 12, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants