From c6d3bcfb11800c58339037be58fa9935f816f1bb Mon Sep 17 00:00:00 2001 From: summivox Date: Sun, 20 Aug 2023 23:13:59 -0700 Subject: Add optional DCD section in linker script Users can define their device configuration data (DCD), and place the data in the .dcd section. If the .dcd section has content, the entry in the IVT points at the user's DCD. This plays well with imxrt-dcd. --- board/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/Cargo.toml') diff --git a/board/Cargo.toml b/board/Cargo.toml index 21defd4..9072274 100644 --- a/board/Cargo.toml +++ b/board/Cargo.toml @@ -45,3 +45,8 @@ imxrt1170evk-cm7 = [ "dep:rtt-target", "dep:panic-rtt-target", ] + +# Dummy boards for testing DCD linking. +# Don't try running these on hardware; they might not work. +__dcd = ["teensy4"] +__dcd_missize = ["teensy4"] -- cgit v1.2.3