mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
Use cargo feature instead of conditional compilation hacks
This commit is contained in:
parent
0b3cc87f2d
commit
5f61f7b75f
4 changed files with 40 additions and 29 deletions
|
|
@ -38,6 +38,10 @@ required-features = ["__v7"]
|
|||
name = "t-cfg"
|
||||
required-features = ["__v7"]
|
||||
|
||||
[[example]]
|
||||
name = "t-cfg-resources"
|
||||
required-features = ["__min_r1_43"]
|
||||
|
||||
[[example]]
|
||||
name = "t-schedule"
|
||||
required-features = ["__v7"]
|
||||
|
|
@ -77,6 +81,7 @@ heterogeneous = ["cortex-m-rtfm-macros/heterogeneous", "microamp"]
|
|||
homogeneous = ["cortex-m-rtfm-macros/homogeneous"]
|
||||
# used for testing this crate; do not use in applications
|
||||
__v7 =[]
|
||||
__min_r1_43 =[]
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue