Skip to content

Conversation

@chrysn
Copy link
Member

@chrysn chrysn commented Jun 3, 2025

This first iteration is mainly a test to see if we can do this unconditionally -- our CI builds Python binaries out of all those, so seeing it pass should be a good indication that indeed it's fine to implement defmt::Format even without having any linker script support.

@chrysn
Copy link
Member Author

chrysn commented Jun 3, 2025

The extra data defmt emits do not go well with the linker which the crates choose.

This might get better with knurling-rs/defmt#878 (comment) over time; let's retry when that one is through.

@chrysn chrysn force-pushed the unconditional-defmt branch from 7626d99 to 27e2d07 Compare June 3, 2025 12:29
@chrysn
Copy link
Member Author

chrysn commented Jun 3, 2025

Funnily, using the hexencode-and-no-equals branch fixes things for Linux, but leaves them broken for Windows and breaks for MacOS; we'll know more when that defmt PR settles (and can then tell more easily whether it's the hex thing or my hack for getting rid of the =).

@chrysn chrysn mentioned this pull request Jun 4, 2025
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