diff options
| author | Ian McIntyre <ianpmcintyre@gmail.com> | 2023-03-13 06:50:57 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2025-11-11 08:24:38 -0500 |
| commit | 6f5633761528e484e8d0963c7ac59403f7210093 (patch) | |
| tree | f0a5f5ac03cc0a477491332adbe33bb2278faa4a /board/build.rs | |
| parent | 74d463340a87ff38a96c03a380bbed7c3ee56ba4 (diff) | |
Prototype API to build runtime in RAM
Just a proof-of-concept. The new inspect_elf test seems to show that
we're building the correct image. We need another commit in order to
help the program run in FlexRAM.
Diffstat (limited to 'board/build.rs')
| -rw-r--r-- | board/build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/build.rs b/board/build.rs index 4531667..e44a11d 100644 --- a/board/build.rs +++ b/board/build.rs @@ -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; |
