diff options
| author | Milton Eduardo Sosa <31409391+snorkman88@users.noreply.github.com> | 2023-12-04 17:19:24 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-04 17:19:24 +0000 |
| commit | 207f7dba4872f5f12cba5c0ce77caa0b4fde3eee (patch) | |
| tree | b051bebbe32dc6a79c8ff2c8155b4a72a823b644 /examples/stm32f411_rtc_interrupt/Cargo.toml | |
| parent | 21191e1b234c9e62cc234ddb7cbe32e5f79671eb (diff) | |
Add RTC interrupt example for stm32f411 (#853)
* Add RTC example for stm32f411
* Remove svd file
---------
Co-authored-by: Milton Eduardo Sosa <milton.eduardo.sosa@gmail.com, milton@switch-ev.com>
Diffstat (limited to 'examples/stm32f411_rtc_interrupt/Cargo.toml')
| -rw-r--r-- | examples/stm32f411_rtc_interrupt/Cargo.toml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/stm32f411_rtc_interrupt/Cargo.toml b/examples/stm32f411_rtc_interrupt/Cargo.toml new file mode 100644 index 0000000..90053a2 --- /dev/null +++ b/examples/stm32f411_rtc_interrupt/Cargo.toml @@ -0,0 +1,29 @@ +[workspace] + +[package] +authors = ["<Milton Sosa <milton.eduardo.sosa@gmail.com>"] +edition = "2018" +readme = "README.md" +name = "rtc_wakeup_interrupt" +version = "0.1.0" + +[dependencies] +cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } +cortex-m-rt = "0.7.1" +rtic = {version = "2.0.1", features=["thumbv7-backend", "rtic-monotonics"]} +panic-halt = "0.2.0" +embedded-hal = "0.2.7" +defmt = "0.3.5" +defmt-rtt = { version = "0.4.0"} +rtic-sync = "1.0.2" + +[dependencies.stm32f4xx-hal] +version = "0.18.0" +features = ["rt", "stm32f411"] # replace the model of your microcontroller here + +# this lets you use `cargo fix`! +[[bin]] +name = "rtc_wakeup_interrupt" +test = false +bench = false + |
