-
-
Notifications
You must be signed in to change notification settings - Fork 10
Buliding the firmware.
Also you need to install the necessary tools to build and flash correct Turpial's radio-firmware : SRecord
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. On Ubuntu/Any Linux Distribution
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 the following directory on your current directory:
gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux
Add /gcc-arm-none-eabi-5_2-2015q4/bin to your $PATH.
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.
You can download Uniflash here.
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