11 releases
0.4.1 | Jan 26, 2025 |
---|---|
0.4.0 | Jan 22, 2025 |
0.3.3 | Dec 25, 2022 |
0.3.2 | Oct 29, 2022 |
0.1.0 | Dec 9, 2019 |
#308 in Hardware support
251 downloads per month
205KB
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
~6MB
~148K SLoC