aboutsummaryrefslogtreecommitdiff
path: root/board/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 /board/Cargo.toml
First commit
Diffstat (limited to 'board/Cargo.toml')
-rw-r--r--board/Cargo.toml47
1 files changed, 47 insertions, 0 deletions
diff --git a/board/Cargo.toml b/board/Cargo.toml
new file mode 100644
index 0000000..21defd4
--- /dev/null
+++ b/board/Cargo.toml
@@ -0,0 +1,47 @@
+[package]
+name = "board"
+version = "0.1.0"
+edition = "2021"
+publish = false
+
+[dependencies.cfg-if]
+version = "1.0"
+
+[dependencies.imxrt-ral]
+version = "0.5"
+
+[dependencies.imxrt-rt]
+path = ".."
+
+[build-dependencies.imxrt-rt]
+path = ".."
+
+[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies]
+teensy4-fcb = { version = "0.3", optional = true }
+teensy4-panic = { version = "0.2", optional = true }
+
+imxrt1010evk-fcb = { version = "0.1", optional = true }
+imxrt1170evk-fcb = { version = "0.1", optional = true }
+rtt-target = { version = "0.3", optional = true, features = ["cortex-m"] }
+panic-rtt-target = { version = "0.1", optional = true, features = ["cortex-m"] }
+
+[features]
+rtic = []
+# Begin board features.
+teensy4 = [
+ "imxrt-ral/imxrt1062",
+ "dep:teensy4-fcb",
+ "dep:teensy4-panic",
+]
+imxrt1010evk = [
+ "imxrt-ral/imxrt1011",
+ "dep:imxrt1010evk-fcb",
+ "dep:rtt-target",
+ "dep:panic-rtt-target",
+]
+imxrt1170evk-cm7 = [
+ "imxrt-ral/imxrt1176_cm7",
+ "dep:imxrt1170evk-fcb",
+ "dep:rtt-target",
+ "dep:panic-rtt-target",
+]