Skip to content

Commit a91fce4

Browse files
committed
Testing updated to setup sscript for zephyr toolchain
1 parent fc060b6 commit a91fce4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/arm/setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ skip_vela_setup=0
2626
# Figure out if setup.sh was called or sourced and save it into "is_script_sourced"
2727
(return 0 2>/dev/null) && is_script_sourced=1 || is_script_sourced=0
2828

29+
custom_toolchain="/home/zephyruser/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin"
2930
if [[ "${ARCH}" == "x86_64" ]]; then
3031
# FVPs
3132
corstone300_url="https://developer.arm.com/-/media/Arm%20Developer%20Community/Downloads/OSS/FVP/Corstone-300/FVP_Corstone_SSE-300_11.22_20_Linux64.tgz?rev=018659bd574f4e7b95fa647e7836ccf4&hash=22A79103C6FA5FFA7AFF3BE0447F3FF9"
@@ -241,6 +242,7 @@ function create_setup_path(){
241242
toolchain_bin_path="$(cd ${toolchain_dir}/bin && pwd)"
242243
echo "export PATH=\${PATH}:${toolchain_bin_path}" >> ${setup_path_script}
243244
fi
245+
echo "export PATH=\${PATH}:${custom_toolchain}" >> ${setup_path_script}
244246
}
245247

246248
function check_platform_support() {

0 commit comments

Comments
 (0)