Skip to content

Commit 3f5da04

Browse files
committed
fix: Set max_size to fill remainder of 512kB eFlash
1 parent 2b04068 commit 3f5da04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tockloader/board_interface.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,9 @@ class BoardInterface:
298298
"no_attribute_table": True,
299299
"address_translator": lambda addr: addr - 0x20010000,
300300
"flash_file": {
301-
# Set to the maximum flash size.
302-
"max_size": 0x00100000,
301+
# Set to the half of maximum flash size, to keep image sizes smaller
302+
# (also ensures room for data at end of flash).
303+
"max_size": 0x00070000,
303304
},
304305
},
305306
}

0 commit comments

Comments
 (0)