aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorIan McIntyre <ianpmcintyre@gmail.com>2022-08-02 06:21:12 -0400
committerIan McIntyre <ianpmcintyre@gmail.com>2022-12-01 20:21:05 -0500
commitc7a9b9f3d4b9e71303c7b988d2bd916c2e4df9bc (patch)
tree6d41ea7e433cac328fa165d45d1bc0cd71a1bf8f /Cargo.toml
First commit
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml59
1 files changed, 59 insertions, 0 deletions
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"