Welcome to the RoboJackets IGVC firmware repo!
- Updated
arm-none-eabi-gcc - protobuf-compiler
- python-protobuf
The second two can be installed with
sudo apt install -y protobuf-compiler python-protobufFor more details, check the Dockerfile.
For some reason, it seems like the version of arm-none-eabi-ld on Ubuntu 18.04 has some linking problems.
The problem seems to go away on newer versions of arm-non-eabi-gcc though.
Steps to update arm-none-eabi-gcc:
- Download gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2
- Untar it and move it to some location (eg.
/opt/gcc-arm-none-eabi-8-2018-q4-major) - Add it to your
$PATHvariable, eg. add the following line to.bashrc:export PATH="/opt/gcc-arm-none-eabi-8-2018-q4-major/bin:$PATH"
This should solve the ld issues
Make sure to git submodule init && git submodule update as the repo uses git submodules for the mbed-os and nanopb dependencies.
mkdir build
cmake ..
makeThere should be a igvc-firmware.bin file that was compiled. Drag that onto the mbed to flash the firmware.