From 5f61f7b75fa049af0f21576232c3d45022a8af77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 10 Jun 2020 12:07:23 +0000 Subject: Use cargo feature instead of conditional compilation hacks --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 603129a..fbc56c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 -- cgit v1.2.3