#panic #msp430 #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

#1329 in Embedded development

29 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

~49KB