#run-time #rt #mx #processor #memory-map #size #section

no-std imxrt-rt

Startup and runtime support for i.MX RT processors

5 releases

0.1.4 Apr 5, 2024
0.1.3 Oct 1, 2023
0.1.2 Sep 8, 2023
0.1.1 Feb 14, 2023
0.1.0 Dec 2, 2022

#186 in Embedded development

Download history 112/week @ 2023-12-22 15/week @ 2023-12-29 106/week @ 2024-01-05 64/week @ 2024-01-12 59/week @ 2024-01-19 51/week @ 2024-01-26 36/week @ 2024-02-02 16/week @ 2024-02-09 50/week @ 2024-02-16 122/week @ 2024-02-23 89/week @ 2024-03-01 102/week @ 2024-03-08 69/week @ 2024-03-15 35/week @ 2024-03-22 57/week @ 2024-03-29 215/week @ 2024-04-05

386 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

62KB
1K SLoC

Rust 769 SLoC // 0.1% comments Alex 243 SLoC GDB Script 4 SLoC

imxrt-rt

Runtime and startup support for i.MX RT processors.

This crate builds on cortex-m-rt and adds support for i.MX RT processors. Using this runtime crate, you can specify FlexRAM sizes and section allocations, then use it to boot your i.MX RT processor.

The crate achieves this with

  • a build-time API to define the memory map.
  • a runtime library to configure the embedded processor.

To learn how to use this crate in your firmware, see the crate documentation. To try the runtime on hardware, see the board documentation.

Development

Run automated tests like this:

cargo test --tests
cargo test --doc
cargo test --tests -- --ignored

If you have pyOCD available, you can check the effects of the runtime initialization routine with GDB:

pyocd gdb --target=$YOUR_TARGET
arm-none-eabi-gdb < cmds.gdb

Make sure that the register values make sense for your target.

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~225KB