diff options
| author | i509VCB <[email protected]> | 2025-07-07 03:02:48 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-07 03:02:48 +0000 |
| commit | f56197c51e7a75e1f0f794300a9df178bb18b8a2 (patch) | |
| tree | 0be225ec00d996c7af89bb56aeb82a3aa08a792c /tests/mspm0/build.rs | |
| parent | d7d0828d5c2e572bc278cacc3ec0c1bfd8912d79 (diff) | |
| parent | e57dffafa5723931dd529afe8e22cba0c9ea09f0 (diff) | |
Merge pull request #4338 from i509VCB/dma
mspm0: add dma driver
Diffstat (limited to 'tests/mspm0/build.rs')
| -rw-r--r-- | tests/mspm0/build.rs | 3 |
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()); |
