Skip to content

Commit

Permalink
device features
Browse files Browse the repository at this point in the history
  • Loading branch information
burrbull committed Jul 29, 2019
1 parent 0588013 commit 2e6acff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ stm32f100 = ["stm32f1/stm32f100", "device-selected"]
stm32f101 = ["stm32f1/stm32f101", "device-selected"]
stm32f103 = ["stm32f1/stm32f103", "device-selected"]

# Devices with 64 or 128 Kb ROM
medium = []
# Devices with 256 or 512 Kb ROM
high = ["medium"]
# Devices with 768 Kb ROM or more
xl = ["high"]

[profile.dev]
incremental = false
codegen-units = 1
Expand Down
2 changes: 1 addition & 1 deletion src/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,4 +636,4 @@ where

Transfer::w(buffer, self)
}
}
}

0 comments on commit 2e6acff

Please sign in to comment.