Skip to content

Commit

Permalink
gpio: Add basic functionality for GPIOs
Browse files Browse the repository at this point in the history
  • Loading branch information
astapleton committed Jul 31, 2024
1 parent 0a405b4 commit b7d2e35
Show file tree
Hide file tree
Showing 5 changed files with 606 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@ rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["rt"]

device-selected = []
rm0492 = []

# rmXXXX represent processor subfamilies and their common features
rm0492 = ["gpio-h503"]
rm0481 = []

# Different subfamilies have different GPIOs available
gpio-h503 = []

rt = ["stm32h5/rt"]
stm32h503 = ["stm32h5/stm32h503", "device-selected", "rm0492"]
stm32h562 = ["stm32h5/stm32h562", "device-selected", "rm0481"]
Expand Down
Loading

0 comments on commit b7d2e35

Please sign in to comment.