The firmware for the radio module
First of all you need to clone the repository:
git clone https://github.com/btcven/radio-firmware.git
git submodule update --init --recursive
Also you need to install the necessary tools to build and flash correct
Turpial's radio-firmware
:
Note: (make sure it's on PATH
):
- Windows: Check the SRecord downloads.
- Ubuntu:
sudo apt-get install srecord
- Windows: you may need to install make manually or install MSYS2.
- Ubuntu
sudo apt-get install build-essentials
You should download it from GNU-RM Downloads.
wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
tar xjf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
This will create a directory named
gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux
in your current working dir.
Add <working-directory>/gcc-arm-none-eabi-5_2-2015q4/bin
to your $PATH
.
arm-gcc(GNU-RM Downloads) has a downloadable installer for the GCC ARM
compiler, make sure after you install it is on your PATH
, if not add it.
Insall TI's Uniflash tool for your operating system. This tool allows you to upload the built firmware to the CC1312R.
The build process is very simple, just call make and it will build the
firmware and then put it under the build/simplelink/
.
make TARGET=simplelink BOARD=launchpad/cc1312r