Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,11 @@ def generate_board_specific_config():
# Fallback to board.json manifest
if not flash_size:
flash_size = board.get("upload", {}).get("flash_size", None)


if flash_size == "2MB":
print("Info: Detected 2MB flash size setting, override to 4MB for Arduino MMU page size compatibility")
flash_size = "4MB"
Comment thread
Jason2866 marked this conversation as resolved.

if flash_size:
# Configure both string and boolean flash size formats
# Disable other flash size options first
Expand Down