A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/YuhanLiin/msp430fr2355-quickstart below:

YuhanLiin/msp430fr2355-quickstart: Example Rust code for msp430fr2355

This is a template repository for developing applications for the MSP430FR2355 using Rust, it contains everything you need to start developing an application.

This repository contains an empty main.rs project, and a few exmaples using the msp430fr2355 Peripheral Access Crate (PAC) as a low-level interface. A higher-level interface can be provided through the msp430fr2x5x-hal Hardware Abstraction Layer (HAL). HAL examples can be found in the msp430fr2x5x-hal repository

To build the binary msp430-gcc should be available on your PATH.

To flash the binary mspdebug should be available on your PATH.

Compile the empty project in src/main.rs using cargo build, or one of the examples with cargo build --example <example_name_here>.

To flash the program to your device use cargo run or cargo run --example <example_name_here>.

To debug using gdb first start the debug server with ./debug.sh, then in a separate terminal run msp430-elf-gdb ./target/msp430-none-elf/debug/msp430fr2355-quickstart (or wherever your binary is)

An aside - What are all these crates?

msp430

msp430-rt

msp430fr2355

msp430fr2x5x-hal

panic-msp430

msp430-atomic

critical-section

Licensed under either of

at your option.

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4