source: ssp_armv6_m_gcc/branches/rubycfg/setup_tools.sh@ 420

Last change on this file since 420 was 418, checked in by nmir-saito, 4 years ago

Add arm-none-eabi-gdb installation in setup_tools.sh and openocd configuration file

  • Property svn:executable set to *
  • Property svn:mime-type set to text/plain; charset=utf-8
File size: 312 bytes
Line 
1#!/usr/bin/env bash
2set -eu
3
4# Variables
5GCC_COMMAND=arm-none-eabi-gcc
6
7: "install $GCC_COMMAND" && {
8 if type $GCC_COMMAND > /dev/null 2>&1; then
9 echo "$GCC_COMMAND already exists. skip install."
10 else
11 sudo apt-get update
12 sudo apt-get install -y gcc-arm-none-eabi gdb-arm-none-eabi
13 fi
14}
15
16exit 0
Note: See TracBrowser for help on using the repository browser.