diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-06-10 12:07:23 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-06-10 13:31:48 +0000 |
| commit | 5f61f7b75fa049af0f21576232c3d45022a8af77 (patch) | |
| tree | ef5fd8e6b705f396eccdc34ec2b26ff29866ab88 /Cargo.toml | |
| parent | 0b3cc87f2d590868963c32543ac3772a0b2dee28 (diff) | |
Use cargo feature instead of conditional compilation hacks
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -39,6 +39,10 @@ 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 |
