mik32-pac 1.1.0

Peripheral access crate for the MIK32 Amur (К1948ВК018) RISC-V microcontroller
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]

# Command to install required tools
get-tools:
    echo "Installing required tools..."
    cargo install svd2rust
    cargo install form
    rustup component add rustfmt

# Command to build the project
build:
    echo "Building the project..."
    svd2rust -i ./misc/mik32v2.svd --target riscv
    form -i ./lib.rs -o ./src/
    cargo fmt
    rm lib.rs
    rm build.rs