From c7a9b9f3d4b9e71303c7b988d2bd916c2e4df9bc Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Tue, 2 Aug 2022 06:21:12 -0400 Subject: First commit --- board/Cargo.toml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 board/Cargo.toml (limited to 'board/Cargo.toml') 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", +] -- cgit v1.2.3