Skip to content

Commit b9ec14a

Browse files
committed
defmt frame decoding!!! Unfinished, but good start. Logging temp. disabled.
1 parent 6f163c2 commit b9ec14a

14 files changed

Lines changed: 1707 additions & 294 deletions

File tree

Cargo.lock

Lines changed: 186 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ version = "0.1.0"
44
edition = "2024"
55

66
[features]
7-
default = ["macros","logging","espflash"]
7+
default = ["macros","espflash","defmt"]
88
# Allow flashing ESP32 targets with binary and ELF files
99
espflash = ["dep:espflash"]
1010
logging = []
11-
# defmt = [] TODO
11+
defmt = ["dep:defmt-decoder", "dep:defmt-parser"]
1212
macros = []
1313
portable = []
1414

@@ -26,6 +26,9 @@ color-eyre = "0.6.3"
2626
compact_str = { version = "0.9.0", features = ["serde"] }
2727
crokey = { version = "1.1.2", features = ["serde"] }
2828
crossbeam = "0.8.4"
29+
# defmt-decoder = { version = "1.0.0", optional = true }
30+
defmt-decoder = { git = "https://github.com/knurling-rs/defmt", package = "defmt-decoder", optional = true, rev = "d52b9908c175497d46fc527f4f8dfd6278744f09" }
31+
defmt-parser = { git = "https://github.com/knurling-rs/defmt", package = "defmt-parser", optional = true, rev = "d52b9908c175497d46fc527f4f8dfd6278744f09" }
2932
# crokey = { path = "../crokey", features = ["serde"] }
3033
derivative = "2.2.0"
3134
directories = "6.0.0"
@@ -43,6 +46,7 @@ int-enum = "1.2.0"
4346
itertools = "0.14.0"
4447
libc = "0.2.169"
4548
memchr = "2.7.4"
49+
nom = "7.1"
4650
num-integer = "0.1.46"
4751
# log = "0.4.25"
4852
# num_enum = "0.7.3"

0 commit comments

Comments
 (0)