2022-02-05 13:19:20 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# Script to set path to raspberry pi toolchain
|
|
|
|
# Run script with: source egse_path_helper_win.sh
|
|
|
|
TOOLCHAIN_PATH="/c/SysGCC/raspberry/bin"
|
|
|
|
if [ $# -eq 1 ];then
|
|
|
|
export PATH=$PATH:"$1"
|
|
|
|
else
|
|
|
|
export PATH=$PATH:$TOOLCHAIN_PATH
|
|
|
|
fi
|
|
|
|
|
2022-02-07 09:47:12 +01:00
|
|
|
echo "Path of toolchain set to $TOOLCHAIN_PATH"
|
2022-02-05 13:19:20 +01:00
|
|
|
export CROSS_COMPILE="arm-linux-gnueabihf"
|
|
|
|
export RASPBERRY_VERSION="4"
|