diff options
| author | Ulf Lilleengen <[email protected]> | 2024-01-24 19:30:46 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2024-01-24 21:23:54 +0100 |
| commit | 85d7779668ce14abbde4cd8fb1ea9395df529206 (patch) | |
| tree | e4973540c0b91e74cba030e43e3694c55646eb60 /tests/nrf/build.rs | |
| parent | 7d961a7f447a56a458a556b747710ec3375950d7 (diff) | |
rename nrf52 HIL test
Diffstat (limited to 'tests/nrf/build.rs')
| -rw-r--r-- | tests/nrf/build.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/nrf/build.rs b/tests/nrf/build.rs deleted file mode 100644 index 71c82a70f..000000000 --- a/tests/nrf/build.rs +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | use std::error::Error; | ||
| 2 | use std::path::PathBuf; | ||
| 3 | use std::{env, fs}; | ||
| 4 | |||
| 5 | fn main() -> Result<(), Box<dyn Error>> { | ||
| 6 | let out = PathBuf::from(env::var("OUT_DIR").unwrap()); | ||
| 7 | fs::write(out.join("link_ram.x"), include_bytes!("../link_ram_cortex_m.x")).unwrap(); | ||
| 8 | println!("cargo:rustc-link-search={}", out.display()); | ||
| 9 | println!("cargo:rerun-if-changed=link_ram.x"); | ||
| 10 | |||
| 11 | println!("cargo:rustc-link-arg-bins=--nmagic"); | ||
| 12 | println!("cargo:rustc-link-arg-bins=-Tlink_ram.x"); | ||
| 13 | println!("cargo:rustc-link-arg-bins=-Tdefmt.x"); | ||
| 14 | println!("cargo:rustc-link-arg-bins=-Tteleprobe.x"); | ||
| 15 | |||
| 16 | Ok(()) | ||
| 17 | } | ||
