#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

#102 in Embedded development

Download history 76/week @ 2024-03-14 35/week @ 2024-03-21 50/week @ 2024-03-28 226/week @ 2024-04-04 61/week @ 2024-04-11 59/week @ 2024-04-18 181/week @ 2024-04-25 51/week @ 2024-05-02 373/week @ 2024-05-09 88/week @ 2024-05-16 398/week @ 2024-05-23 292/week @ 2024-05-30 562/week @ 2024-06-06 387/week @ 2024-06-13 591/week @ 2024-06-20 222/week @ 2024-06-27

1,784 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

~235KB