2024-07-30 12:48:18 -04:00
2024-07-02 17:47:16 -04:00
2024-07-30 12:48:18 -04:00
2024-05-01 23:35:23 -04:00
2024-07-16 10:24:11 -04:00
2024-07-16 10:24:11 -04:00
2024-05-01 23:35:23 -04:00
2024-05-02 11:56:01 -04:00
2024-03-30 12:04:53 -04:00
2024-03-30 12:04:53 -04:00

Installation

Rust

install rust from here

Please use everything as default especially in Windows.

Git

use winget install git in windows

Cargo

Since we have private dependencies, we need to login to use git from system. Add following to ~/.cargo/config:

[net]
git-fetch-with-cli = true

Make sure you have valid ssh keys in your system and git account.

Use nightly version of Rust

Type rustup default nightly in command window

Install target

Type rustup target add thumbv8m.main-none-eabihf in command window

Build

cargo build --features "stm32u575ci"

You should replace stm32u575ci with your target chip.

Currently we only support very few chips.

Flash and Run

You need probe-rs to flash and run the code. Install it with:

cargo install cargo-binstall
cargo binstall probe-rs

Or you can install with `cargo binstall probe-rs"

Refer to probe-rs for more information.

Then we can flash and run with:

cargo run --features "stm32u575ci"
Description
No description provided
Readme 504 KiB
Languages
Rust 94.9%
RPC 5.1%