From 16e5b05b2b0142936beebb7a320b14b44a5042ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Milants?= Date: Sat, 26 Dec 2020 15:58:53 +0100 Subject: [PATCH] Fix submodules and add path.bash to specify the path to the toolchain --- .gitignore | 1 - paths.bash | 4 ++++ reloader | 1 + scripts/nrf52/build-boot.sh | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 paths.bash create mode 160000 reloader diff --git a/.gitignore b/.gitignore index 16c2958..a488901 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,3 @@ libusb*/ hidapi*/ .idea/* -/reloader/ diff --git a/paths.bash b/paths.bash new file mode 100644 index 0000000..6d2298f --- /dev/null +++ b/paths.bash @@ -0,0 +1,4 @@ +#!/bin/bash + +# Add the path to your build toolchain in your PATH here: +#export PATH=/home/jf/nrf52/gcc-arm-none-eabi-9-2020-q2-update/bin/:$PATH \ No newline at end of file diff --git a/reloader b/reloader new file mode 160000 index 0000000..7b0905b --- /dev/null +++ b/reloader @@ -0,0 +1 @@ +Subproject commit 7b0905b9d36d9fb9fae5e8ae1f4ad0c536904110 diff --git a/scripts/nrf52/build-boot.sh b/scripts/nrf52/build-boot.sh index fef67e0..c82f25e 100755 --- a/scripts/nrf52/build-boot.sh +++ b/scripts/nrf52/build-boot.sh @@ -4,6 +4,8 @@ set -e # Exit when any command fails. set -x # Echo all commands. +source paths.bash + # Show the Arm Toolchain version. arm-none-eabi-gcc --version