From dd99356062eaaeac3c2fa0b82dbbcaf765435c2a Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 18 Jun 2022 01:54:07 +0200 Subject: [PATCH] Add env DEFMT_LOG=trace to all examples. --- docs/modules/ROOT/examples/basic/.cargo/config.toml | 3 +++ docs/modules/ROOT/examples/layer-by-layer/.cargo/config.toml | 3 +++ embassy-boot/nrf/.cargo/config.toml | 3 +++ examples/boot/.cargo/config.toml | 3 +++ examples/boot/nrf/.cargo/config.toml | 3 +++ examples/boot/stm32f3/.cargo/config.toml | 3 +++ examples/boot/stm32f7/.cargo/config.toml | 3 +++ examples/boot/stm32h7/.cargo/config.toml | 3 +++ examples/boot/stm32l0/.cargo/config.toml | 3 +++ examples/boot/stm32l1/.cargo/config.toml | 3 +++ examples/boot/stm32l4/.cargo/config.toml | 3 +++ examples/boot/stm32wl/.cargo/config.toml | 3 +++ examples/nrf/.cargo/config.toml | 3 +++ examples/rp/.cargo/config.toml | 3 +++ examples/stm32f0/.cargo/config.toml | 3 +++ examples/stm32f1/.cargo/config.toml | 3 +++ examples/stm32f2/.cargo/{config => config.toml} | 3 +++ examples/stm32f3/.cargo/config.toml | 3 +++ examples/stm32f4/.cargo/config.toml | 3 +++ examples/stm32f7/.cargo/config.toml | 3 +++ examples/stm32g0/.cargo/config.toml | 3 +++ examples/stm32g4/.cargo/config.toml | 3 +++ examples/stm32h7/.cargo/{config => config.toml} | 3 +++ examples/stm32l0/.cargo/config.toml | 3 +++ examples/stm32l1/.cargo/config.toml | 3 +++ examples/stm32l4/.cargo/config.toml | 3 +++ examples/stm32l5/.cargo/config.toml | 3 +++ examples/stm32u5/.cargo/config.toml | 3 +++ examples/stm32wb/.cargo/config.toml | 3 +++ examples/stm32wl/.cargo/config.toml | 3 +++ tests/stm32/.cargo/config.toml | 3 +++ xtask/.cargo/{config => config.toml} | 0 32 files changed, 93 insertions(+) rename examples/stm32f2/.cargo/{config => config.toml} (89%) rename examples/stm32h7/.cargo/{config => config.toml} (85%) rename xtask/.cargo/{config => config.toml} (100%) diff --git a/docs/modules/ROOT/examples/basic/.cargo/config.toml b/docs/modules/ROOT/examples/basic/.cargo/config.toml index c75b5c53..8ca28df3 100644 --- a/docs/modules/ROOT/examples/basic/.cargo/config.toml +++ b/docs/modules/ROOT/examples/basic/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip nRF52840_xxAA" [build] target = "thumbv7em-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/docs/modules/ROOT/examples/layer-by-layer/.cargo/config.toml b/docs/modules/ROOT/examples/layer-by-layer/.cargo/config.toml index 946ff250..3012f05d 100644 --- a/docs/modules/ROOT/examples/layer-by-layer/.cargo/config.toml +++ b/docs/modules/ROOT/examples/layer-by-layer/.cargo/config.toml @@ -9,3 +9,6 @@ rustflags = [ [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/embassy-boot/nrf/.cargo/config.toml b/embassy-boot/nrf/.cargo/config.toml index 27bc9708..1060800a 100644 --- a/embassy-boot/nrf/.cargo/config.toml +++ b/embassy-boot/nrf/.cargo/config.toml @@ -15,3 +15,6 @@ rustflags = [ [build] target = "thumbv7em-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/.cargo/config.toml b/examples/boot/.cargo/config.toml index bbe06fd0..de3a814f 100644 --- a/examples/boot/.cargo/config.toml +++ b/examples/boot/.cargo/config.toml @@ -4,3 +4,6 @@ build-std-features = ["panic_immediate_abort"] [build] target = "thumbv7em-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/nrf/.cargo/config.toml b/examples/boot/nrf/.cargo/config.toml index c75b5c53..8ca28df3 100644 --- a/examples/boot/nrf/.cargo/config.toml +++ b/examples/boot/nrf/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip nRF52840_xxAA" [build] target = "thumbv7em-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/stm32f3/.cargo/config.toml b/examples/boot/stm32f3/.cargo/config.toml index eb8a8b33..a76d6cab 100644 --- a/examples/boot/stm32f3/.cargo/config.toml +++ b/examples/boot/stm32f3/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32F303VCTx" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/stm32f7/.cargo/config.toml b/examples/boot/stm32f7/.cargo/config.toml index df511452..a90e1ccb 100644 --- a/examples/boot/stm32f7/.cargo/config.toml +++ b/examples/boot/stm32f7/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32F767ZITx -v" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/stm32h7/.cargo/config.toml b/examples/boot/stm32h7/.cargo/config.toml index 8475e7f6..fefdd370 100644 --- a/examples/boot/stm32h7/.cargo/config.toml +++ b/examples/boot/stm32h7/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32H743ZITx" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/stm32l0/.cargo/config.toml b/examples/boot/stm32l0/.cargo/config.toml index 840faa62..2627967a 100644 --- a/examples/boot/stm32l0/.cargo/config.toml +++ b/examples/boot/stm32l0/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32L072CZTx" [build] target = "thumbv6m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/stm32l1/.cargo/config.toml b/examples/boot/stm32l1/.cargo/config.toml index 04985720..404b6b55 100644 --- a/examples/boot/stm32l1/.cargo/config.toml +++ b/examples/boot/stm32l1/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32L151CBxxA" [build] target = "thumbv7m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/stm32l4/.cargo/config.toml b/examples/boot/stm32l4/.cargo/config.toml index 7b6c4c0a..43520e32 100644 --- a/examples/boot/stm32l4/.cargo/config.toml +++ b/examples/boot/stm32l4/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32L475VG" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/boot/stm32wl/.cargo/config.toml b/examples/boot/stm32wl/.cargo/config.toml index 60076e06..e395d75b 100644 --- a/examples/boot/stm32wl/.cargo/config.toml +++ b/examples/boot/stm32wl/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32WLE5JCIx" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/nrf/.cargo/config.toml b/examples/nrf/.cargo/config.toml index c75b5c53..8ca28df3 100644 --- a/examples/nrf/.cargo/config.toml +++ b/examples/nrf/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip nRF52840_xxAA" [build] target = "thumbv7em-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/rp/.cargo/config.toml b/examples/rp/.cargo/config.toml index ac54f969..3d605138 100644 --- a/examples/rp/.cargo/config.toml +++ b/examples/rp/.cargo/config.toml @@ -3,3 +3,6 @@ runner = "probe-run --chip RP2040" [build] target = "thumbv6m-none-eabi" # Cortex-M0 and Cortex-M0+ + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32f0/.cargo/config.toml b/examples/stm32f0/.cargo/config.toml index 4d34270c..d1b1cd0b 100644 --- a/examples/stm32f0/.cargo/config.toml +++ b/examples/stm32f0/.cargo/config.toml @@ -3,3 +3,6 @@ runner = 'probe-run --chip STM32F030F4Px' [build] target = "thumbv6m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32f1/.cargo/config.toml b/examples/stm32f1/.cargo/config.toml index 9a7ac7b9..e61e739f 100644 --- a/examples/stm32f1/.cargo/config.toml +++ b/examples/stm32f1/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32F103C8" [build] target = "thumbv7m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32f2/.cargo/config b/examples/stm32f2/.cargo/config.toml similarity index 89% rename from examples/stm32f2/.cargo/config rename to examples/stm32f2/.cargo/config.toml index 30b6d190..197fadf9 100644 --- a/examples/stm32f2/.cargo/config +++ b/examples/stm32f2/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32F207ZGTx" [build] target = "thumbv7m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32f3/.cargo/config.toml b/examples/stm32f3/.cargo/config.toml index 84b4b2f1..d4bcd263 100644 --- a/examples/stm32f3/.cargo/config.toml +++ b/examples/stm32f3/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32F303ZETx" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32f4/.cargo/config.toml b/examples/stm32f4/.cargo/config.toml index 9e0a1521..4d4363c0 100644 --- a/examples/stm32f4/.cargo/config.toml +++ b/examples/stm32f4/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32F429ZITx" [build] target = "thumbv7em-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32f7/.cargo/config.toml b/examples/stm32f7/.cargo/config.toml index f490ed8e..b07ad158 100644 --- a/examples/stm32f7/.cargo/config.toml +++ b/examples/stm32f7/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32F767ZITx" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32g0/.cargo/config.toml b/examples/stm32g0/.cargo/config.toml index 3ebfbcb5..4f776d68 100644 --- a/examples/stm32g0/.cargo/config.toml +++ b/examples/stm32g0/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32G071RBTx" [build] target = "thumbv6m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32g4/.cargo/config.toml b/examples/stm32g4/.cargo/config.toml index 62003c2a..99feae11 100644 --- a/examples/stm32g4/.cargo/config.toml +++ b/examples/stm32g4/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32G484VETx" [build] target = "thumbv7em-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32h7/.cargo/config b/examples/stm32h7/.cargo/config.toml similarity index 85% rename from examples/stm32h7/.cargo/config rename to examples/stm32h7/.cargo/config.toml index 4106112c..d38be23e 100644 --- a/examples/stm32h7/.cargo/config +++ b/examples/stm32h7/.cargo/config.toml @@ -3,3 +3,6 @@ runner = 'probe-run --chip STM32H743ZITx' [build] target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU) + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32l0/.cargo/config.toml b/examples/stm32l0/.cargo/config.toml index ec0b931f..a81a48f9 100644 --- a/examples/stm32l0/.cargo/config.toml +++ b/examples/stm32l0/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32L053R8Tx" [build] target = "thumbv6m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32l1/.cargo/config.toml b/examples/stm32l1/.cargo/config.toml index 04985720..404b6b55 100644 --- a/examples/stm32l1/.cargo/config.toml +++ b/examples/stm32l1/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32L151CBxxA" [build] target = "thumbv7m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32l4/.cargo/config.toml b/examples/stm32l4/.cargo/config.toml index 12e77db5..5534053c 100644 --- a/examples/stm32l4/.cargo/config.toml +++ b/examples/stm32l4/.cargo/config.toml @@ -6,3 +6,6 @@ runner = "probe-run --chip STM32L4S5VI" [build] target = "thumbv7em-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32l5/.cargo/config.toml b/examples/stm32l5/.cargo/config.toml index e63fe37e..332a97d1 100644 --- a/examples/stm32l5/.cargo/config.toml +++ b/examples/stm32l5/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32L552ZETxQ" [build] target = "thumbv8m.main-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32u5/.cargo/config.toml b/examples/stm32u5/.cargo/config.toml index 64eab8de..975630a1 100644 --- a/examples/stm32u5/.cargo/config.toml +++ b/examples/stm32u5/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32U585AIIx" [build] target = "thumbv8m.main-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32wb/.cargo/config.toml b/examples/stm32wb/.cargo/config.toml index 509517a2..fcf95741 100644 --- a/examples/stm32wb/.cargo/config.toml +++ b/examples/stm32wb/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32WB55CCUx --speed 1000 --connect-under-reset" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/examples/stm32wl/.cargo/config.toml b/examples/stm32wl/.cargo/config.toml index 60076e06..e395d75b 100644 --- a/examples/stm32wl/.cargo/config.toml +++ b/examples/stm32wl/.cargo/config.toml @@ -4,3 +4,6 @@ runner = "probe-run --chip STM32WLE5JCIx" [build] target = "thumbv7em-none-eabihf" + +[env] +DEFMT_LOG = "trace" diff --git a/tests/stm32/.cargo/config.toml b/tests/stm32/.cargo/config.toml index eafab3ed..29c4799a 100644 --- a/tests/stm32/.cargo/config.toml +++ b/tests/stm32/.cargo/config.toml @@ -15,3 +15,6 @@ rustflags = [ [build] target = "thumbv7m-none-eabi" + +[env] +DEFMT_LOG = "trace" diff --git a/xtask/.cargo/config b/xtask/.cargo/config.toml similarity index 100% rename from xtask/.cargo/config rename to xtask/.cargo/config.toml