Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ Establish a 32 byte reservation at the start of ITCM where instructions are
never placed. This reduces the total capacity of ITCM by 32 bytes on nearly
all MCUs, except the 1180.

### FlexRAM bank layouts

The runtime builder lets users specify the _layout_, or assignment, of FlexRAM
banks. This is more precise than the _count_ of banks.

By default, the layout remains an implementation detail of the builder. This is
true if you only specify the count, or if you make no choice. However, if you
specify the layout, the builder guarantees that the FlexRAM banks will match
that layout.

## [0.1.7] 2025-06-14

Introduce `RuntimeBuilder::in_flash` for creating images that can be launched
Expand Down
6 changes: 6 additions & 0 deletions board/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ imxrt1010evk = [
"dep:rtt-target",
"dep:panic-rtt-target",
]
imxrt1010evk-ram = [
"imxrt-ral/imxrt1011",
# No FCB required.
"dep:rtt-target",
"dep:panic-rtt-target",
]
imxrt1170evk-cm7 = [
"imxrt-ral/imxrt1176_cm7",
"dep:imxrt1170evk-fcb",
Expand Down
7 changes: 7 additions & 0 deletions board/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ fn main() {
.heap_size_env_override("BOARD_HEAP")
.build()
.unwrap(),
"imxrt1010evk_ram" => {
imxrt_rt::RuntimeBuilder::from_ram(imxrt_rt::Family::Imxrt1010)
.heap_size(1024)
.build()
.unwrap();
println!("cargo:rustc-cfg=from_ram");
}
_ => continue,
}
break;
Expand Down
2 changes: 1 addition & 1 deletion board/src/imxrt1010evk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use crate::ral;

#[cfg(target_arch = "arm")]
#[cfg(all(target_arch = "arm", not(feature = "imxrt1010evk-ram")))]
use imxrt1010evk_fcb as _;
#[cfg(target_arch = "arm")]
use panic_rtt_target as _;
Expand Down
2 changes: 1 addition & 1 deletion board/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cfg_if::cfg_if! {

mod teensy4;
pub use teensy4::*;
} else if #[cfg(feature = "imxrt1010evk")] {
} else if #[cfg(any(feature = "imxrt1010evk", feature = "imxrt1010evk-ram"))] {
mod shared { pub mod imxrt10xx; }
use shared::imxrt10xx::prepare_pit;

Expand Down
Loading