Skip to content

Conversation

@dsdve
Copy link

@dsdve dsdve commented Feb 3, 2026

Detailed description

Meson is currently set up to build hexdumps of entire ELF files instead of just the relevant part of the binary (which is the .text section in all cases).

This adds an intermediate objcopy to extract the section in binary format and directs that to the hexdump step to produce the correct output.

Your checklist for this pull request

Closing issues

None.

Copy link
Member

@dragonmux dragonmux left a comment

Choose a reason for hiding this comment

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

Got only the one review note and with that addressed, we'll be happy to merge this.

],
input: lmi_stub_elf,
output: 'lmi_stub_bin',
)
Copy link
Member

Choose a reason for hiding this comment

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

Might as well make this lmi_stub.bin (and so forth for the others) so they have a file extension - but otherwise this looks good.

@dragonmux dragonmux added this to the v2.1 release milestone Feb 3, 2026
@dragonmux dragonmux added Bug Confirmed bug BMP Firmware Black Magic Probe Firmware (not PC hosted software) Build system Build system labels Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BMP Firmware Black Magic Probe Firmware (not PC hosted software) Bug Confirmed bug Build system Build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants