From c7a9b9f3d4b9e71303c7b988d2bd916c2e4df9bc Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Tue, 2 Aug 2022 06:21:12 -0400 Subject: First commit --- Cargo.toml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..3fd0273 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,59 @@ +[package] +name = "imxrt-rt" +version = "0.1.0" +edition = "2021" +license = "MIT OR Apache-2.0" +repository = "https://github.com/imxrt-rs/imxrt-rt" +description = "Startup and runtime support for i.MX RT processors." +categories = [ + "embedded", + "hardware-support", + "no-std", +] + +[features] +device = ["cortex-m-rt/device"] + +[dependencies] +cfg-if = "1.0" + +[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies] +cortex-m-rt = { version = "=0.7.1" } + +[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dev-dependencies] +board = { path = "board" } +cortex-m-rtic = { version = "1.0" } + +[target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dev-dependencies] +goblin = "0.5" + +[[example]] +name = "blink-rtic" +required-features = ["board/rtic"] + +[workspace] +members = [ + "board", +] + +[profile.dev] +opt-level = 0 +lto = "off" +panic = "abort" + +[profile.release] +opt-level = "s" +lto = "fat" +panic = "abort" +codegen-units = 1 + +[profile.dev.build-override] +opt-level = 0 +codegen-units = 256 + +[profile.release.build-override] +opt-level = 0 +codegen-units = 256 + +[patch.crates-io.imxrt-ral] +git = "https://github.com/mciantyre/imxrt-ral" -- cgit v1.2.3