Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 902 Bytes

linux.md

File metadata and controls

35 lines (29 loc) · 902 Bytes

The following setup guide is written assuming Ubuntu. This setup guide is applicable to other distros, but the package names may vary per distro.

Base development packages

sudo apt install                  \
  build-essential                 \
  cmake                           \
  python3-dev                     \
  python3-pip                     \
  gcc-arm-none-eabi               \
  libnewlib-arm-none-eabi         \
  libstdc++-arm-none-eabi-newlib  \
  openocd                         \
  ninja-build

mbed-tools & Dependencies

pip install   \
  mbed-tools  \
  prettytable \
  future      \
  jinja2      \
  intelhex

In ~/.bashrc (or ~/.bash_profile), append the following to enable mbed-tools via command line:

export PATH="${PATH}:/home/${USER}/.local/bin"

Return to main setup guide to continue setup.