#msp430 #panic #panic-handler

panic-msp430

Halting panic implementation for MSP430 microcontrollers

4 releases (breaking)

Uses old Rust 2015

0.4.0 Sep 11, 2022
0.3.0 Jan 26, 2022
0.2.0 Jan 2, 2020
0.1.0 Aug 26, 2019

#839 in Embedded development

Download history 1/week @ 2023-12-04 20/week @ 2023-12-11 26/week @ 2023-12-18 34/week @ 2024-02-19 30/week @ 2024-02-26 13/week @ 2024-03-04 20/week @ 2024-03-11 10/week @ 2024-03-18

74 downloads per month
Used in 2 crates

MIT/Apache

3KB

panic-msp430

Set panicking behaviour to infinite loop, specifically for the MSP430 target. Based on panic-halt by @korken89.

License

Licensed under either of

at your option.

Contribution

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.


lib.rs:

Set panicking behaviour to an infinite loop.

Unlike other panic implementations, this one relies on intrinsics specific to MSP430, so it actually builds on MSP430 targets. The implementation was originally extracted from msp430-rt crate.

Dependencies

~47KB