aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-06-18 02:24:25 +0200
committerGitHub <[email protected]>2022-06-18 02:24:25 +0200
commit3fd4ee34ecd5bae94a4ccf14f0322d6d94a4e297 (patch)
tree42000d240682aac65ed4869dc6cb9a7a18dec818
parent88e36a70bdddaa3ac2ddccd1dcd299b321f8c86c (diff)
parentdd99356062eaaeac3c2fa0b82dbbcaf765435c2a (diff)
Merge pull request #821 from embassy-rs/defmt-trace
Add env DEFMT_LOG=trace to all examples.
-rw-r--r--docs/modules/ROOT/examples/basic/.cargo/config.toml3
-rw-r--r--docs/modules/ROOT/examples/layer-by-layer/.cargo/config.toml3
-rw-r--r--embassy-boot/nrf/.cargo/config.toml3
-rw-r--r--examples/boot/.cargo/config.toml3
-rw-r--r--examples/boot/nrf/.cargo/config.toml3
-rw-r--r--examples/boot/stm32f3/.cargo/config.toml3
-rw-r--r--examples/boot/stm32f7/.cargo/config.toml3
-rw-r--r--examples/boot/stm32h7/.cargo/config.toml3
-rw-r--r--examples/boot/stm32l0/.cargo/config.toml3
-rw-r--r--examples/boot/stm32l1/.cargo/config.toml3
-rw-r--r--examples/boot/stm32l4/.cargo/config.toml3
-rw-r--r--examples/boot/stm32wl/.cargo/config.toml3
-rw-r--r--examples/nrf/.cargo/config.toml3
-rw-r--r--examples/rp/.cargo/config.toml3
-rw-r--r--examples/stm32f0/.cargo/config.toml3
-rw-r--r--examples/stm32f1/.cargo/config.toml3
-rw-r--r--examples/stm32f2/.cargo/config.toml (renamed from examples/stm32f2/.cargo/config)3
-rw-r--r--examples/stm32f3/.cargo/config.toml3
-rw-r--r--examples/stm32f4/.cargo/config.toml3
-rw-r--r--examples/stm32f7/.cargo/config.toml3
-rw-r--r--examples/stm32g0/.cargo/config.toml3
-rw-r--r--examples/stm32g4/.cargo/config.toml3
-rw-r--r--examples/stm32h7/.cargo/config.toml (renamed from examples/stm32h7/.cargo/config)3
-rw-r--r--examples/stm32l0/.cargo/config.toml3
-rw-r--r--examples/stm32l1/.cargo/config.toml3
-rw-r--r--examples/stm32l4/.cargo/config.toml3
-rw-r--r--examples/stm32l5/.cargo/config.toml3
-rw-r--r--examples/stm32u5/.cargo/config.toml3
-rw-r--r--examples/stm32wb/.cargo/config.toml3
-rw-r--r--examples/stm32wl/.cargo/config.toml3
-rw-r--r--tests/stm32/.cargo/config.toml3
-rw-r--r--xtask/.cargo/config.toml (renamed from xtask/.cargo/config)0
32 files changed, 93 insertions, 0 deletions
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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabi" 6target = "thumbv7em-none-eabi"
7
8[env]
9DEFMT_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 = [
9 9
10[build] 10[build]
11target = "thumbv7em-none-eabihf" 11target = "thumbv7em-none-eabihf"
12
13[env]
14DEFMT_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 = [
15 15
16[build] 16[build]
17target = "thumbv7em-none-eabi" 17target = "thumbv7em-none-eabi"
18
19[env]
20DEFMT_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"]
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabi" 6target = "thumbv7em-none-eabi"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabi" 6target = "thumbv7em-none-eabi"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv6m-none-eabi" 6target = "thumbv6m-none-eabi"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7m-none-eabi" 6target = "thumbv7m-none-eabi"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabi" 6target = "thumbv7em-none-eabi"
7
8[env]
9DEFMT_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"
3 3
4[build] 4[build]
5target = "thumbv6m-none-eabi" # Cortex-M0 and Cortex-M0+ 5target = "thumbv6m-none-eabi" # Cortex-M0 and Cortex-M0+
6
7[env]
8DEFMT_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'
3 3
4[build] 4[build]
5target = "thumbv6m-none-eabi" 5target = "thumbv6m-none-eabi"
6
7[env]
8DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7m-none-eabi" 6target = "thumbv7m-none-eabi"
7
8[env]
9DEFMT_LOG = "trace"
diff --git a/examples/stm32f2/.cargo/config b/examples/stm32f2/.cargo/config.toml
index 30b6d1909..197fadf92 100644
--- a/examples/stm32f2/.cargo/config
+++ b/examples/stm32f2/.cargo/config.toml
@@ -4,3 +4,6 @@ runner = "probe-run --chip STM32F207ZGTx"
4 4
5[build] 5[build]
6target = "thumbv7m-none-eabi" 6target = "thumbv7m-none-eabi"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabi" 6target = "thumbv7em-none-eabi"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv6m-none-eabi" 6target = "thumbv6m-none-eabi"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabi" 6target = "thumbv7em-none-eabi"
7
8[env]
9DEFMT_LOG = "trace"
diff --git a/examples/stm32h7/.cargo/config b/examples/stm32h7/.cargo/config.toml
index 4106112cd..d38be23e0 100644
--- a/examples/stm32h7/.cargo/config
+++ b/examples/stm32h7/.cargo/config.toml
@@ -3,3 +3,6 @@ runner = 'probe-run --chip STM32H743ZITx'
3 3
4[build] 4[build]
5target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU) 5target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)
6
7[env]
8DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv6m-none-eabi" 6target = "thumbv6m-none-eabi"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7m-none-eabi" 6target = "thumbv7m-none-eabi"
7
8[env]
9DEFMT_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"
6 6
7[build] 7[build]
8target = "thumbv7em-none-eabi" 8target = "thumbv7em-none-eabi"
9
10[env]
11DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv8m.main-none-eabihf" 6target = "thumbv8m.main-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv8m.main-none-eabihf" 6target = "thumbv8m.main-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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"
4 4
5[build] 5[build]
6target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabihf"
7
8[env]
9DEFMT_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 = [
15 15
16[build] 16[build]
17target = "thumbv7m-none-eabi" 17target = "thumbv7m-none-eabi"
18
19[env]
20DEFMT_LOG = "trace"
diff --git a/xtask/.cargo/config b/xtask/.cargo/config.toml
index 919ec05a4..919ec05a4 100644
--- a/xtask/.cargo/config
+++ b/xtask/.cargo/config.toml