i509VCB 1d46f55bdd
nxp: Add mimxrt1062 support
The examples in this case are designed for the IMXRT1060-EVK. The same chip is used in the Teensy 4.0/1, but that will probably get its own set of examples due to some differences such as the FCB.
2025-07-22 11:25:45 -05:00

13 lines
387 B
Rust

use imxrt_rt::{Family, RuntimeBuilder};
fn main() {
RuntimeBuilder::from_flexspi(Family::Imxrt1060, 8 * 1024 * 1024)
.build()
.unwrap();
println!("cargo:rustc-link-arg-bins=--nmagic");
println!("cargo:rustc-link-arg-bins=-Tdefmt.x");
// Not link.x, as imxrt-rt needs to do some special things
println!("cargo:rustc-link-arg-bins=-Timxrt-link.x");
}