Skip to content

Clamp FLASH size to 8K to match Hubris#63

Open
mkeeter wants to merge 1 commit into
mainfrom
mkeeter/clamp-flash-size
Open

Clamp FLASH size to 8K to match Hubris#63
mkeeter wants to merge 1 commit into
mainfrom
mkeeter/clamp-flash-size

Conversation

@mkeeter

@mkeeter mkeeter commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

The hash of target/thumbv8m.main-none-eabihf/release/bootleby doesn't change, so this should be innocuous (but prevents us from being Unpleasantly Surprised further down the line)

@mkeeter mkeeter requested review from cbiffle and labbott June 12, 2026 14:57
@mkeeter

mkeeter commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Apparently Linux has different opinions on the resulting binary size versus MacOS (where a debug build works fine) 🫠

Here's the debug build size on my machine, which just barely squeezes under the line:

arm-none-eabi-size target/thumbv8m.main-none-eabihf/debug/bootleby
   text    data     bss     dec     hex filename
   7616       0  721988  729604   b2204 target/thumbv8m.main-none-eabihf/debug/bootleby

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.

1 participant