diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-08-16 20:06:15 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-08-16 23:37:40 +0200 |
| commit | bb275f7e25e9f0a3cceb3045bceb1822167e7b31 (patch) | |
| tree | f5e95fb721c1d67f10241f66ffcdd12d5ba18d57 | |
| parent | 4f453d7ed6247cdebb083b989b7fc542cfc7aab3 (diff) | |
nrf: enable defmt for embassy-hal-internal.
| -rwxr-xr-x | ci.sh | 2 | ||||
| -rw-r--r-- | embassy-nrf/Cargo.toml | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | set -euo pipefail | 3 | set -euo pipefail |
| 4 | 4 | ||
| 5 | export RUSTFLAGS=-Dwarnings | 5 | export RUSTFLAGS=-Dwarnings |
| 6 | export DEFMT_LOG=trace,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info | 6 | export DEFMT_LOG=trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info |
| 7 | 7 | ||
| 8 | TARGET=$(rustc -vV | sed -n 's|host: ||p') | 8 | TARGET=$(rustc -vV | sed -n 's|host: ||p') |
| 9 | 9 | ||
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml index c4790f2c6..67ec4eb93 100644 --- a/embassy-nrf/Cargo.toml +++ b/embassy-nrf/Cargo.toml | |||
| @@ -32,7 +32,7 @@ rt = [ | |||
| 32 | 32 | ||
| 33 | time = ["dep:embassy-time"] | 33 | time = ["dep:embassy-time"] |
| 34 | 34 | ||
| 35 | defmt = ["dep:defmt", "embassy-sync/defmt", "embassy-usb-driver?/defmt", "embassy-embedded-hal/defmt"] | 35 | defmt = ["dep:defmt", "embassy-hal-internal/defmt", "embassy-sync/defmt", "embassy-usb-driver?/defmt", "embassy-embedded-hal/defmt"] |
| 36 | 36 | ||
| 37 | # Enable nightly-only features | 37 | # Enable nightly-only features |
| 38 | nightly = ["embedded-hal-1", "embedded-hal-async", "dep:embassy-usb-driver", "embedded-storage-async", "dep:embedded-io-async", "embassy-embedded-hal/nightly"] | 38 | nightly = ["embedded-hal-1", "embedded-hal-async", "dep:embassy-usb-driver", "embedded-storage-async", "dep:embedded-io-async", "embassy-embedded-hal/nightly"] |
