aboutsummaryrefslogtreecommitdiff
path: root/board/Cargo.toml
diff options
context:
space:
mode:
authorIan McIntyre <me@mciantyre.dev>2026-10-26 17:10:19 -0400
committerIan McIntyre <me@mciantyre.dev>2026-10-27 11:35:22 -0400
commitefe328a7bd17df1962a1db2a517c79f1e76a7b05 (patch)
treec9ca989bd272225b7bb2f01440c2b465d839651d /board/Cargo.toml
parent428ea28a9102d966eda5b9c39644ff66c5f59c59 (diff)
Change how board supports RAM-only programs
Just a refactor inside board. Activate the "ram" feature to target a RAM-only for your given bord. I'm adding the 1170EVK RAM support.
Diffstat (limited to 'board/Cargo.toml')
-rw-r--r--board/Cargo.toml11
1 files changed, 7 insertions, 4 deletions
diff --git a/board/Cargo.toml b/board/Cargo.toml
index 2bbc956..5ac029c 100644
--- a/board/Cargo.toml
+++ b/board/Cargo.toml
@@ -32,6 +32,7 @@ panic-rtt-target = { version = "0.1", optional = true, features = ["cortex-m"] }
nonboot = []
secondary = []
rtic = []
+ram = []
# Begin board features.
teensy4 = [
"imxrt-ral/imxrt1062",
@@ -45,10 +46,8 @@ imxrt1010evk = [
"dep:panic-rtt-target",
]
imxrt1010evk-ram = [
- "imxrt-ral/imxrt1011",
- # No FCB required.
- "dep:rtt-target",
- "dep:panic-rtt-target",
+ "ram",
+ "imxrt1010evk",
]
imxrt1170evk-cm7 = [
"imxrt-ral/imxrt1176_cm7",
@@ -56,6 +55,10 @@ imxrt1170evk-cm7 = [
"dep:rtt-target",
"dep:panic-rtt-target",
]
+imxrt1170evk-cm7-ram = [
+ "ram",
+ "imxrt1170evk-cm7",
+]
# Dummy boards for testing DCD linking.
# Don't try running these on hardware; they might not work.