From 3806b74b22e5488a24e8fae184dd638d85f5aae8 Mon Sep 17 00:00:00 2001 From: heck Date: Sat, 7 Sep 2024 01:26:36 +0200 Subject: [PATCH] update toolchains.sh --- bash_profile.d/00_base.sh | 1 - bash_profile.d/toolchains.sh | 12 +++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bash_profile.d/00_base.sh b/bash_profile.d/00_base.sh index 1429ab7..26fe6e5 100644 --- a/bash_profile.d/00_base.sh +++ b/bash_profile.d/00_base.sh @@ -49,4 +49,3 @@ alias md='m develop' # grep alias grep='grep --color=auto' -alias heck_toolchain_info='make -f ~/HeckBashSetup/scripts/ToolchainInfo' diff --git a/bash_profile.d/toolchains.sh b/bash_profile.d/toolchains.sh index 59126f8..4c0646b 100644 --- a/bash_profile.d/toolchains.sh +++ b/bash_profile.d/toolchains.sh @@ -19,9 +19,9 @@ function heck_toolchain_arduino() { export PATH=$PATH:~/src/arduino-cli } -function heck_toolchain_daisy() { - PATH=~/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH - PATH=~/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/bin:$PATH +function heck_toolchain_arm() { + PATH=/opt/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH + #PATH=/opt/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/bin:$PATH } function heck_toolchain_fv1() { @@ -46,5 +46,7 @@ function heck_toolchain_fv1() { } } -OCD_DIR=/opt/local/bin/openocd/ -heck_toolchain_daisy \ No newline at end of file +alias heck_toolchain_info='make -f ~/HeckBashSetup/scripts/ToolchainInfo' + +#OCD_DIR=/opt/local/bin/openocd/ +heck_toolchain_arm \ No newline at end of file