9 releases
0.3.3 | Dec 25, 2022 |
---|---|
0.3.2 | Oct 29, 2022 |
0.2.3 | Jan 6, 2021 |
0.2.2 | Mar 27, 2020 |
0.1.0 | Dec 9, 2019 |
#1272 in Hardware support
50 downloads per month
135KB
3.5K
SLoC
msp430fr2x5x-hal
HAL for microcontrollers MSP430FR2355, MSP430FR2353, MSP430FR2153 and MSP430FR2155.
License
Licensed under either of
-
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
-
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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
~5.5MB
~142K SLoC