Rust library to flash ham radios for OpenRTX, paired with a minimal CLI interface
Install Rust toolchain:
curl https://sh.rustup.rs -sSf | sh
Build
cargo build
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