diff options
| author | Jakob <[email protected]> | 2025-11-07 16:14:44 +0100 |
|---|---|---|
| committer | Jakob <[email protected]> | 2025-11-07 16:14:44 +0100 |
| commit | 126f34e93145a43390193f07a3f1504a42204a57 (patch) | |
| tree | c5c677d1557f3fa01cd76e67ce703e27c24fac60 | |
| parent | b5ec182235195eb55317d4fa6054e750c0d5e8b0 (diff) | |
Restore cargo toml for examples
| -rw-r--r-- | examples/stm32g4/.cargo/config.toml | 20 | ||||
| -rw-r--r-- | examples/stm32g4/Cargo.toml | 2 |
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` |
| 3 | runner = [ | 3 | runner = "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] |
| 17 | target = "thumbv7em-none-eabihf" | 6 | target = "thumbv7em-none-eabi" |
| 18 | 7 | ||
| 19 | [env] | 8 | [env] |
| 20 | DEFMT_LOG = "info" | 9 | DEFMT_LOG = "trace" |
| 21 | DEFMT_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. |
| 10 | embassy-stm32 = { path = "../../embassy-stm32", features = [ "defmt", "time-driver-any", "stm32g431vb", "memory-x", "unstable-pac", "exti"] } | 10 | embassy-stm32 = { path = "../../embassy-stm32", features = [ "defmt", "time-driver-any", "stm32g491re", "memory-x", "unstable-pac", "exti"] } |
| 11 | embassy-sync = { path = "../../embassy-sync", features = ["defmt"] } | 11 | embassy-sync = { path = "../../embassy-sync", features = ["defmt"] } |
| 12 | embassy-executor = { path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt"] } | 12 | embassy-executor = { path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt"] } |
| 13 | embassy-time = { path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } | 13 | embassy-time = { path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } |
