Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 920 Bytes

File metadata and controls

53 lines (39 loc) · 920 Bytes

rtxflash

Rust library to flash ham radios for OpenRTX, paired with a minimal CLI interface

Building under linux

Install Rust toolchain:

curl https://sh.rustup.rs -sSf | sh

Build

cargo build

Building under Windows

Install MSYS2 from here, open MSYS2 terminal.

Install dependencies:

curl https://sh.rustup.rs -sSf | sh
# Enter Y, 2 to customize installation, select triple x86_64-pc-windows-gnu, leave others as default
pacman -S git mingw-w64-x86_64-gcc
git clone https://github.com/OpenRTX/rtxflash
# Add Rust tools to path
echo "export PATH=\"\$PATH:\${USERPROFILE}\.cargo\bin\"" >> ~/.bashrc
# Source new bashrc
. ~/.bashrc

Build

cd rtxflash
rustup target add x86_64-pc-windows-gnu
cargo build --target x86_64-pc-windows-gnu

Building under macOS

Install Rust

brew install rust

Build

cargo build