From 9e445b3583c15c7701f3167eaa8dfe4afd541691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sat, 4 Feb 2023 16:47:17 +0100 Subject: Move rtic macros to repo root, tune xtask --- rtic-macros/Cargo.toml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 rtic-macros/Cargo.toml (limited to 'rtic-macros/Cargo.toml') diff --git a/rtic-macros/Cargo.toml b/rtic-macros/Cargo.toml new file mode 100644 index 0000000..970f666 --- /dev/null +++ b/rtic-macros/Cargo.toml @@ -0,0 +1,41 @@ +[package] +authors = [ + "The Real-Time Interrupt-driven Concurrency developers", + "Emil Fresk ", + "Henrik Tjäder ", + "Jorge Aparicio ", + "Per Lindgren ", +] +categories = ["concurrency", "embedded", "no-std", "asynchronous"] +description = "Procedural macros, syntax parsing, and codegen of the RTIC crate" +documentation = "https://rtic-rs.github.io/rtic/api/rtic" +edition = "2021" +keywords = ["arm", "cortex-m", "risc-v", "embedded", "async", "runtime", "futures", "await", "no-std", "rtos", "bare-metal"] +license = "MIT OR Apache-2.0" +name = "rtic-macros" +readme = "../../README.md" +repository = "https://github.com/rtic-rs/rtic" + +version = "2.0.0-alpha.0" + +[lib] +proc-macro = true + +[features] +default = [] +debugprint = [] +# list of supported codegen backends +thumbv6 = [] +thumbv7 = [] +# riscv-clic = [] +# riscv-ch32 = [] + +[dependencies] +indexmap = "1.9.2" +proc-macro2 = "1.0.49" +proc-macro-error = "1.0.4" +quote = "1.0.23" +syn = { version = "1.0.107", features = ["extra-traits", "full"] } + +[dev-dependencies] +trybuild = "1.0.73" -- cgit v1.2.3 From 60f0342b697cdddbab9c0e8c6d772bc7aab9de38 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sat, 11 Feb 2023 08:55:19 +0100 Subject: Break out core specific codegen to bindings --- rtic-macros/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'rtic-macros/Cargo.toml') diff --git a/rtic-macros/Cargo.toml b/rtic-macros/Cargo.toml index 970f666..12cd0d9 100644 --- a/rtic-macros/Cargo.toml +++ b/rtic-macros/Cargo.toml @@ -24,6 +24,7 @@ proc-macro = true [features] default = [] debugprint = [] + # list of supported codegen backends thumbv6 = [] thumbv7 = [] -- cgit v1.2.3 From b9e0f36aff96ec4e39cf4f728777cbc808df2c78 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sun, 19 Feb 2023 14:30:49 +0100 Subject: Add feature flags --- rtic-macros/Cargo.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'rtic-macros/Cargo.toml') diff --git a/rtic-macros/Cargo.toml b/rtic-macros/Cargo.toml index 12cd0d9..bdc2c12 100644 --- a/rtic-macros/Cargo.toml +++ b/rtic-macros/Cargo.toml @@ -26,10 +26,13 @@ default = [] debugprint = [] # list of supported codegen backends -thumbv6 = [] -thumbv7 = [] -# riscv-clic = [] -# riscv-ch32 = [] +cortex_m_source_masking = [] +cortex_m_basepri = [] +# riscv_clic = [] +# riscv_ch32 = [] + +# backend API test +test_template = [] [dependencies] indexmap = "1.9.2" -- cgit v1.2.3 From 4442c4692634c90ba60653d42d72f9f259ae1a16 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Mon, 20 Feb 2023 20:56:18 +0100 Subject: Update backend features to be more clear --- rtic-macros/Cargo.toml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'rtic-macros/Cargo.toml') diff --git a/rtic-macros/Cargo.toml b/rtic-macros/Cargo.toml index bdc2c12..94aa88b 100644 --- a/rtic-macros/Cargo.toml +++ b/rtic-macros/Cargo.toml @@ -23,16 +23,15 @@ proc-macro = true [features] default = [] -debugprint = [] # list of supported codegen backends -cortex_m_source_masking = [] -cortex_m_basepri = [] -# riscv_clic = [] -# riscv_ch32 = [] +cortex-m-source-masking = [] +cortex-m-basepri = [] +# riscv-clic = [] +# riscv-ch32 = [] # backend API test -test_template = [] +test-template = [] [dependencies] indexmap = "1.9.2" -- cgit v1.2.3