From 6e3bf6c9a4ddb6e229fdc0f7e76cc3f435777624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Wed, 30 Aug 2023 15:14:55 +0200 Subject: [PATCH] Print wifi messages to defmt --- Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 16f6e420..f3354da5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,14 +63,14 @@ esp-println = { version = "0.5.0", default-features = false, features = [ "log", ] } esp-alloc = { version = "0.3.0" } -esp-wifi = { git = "https://github.com/esp-rs/esp-wifi.git", rev = "68dc11b", features = [ +esp-wifi = { git = "https://github.com/esp-rs/esp-wifi.git", rev = "68dc11b", default-features = false, features = [ "phy-enable-usb", "ps-min-modem", "wifi", "embedded-svc", "async", "embassy-net", - "defmt", + "utils" ] } display-interface = { git = "https://github.com/therealprof/display-interface.git", branch = "master" } @@ -123,7 +123,7 @@ esp32s3-hal = { git = "https://github.com/esp-rs/esp-hal.git", rev = "4dd9fbd" } esp-println = { git = "https://github.com/esp-rs/esp-println.git", branch = "main" } [patch.'https://github.com/esp-rs/esp-wifi'] -esp-wifi = { git = "https://github.com/bugadani/esp-wifi.git", branch = "dev" } +esp-wifi = { git = "https://github.com/bugadani/esp-wifi.git", branch = "defmt-log" } [features] default = ["esp32s3", "defmt"] @@ -167,6 +167,7 @@ defmt = [ "max17055/defmt", "bad-server/defmt", "embedded-svc/defmt", + "esp-wifi/log-defmt" ] [package.metadata.espflash]