aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJakob <[email protected]>2025-11-07 16:14:44 +0100
committerJakob <[email protected]>2025-11-07 16:14:44 +0100
commit126f34e93145a43390193f07a3f1504a42204a57 (patch)
treec5c677d1557f3fa01cd76e67ce703e27c24fac60 /examples
parentb5ec182235195eb55317d4fa6054e750c0d5e8b0 (diff)
Restore cargo toml for examples
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32g4/.cargo/config.toml20
-rw-r--r--examples/stm32g4/Cargo.toml2
2 files changed, 5 insertions, 17 deletions
diff --git a/examples/stm32g4/.cargo/config.toml b/examples/stm32g4/.cargo/config.toml
index 52b5a7bc8..d28ad069e 100644
--- a/examples/stm32g4/.cargo/config.toml
+++ b/examples/stm32g4/.cargo/config.toml
@@ -1,21 +1,9 @@
1[target.'cfg(all(target_arch = "arm", target_os = "none"))'] 1[target.'cfg(all(target_arch = "arm", target_os = "none"))']
2# Change this runner as required for your MCU. 2# replace STM32G071C8Rx with your chip as listed in `probe-rs chip list`
3runner = [ 3runner = "probe-rs run --chip STM32G484VETx"
4 "probe-rs",
5 "run",
6 "--chip",
7 "STM32G431VBTx",
8 "--speed",
9 "5000",
10 "--preverify",
11 "--log-format",
12 "{t} [{L}] {s}",
13]
14
15 4
16[build] 5[build]
17target = "thumbv7em-none-eabihf" 6target = "thumbv7em-none-eabi"
18 7
19[env] 8[env]
20DEFMT_LOG = "info" 9DEFMT_LOG = "trace"
21DEFMT_RTT_BUFFER_SIZE = "4096"
diff --git a/examples/stm32g4/Cargo.toml b/examples/stm32g4/Cargo.toml
index 9089ec0d5..8bbeb594c 100644
--- a/examples/stm32g4/Cargo.toml
+++ b/examples/stm32g4/Cargo.toml
@@ -7,7 +7,7 @@ publish = false
7 7
8[dependencies] 8[dependencies]
9# Change stm32g491re to your chip name, if necessary. 9# Change stm32g491re to your chip name, if necessary.
10embassy-stm32 = { path = "../../embassy-stm32", features = [ "defmt", "time-driver-any", "stm32g431vb", "memory-x", "unstable-pac", "exti"] } 10embassy-stm32 = { path = "../../embassy-stm32", features = [ "defmt", "time-driver-any", "stm32g491re", "memory-x", "unstable-pac", "exti"] }
11embassy-sync = { path = "../../embassy-sync", features = ["defmt"] } 11embassy-sync = { path = "../../embassy-sync", features = ["defmt"] }
12embassy-executor = { path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt"] } 12embassy-executor = { path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt"] }
13embassy-time = { path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } 13embassy-time = { path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }