Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Buliding the firmware.

Jean Pierre Dudey edited this page Jan 9, 2020 · 1 revision

Install tools

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

Build essentials (make)

  • Windows: you may need to install make manually or install MSYS2.
  • Ubuntu: sudo apt-get install build-essentials.

ARM compiler

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.

Windows

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.

Uniflash

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.

Building

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

Clone this wiki locally