aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32g0/Cargo.toml
diff options
context:
space:
mode:
authorDerek Hageman <[email protected]>2024-01-04 07:53:31 -0700
committerDerek Hageman <[email protected]>2024-01-05 07:57:35 -0700
commitd34910dbc88d4d4b7cf907b17dd6ed4fd7e2f39c (patch)
tree2407e6f6771b0954a0727fc7349827ea491e6315 /examples/stm32g0/Cargo.toml
parent801a36c7b4e476388e55c842dec09d7ef2607a5a (diff)
stm32: Add G0 USB example
Add a USB CDC ACM example using STM32G0 USB and CRS.
Diffstat (limited to 'examples/stm32g0/Cargo.toml')
-rw-r--r--examples/stm32g0/Cargo.toml6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml
index 0abc0a638..7ad36952f 100644
--- a/examples/stm32g0/Cargo.toml
+++ b/examples/stm32g0/Cargo.toml
@@ -5,11 +5,13 @@ version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
7[dependencies] 7[dependencies]
8# Change stm32g071rb to your chip name, if necessary. 8# Change stm32g0b1re to your chip name, if necessary.
9embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [ "defmt", "time-driver-any", "stm32g071rb", "memory-x", "unstable-pac", "exti"] } 9embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [ "defmt", "time-driver-any", "stm32g0b1re", "memory-x", "unstable-pac", "exti"] }
10embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] } 10embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] }
11embassy-executor = { version = "0.4.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } 11embassy-executor = { version = "0.4.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
12embassy-time = { version = "0.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } 12embassy-time = { version = "0.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
13embassy-usb = { version = "0.1.0", path = "../../embassy-usb", default-features = false, features = ["defmt"] }
14embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
13 15
14defmt = "0.3" 16defmt = "0.3"
15defmt-rtt = "0.4" 17defmt-rtt = "0.4"