From dd99356062eaaeac3c2fa0b82dbbcaf765435c2a Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 18 Jun 2022 01:54:07 +0200 Subject: 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 | 6 ------ examples/stm32f2/.cargo/config.toml | 9 +++++++++ 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 | 5 ----- examples/stm32h7/.cargo/config.toml | 8 ++++++++ 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 | 6 ------ xtask/.cargo/config.toml | 6 ++++++ 35 files changed, 110 insertions(+), 17 deletions(-) delete mode 100644 examples/stm32f2/.cargo/config create mode 100644 examples/stm32f2/.cargo/config.toml delete mode 100644 examples/stm32h7/.cargo/config create mode 100644 examples/stm32h7/.cargo/config.toml delete mode 100644 xtask/.cargo/config create mode 100644 xtask/.cargo/config.toml diff --git a/docs/modules/ROOT/examples/basic/.cargo/config.toml b/docs/modules/ROOT/examples/basic/.cargo/config.toml index c75b5c539..8ca28df39 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 946ff250b..3012f05dc 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 27bc9708c..1060800a3 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 bbe06fd03..de3a814f7 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 c75b5c539..8ca28df39 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 eb8a8b335..a76d6cab4 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 df5114520..a90e1ccbb 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 8475e7f66..fefdd370e 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 840faa62e..2627967ab 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 04985720b..404b6b55c 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 7b6c4c0ac..43520e323 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 60076e06b..e395d75b4 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 c75b5c539..8ca28df39 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 ac54f9693..3d6051389 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 4d34270cd..d1b1cd0bf 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 9a7ac7b91..e61e739fe 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 deleted file mode 100644 index 30b6d1909..000000000 --- a/examples/stm32f2/.cargo/config +++ /dev/null @@ -1,6 +0,0 @@ -[target.'cfg(all(target_arch = "arm", target_os = "none"))'] -# replace STM32F207ZGTx with your chip as listed in `probe-run --list-chips` -runner = "probe-run --chip STM32F207ZGTx" - -[build] -target = "thumbv7m-none-eabi" diff --git a/examples/stm32f2/.cargo/config.toml b/examples/stm32f2/.cargo/config.toml new file mode 100644 index 000000000..197fadf92 --- /dev/null +++ b/examples/stm32f2/.cargo/config.toml @@ -0,0 +1,9 @@ +[target.'cfg(all(target_arch = "arm", target_os = "none"))'] +# replace STM32F207ZGTx with your chip as listed in `probe-run --list-chips` +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 84b4b2f19..d4bcd263d 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 9e0a15214..4d4363c05 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 f490ed8e4..b07ad158c 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 3ebfbcb5c..4f776d68f 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 62003c2a4..99feae119 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 deleted file mode 100644 index 4106112cd..000000000 --- a/examples/stm32h7/.cargo/config +++ /dev/null @@ -1,5 +0,0 @@ -[target.thumbv7em-none-eabihf] -runner = 'probe-run --chip STM32H743ZITx' - -[build] -target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU) diff --git a/examples/stm32h7/.cargo/config.toml b/examples/stm32h7/.cargo/config.toml new file mode 100644 index 000000000..d38be23e0 --- /dev/null +++ b/examples/stm32h7/.cargo/config.toml @@ -0,0 +1,8 @@ +[target.thumbv7em-none-eabihf] +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 ec0b931f2..a81a48f97 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 04985720b..404b6b55c 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 12e77db50..5534053c5 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 e63fe37e2..332a97d11 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 64eab8de8..975630a14 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 509517a2d..fcf95741a 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 60076e06b..e395d75b4 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 eafab3ed0..29c4799a1 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 deleted file mode 100644 index 919ec05a4..000000000 --- a/xtask/.cargo/config +++ /dev/null @@ -1,6 +0,0 @@ -[alias] -xtask = "run --package xtask --" -ci = "run --package xtask -- ci" -core = "run --package xtask -- core" -examples = "run --package xtask -- examples" -fmt = "run --package xtask -- fmt" diff --git a/xtask/.cargo/config.toml b/xtask/.cargo/config.toml new file mode 100644 index 000000000..919ec05a4 --- /dev/null +++ b/xtask/.cargo/config.toml @@ -0,0 +1,6 @@ +[alias] +xtask = "run --package xtask --" +ci = "run --package xtask -- ci" +core = "run --package xtask -- core" +examples = "run --package xtask -- examples" +fmt = "run --package xtask -- fmt" -- cgit