-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hex-encode defmt symbols to avoid compatibility issues.
defmt currently puts json as-is in symbol names, which can contain special characters not normally found in symbol names like quotes `"`, braces `{}` and spaces ` `. This can cause compatibility issues with language features or tools that don't expect this. For example it breaks `sym` in `asm!`. This is a *breaking change* of the wire format, so this PR increases the format numbre. `defmt-decoder` is updated to be able to decode the new format, while keeping ability to decode older formats.
- Loading branch information
Showing
4 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters