Skip to content

Strip DeviceData from probe-rs algo output#26

Open
9names wants to merge 1 commit intorp-rs:mainfrom
9names:remove_devicedata
Open

Strip DeviceData from probe-rs algo output#26
9names wants to merge 1 commit intorp-rs:mainfrom
9names:remove_devicedata

Conversation

@9names
Copy link
Member

@9names 9names commented Dec 21, 2024

Since #14 we now generate DeviceData for tools that need it.
probe-rs doesn't, so strip it out when doing the objcopy step.

This brings the algo binary size back down from to 692 bytes, which is what it was previous to PR 14 (almost anyway - replacing the unused rustc arg inline-threshold=5 with llvm-args=--inline-threshold=5 saved us a few more bytes)

Resolves #25

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.

Remove DeviceData in build.sh

1 participant