From 5502067455317ece036fe2db34e1e252cf146b09 Mon Sep 17 00:00:00 2001 From: Francisco Date: Fri, 23 Feb 2018 15:37:11 -0300 Subject: [PATCH 1/3] remove RIOT_TUTORIAL clone more general script --- RIOT_Tutorial_Installer_Ubuntu.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/RIOT_Tutorial_Installer_Ubuntu.sh b/RIOT_Tutorial_Installer_Ubuntu.sh index 45694ec..0bd63bb 100755 --- a/RIOT_Tutorial_Installer_Ubuntu.sh +++ b/RIOT_Tutorial_Installer_Ubuntu.sh @@ -19,9 +19,6 @@ RIOT_TMP=$(pwd) cd $CURR_DIR -#Clone RIOT Tutorials -git clone --recursive https://github.com/RIOT-OS/Tutorials - #Install dependencies sudo apt-get install build-essential pkg-config autoconf automake libtool libusb-dev libusb-1.0-0-dev libhidapi-dev -y sudo apt-get install python-pip -y From 2a0a0533750f690270f231f6ba4770393bccbf23 Mon Sep 17 00:00:00 2001 From: fjmolinas Date: Mon, 18 Mar 2019 23:11:22 +0100 Subject: [PATCH 2/3] update toolchain URL --- RIOT_Tutorial_Installer_Ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RIOT_Tutorial_Installer_Ubuntu.sh b/RIOT_Tutorial_Installer_Ubuntu.sh index 0bd63bb..20e669b 100755 --- a/RIOT_Tutorial_Installer_Ubuntu.sh +++ b/RIOT_Tutorial_Installer_Ubuntu.sh @@ -2,7 +2,7 @@ ARCH=`uname -m` if [ ${ARCH} == 'x86_64' ]; then echo "64 bit platform detected" - TOOLCHAIN_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2?product=GNU%20ARM%20Embedded%20Toolchain,64-bit,,Linux,6-2017-q2-update + TOOLCHAIN_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2018q4/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2?revision=d830f9dd-cd4f-406d-8672-cca9210dd220?product=GNU%Arm%Embedded%Toolchain,64-bit,,Linux,8-2018-q4-major #Required for running native on x86_64 platforms sudo apt-get install gcc-multilib -y From f9ecf10a242b51fdaaf6bb852af95fc0ba1a06fc Mon Sep 17 00:00:00 2001 From: fjmolinas Date: Mon, 18 Mar 2019 23:11:40 +0100 Subject: [PATCH 3/3] copy openocd udev rules --- RIOT_Tutorial_Installer_Ubuntu.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RIOT_Tutorial_Installer_Ubuntu.sh b/RIOT_Tutorial_Installer_Ubuntu.sh index 20e669b..3aed7cd 100755 --- a/RIOT_Tutorial_Installer_Ubuntu.sh +++ b/RIOT_Tutorial_Installer_Ubuntu.sh @@ -33,6 +33,9 @@ cd openocd/ make sudo make install +##ADD openocd udev rules +cp contrib/60-openocd.rules /etc/udev/rules.d + #Install ARM Toolchain cd $RIOT_TMP wget $TOOLCHAIN_URL -O gcc.tar.bz2