Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 818 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 818 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