stm32/tests: add stm32wl hil.

This commit is contained in:
Dario Nieuwenhuis
2023-10-17 15:49:20 +02:00
parent 683d5c3066
commit 846f2fc6e4
4 changed files with 22 additions and 1 deletions

View File

@ -8,12 +8,14 @@ fn main() -> Result<(), Box<dyn Error>> {
println!("cargo:rustc-link-search={}", out.display());
println!("cargo:rustc-link-arg-bins=--nmagic");
// too little RAM to run from RAM.
if cfg!(any(
// too little RAM to run from RAM.
feature = "stm32f103c8",
feature = "stm32c031c6",
feature = "stm32wb55rg",
feature = "stm32l073rz",
// wrong ram size in stm32-data
feature = "stm32wl55jc",
)) {
println!("cargo:rustc-link-arg-bins=-Tlink.x");
println!("cargo:rerun-if-changed=link.x");