Skip to content

Set up and Installation Ubuntu

Samuel Pio Dcosta edited this page Aug 1, 2020 · 2 revisions

Installing and Setting up ARM Toolchain

There are 2 ways of installing ARM GCC on Linux based systems (Ubuntu as an example):

  1. Direct install from apt repository
  2. Install via the downloaded tar file

1. Direct install from apt repository

  • Open terminal
  • "sudo apt install gcc-arm-none-eabi" or "sudo apt-get install gcc-arm-none-eabi"
  • Check ARM version: arm-none-eabi-gcc --version -> You will get the existing arm toolchain version installed on your system

2. Install by manually downloading ARM toolchain from website

  • Open Website: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
  • Download the latest Toolchain. It will be a zipped file (tar file )
  • Extract tar file in /opt directory (tar xvfj filename.tar.bz2)
  • Now we need to set the default ARM toolchain path
  • Open bashrc file and add the path into it PATH=$PATH:$/opt/gcc-arm-none-eabi-9-2020-q2-update/bin
  • Save the file and close
  • Check ARM version: arm-none-eabi-gcc --version -> You will get the existing arm toolchain version installed/downloaded on your system

Setting up Serial converter with Ubuntu

Flashing code with Serial Adaptor using lpc21isp module *

NOTE: To automate the flashing/downloading of code into the target we have integrated this command into the makefile