#embedded-hal #launchpad #msp430 #ti #no-std

nightly no-std msp430fr247x-hal

Implementation of embedded-hal for microcontrollers MSP430FR2475 and MSP430FR2476

2 releases

0.1.1 Jul 13, 2023
0.1.0 Jul 12, 2023

#1625 in Hardware support

33 downloads per month

MIT/Apache

135KB
3.5K SLoC

msp430fr247x-hal

HAL for microcontrollers MSP430FR2475 and MSP430FR2476. Forked from msp430fr2x5x-hal.

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:

Implementation of embedded_hal traits for MSP430FR2x5x family of microcontrollers. Here are the datasheet and User's guide for reference.

As of this writing, the only supported board is the MSP430FR2355.

Usage

Requires msp430-elf-gcc installed and in $PATH to build

When using this crate as a dependency, make sure you include the appropriate memory.x file for your microcontroller.

Examples

The examples/ directory contains binary code examples using the HAL abstractions. To flash the examples, make sure you have mspdebug with tilib support installed and in $PATH. Invoke xargo run --example whatever with the board plugged and the scripts should do the trick, assuming your host is Linux and you are connected via Launchpad.

Dependencies

~4.5MB
~116K SLoC