Skip to content

Commit

Permalink
Always allow cfg(spi_address_workaround)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ committed Jan 21, 2025
1 parent fd0cb27 commit 1f4fc91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp-hal/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ fn main() -> Result<(), Box<dyn Error>> {
None
),
);
} else {
// even if !ESP32 we need to allow the `cfg`
println!("cargo:rustc-check-cfg=cfg(spi_address_workaround)");
}

if config.contains(&String::from("psram")) || config.contains(&String::from("octal_psram")) {
Expand Down

0 comments on commit 1f4fc91

Please sign in to comment.