This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
fsfw_example_public/cmake/scripts/FreeRTOS/path_helper.sh

13 lines
450 B
Bash
Raw Normal View History

2021-04-27 17:22:34 +02:00
#!/bin/sh
# This script can be used to set the path to the cross-compile toolchain
# A default path is set if the path is not supplied via command line
if [ $# -eq 1 ];then
export PATH=$PATH:"$1"
elif [ $# -eq 2 ];then
export PATH=$PATH:"$1":"$2"
else
export PATH=$PATH:"${HOME}/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.2.1-1.1.2/.content/bin
"
export PATH=$PATH:"${HOME}/opt/xPacks/@xpack-dev-tools/openocd/0.10.0-15.1/.content/bin"
fi