diff options
| author | Derek Hageman <[email protected]> | 2024-01-04 07:53:31 -0700 |
|---|---|---|
| committer | Derek Hageman <[email protected]> | 2024-01-05 07:57:35 -0700 |
| commit | d34910dbc88d4d4b7cf907b17dd6ed4fd7e2f39c (patch) | |
| tree | 2407e6f6771b0954a0727fc7349827ea491e6315 /examples/stm32g0/Cargo.toml | |
| parent | 801a36c7b4e476388e55c842dec09d7ef2607a5a (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.toml | 6 |
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" | |||
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "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. |
| 9 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [ "defmt", "time-driver-any", "stm32g071rb", "memory-x", "unstable-pac", "exti"] } | 9 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [ "defmt", "time-driver-any", "stm32g0b1re", "memory-x", "unstable-pac", "exti"] } |
| 10 | embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] } | 10 | embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] } |
| 11 | embassy-executor = { version = "0.4.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } | 11 | embassy-executor = { version = "0.4.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } |
| 12 | embassy-time = { version = "0.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } | 12 | embassy-time = { version = "0.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] } |
| 13 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", default-features = false, features = ["defmt"] } | ||
| 14 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } | ||
| 13 | 15 | ||
| 14 | defmt = "0.3" | 16 | defmt = "0.3" |
| 15 | defmt-rtt = "0.4" | 17 | defmt-rtt = "0.4" |
