aboutsummaryrefslogtreecommitdiff
path: root/tests/mspm0/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mspm0/build.rs')
-rw-r--r--tests/mspm0/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mspm0/build.rs b/tests/mspm0/build.rs
index 0b58fb9e9..43a9ac04f 100644
--- a/tests/mspm0/build.rs
+++ b/tests/mspm0/build.rs
@@ -8,6 +8,9 @@ fn main() -> Result<(), Box<dyn Error>> {
8 #[cfg(feature = "mspm0g3507")] 8 #[cfg(feature = "mspm0g3507")]
9 let memory_x = include_bytes!("memory_g3507.x"); 9 let memory_x = include_bytes!("memory_g3507.x");
10 10
11 #[cfg(feature = "mspm0g3519")]
12 let memory_x = include_bytes!("memory_g3519.x");
13
11 fs::write(out.join("memory.x"), memory_x).unwrap(); 14 fs::write(out.join("memory.x"), memory_x).unwrap();
12 15
13 println!("cargo:rustc-link-search={}", out.display()); 16 println!("cargo:rustc-link-search={}", out.display());