|     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

The Open Source Committee (OSCom) is currently considering the addition of both an individual and an entity General CLA to cover all licenses on the IEEE SA OPEN platform. Please share your thoughts regarding the proposed General CLAs by May 17, 2022.

Commit f5b4f548 authored by Alfredo Herrera's avatar Alfredo Herrera
Browse files

Merge branch 'master' of

parents 6dc1960f 810d4ad4
......@@ -39,22 +39,22 @@ set -eux
# Install rv32m1 SDK tools
echo "Installing rv32m1 tools"; echo""
cd /home/user
curl -L >
#curl -L >
# Convert SDK shell script into the tar file -- this implictly accepts the license and extracts to /home/user/vega
ARCHIVE=$(awk '/^__ARCHIVE__/ {print NR + 1; exit 0; }' "")
tail -n+${ARCHIVE} "" | tar -xz > /dev/null 2>&1 || true
mkdir /home/user/vega
(cd /home/user/vega && tar xf /home/user/rv32m1_sdk_riscv.tar.gz)
#ARCHIVE=$(awk '/^__ARCHIVE__/ {print NR + 1; exit 0; }' "")
#tail -n+${ARCHIVE} "" | tar -xz > /dev/null 2>&1 || true
#mkdir /home/user/vega
#(cd /home/user/vega && tar xf /home/user/rv32m1_sdk_riscv.tar.gz)
cd /home/user
curl -L > Toolchain_Linux.tar.gz
#curl -L > Toolchain_Linux.tar.gz
# Extract toolchain, takes two steps as there are archives in Toolchain_Linux.tar.gz)
mkdir toolchain
pushd toolchain
tar xf /home/user/Toolchain_Linux.tar.gz # this makes tar files for next lines
tar xf riscv32-unknown-elf-gcc.tar.gz
tar xf openocd.tar.gz
#pushd toolchain
#tar xf /home/user/Toolchain_Linux.tar.gz # this makes tar files for next lines
#tar xf riscv32-unknown-elf-gcc.tar.gz
#tar xf openocd.tar.gz
# Set the toolchain defaults for GNU MCU plug-ins to what we just "installed"
mkdir -p /home/user/eclipse/configuration/.settings/
......@@ -64,7 +64,8 @@ echo "install.folder=/home/user/toolchain" >> /home/user/eclipse/configuration/.
# gcc & friends location
echo "eclipse.preferences.version=1" > /home/user/eclipse/configuration/.settings/ilg.gnumcueclipse.managedbuild.cross.riscv.prefs
# (magic number comes from
echo "toolchain.path.512258282=/home/user/toolchain/riscv32-unknown-elf-gcc/bin" >> /home/user/eclipse/configuration/.settings/ilg.gnumcueclipse.managedbuild.cross.riscv.prefs
rm rv32m1_sdk_riscv.tar.gz Toolchain_Linux.tar.gz toolchain/riscv32-unknown-elf-gcc.tar.gz toolchain/openocd.tar.gz
#echo "toolchain.path.512258282=/home/user/toolchain/riscv32-unknown-elf-gcc/bin" >> /home/user/eclipse/configuration/.settings/ilg.gnumcueclipse.managedbuild.cross.riscv.prefs
# Modified for pre-release version
echo "toolchain.path.512258282=/home/user/pulp/riscv32-unknown-elf/bin" >> /home/user/eclipse/configuration/.settings/ilg.gnumcueclipse.managedbuild.cross.riscv.prefs
#rm rv32m1_sdk_riscv.tar.gz Toolchain_Linux.tar.gz toolchain/riscv32-unknown-elf-gcc.tar.gz toolchain/openocd.tar.gz
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment