Compare commits

..

21 Commits

Author SHA1 Message Date
Naresh A
1d33386d53 Pull request #12: PINDSW-6923 Fix the mcu plus sdk link inside ind comms sdk folder in MCSDK
Merge in PINDSW/motor_control_setup from PINDSW-6923_Fix-the-mcu_plus_sdk-link-inside-ind_comms_sdk-folder-in-MCSDK to next

* commit 'c49415c1ef61940e3feb9eb1c83fc040d2db00ae':
  am64x/am243x/am263x : build : remove RTlibs from manifests
  am243x : build : fix the mcu_plus_sdk link inside ind_comms_sdk folder
2023-09-17 01:08:32 -05:00
Naresh A
c49415c1ef am64x/am243x/am263x : build : remove RTlibs from manifests
Remove RTlibs from manifests

Fixes: None

Signed-off-by: Naresh A <nareshk@ti.com>
2023-09-17 11:34:55 +05:30
Naresh A
27836d286e am243x : build : fix the mcu_plus_sdk link inside ind_comms_sdk folder
Fix the mcu_plus_sdk link inside ind_comms_sdk folder in MCSDK

Fixes: PINDSW-6923

Signed-off-by: Naresh A <nareshk@ti.com>
2023-09-15 16:29:43 +05:30
Naresh A
83f935118e Pull request #11: am64x/am243x : build : Use latest release of MCU+ SDK and IC SDK
Merge in PINDSW/motor_control_setup from PINDSW-6906_Use-latest-release-of-MCU-+-SDK-and-Industrial-Communications-SDK-in-Motor-Control-SDK to next

* commit '85fa31234984ae0ae7a347e8a68bde5df110ab67':
  am64x/am243x : build : Use latest release of MCU+ SDK and IC SDK
2023-09-14 01:29:08 -05:00
Naresh A
85fa312349 am64x/am243x : build : Use latest release of MCU+ SDK and IC SDK
Use latest release of MCU+ SDK and IC SDK in Motor Control SDK

Fixes: PINDSW-6906

Signed-off-by: Naresh A <nareshk@ti.com>
2023-09-14 11:58:01 +05:30
Naresh A
c241266f60 Pull request #10: am64x/am243x : create symbolic of mcu_plus_sdk inside ind_comms_sdk for Motor Control SDK
Merge in PINDSW/motor_control_setup from PINDSW-6580_Create-symbolic-of-mcu_plus_sdk-inside-ind_comms_sdk-for-Motor-Control-SDK to next

* commit 'd3b346a5867eb2afa33f3795bb8a8c2ca32ddc50':
  am64x/am243x : create symbolic of mcu_plus_sdk inside ind_comms_sdk for Motor Control SDK
2023-08-29 23:37:57 -05:00
Naresh A
d3b346a586 am64x/am243x : create symbolic of mcu_plus_sdk inside ind_comms_sdk for Motor Control SDK
Create symbolic of mcu_plus_sdk inside ind_comms_sdk for Motor Control SDK

Fixes: PINDSW-6580

Signed-off-by: Naresh A <nareshk@ti.com>
2023-08-30 10:07:13 +05:30
Naresh A
452f341197 Pull request #9: am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
Merge in PINDSW/motor_control_setup from PINDSW-6566_Include-RTLibs-in-Motor-Control-SDK to next

* commit 'd35d5234d6fe8d61b9611e5e65632a1d30a8df0e':
  am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
2023-08-28 05:30:37 -05:00
Naresh A
d35d5234d6 am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
Include RTLibs in Motor Control SDK

Fixes: PINDSW-6566

Signed-off-by: Naresh A <nareshk@ti.com>
2023-08-28 16:00:09 +05:30
Naresh A
e67cc5f240 Pull request #8: am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
Merge in PINDSW/motor_control_setup from PINDSW-6566_Include-RTLibs-in-Motor-Control-SDK to next

* commit '1ee308600283c08b347daacb18e961f26d44fa80':
  am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
2023-08-28 05:25:53 -05:00
Naresh A
1ee3086002 am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
Include RTLibs in Motor Control SDK

Fixes: PINDSW-6566

Signed-off-by: Naresh A <nareshk@ti.com>
2023-08-28 15:55:22 +05:30
Naresh A
fdd5f9681a Pull request #7: am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
Merge in PINDSW/motor_control_setup from PINDSW-6566_Include-RTLibs-in-Motor-Control-SDK to next

* commit 'd2cf14015d551ada091dbc362f437dc3bfa0643f':
  am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
2023-08-28 04:17:27 -05:00
Naresh A
d2cf14015d am64x/am243x : rtlibs : include RTLibs in Motor Control SDK
Include RTLibs in Motor Control SDK

Fixes: PINDSW-6566

Signed-off-by: Naresh A <nareshk@ti.com>
2023-08-28 14:46:52 +05:30
Naresh A
f2fd503c83 Pull request #6: am64x/am243x : include Industrial Communications SDK inside Motor Control SDK
Merge in PINDSW/motor_control_setup from PINDSW-6565_Include-Industrial-Communications-SDK-inside-Motor-Control-SDK to next

* commit 'd64d851759da4c2676ceb69309e2d4dec27e340a':
  am64x/am243x : include Industrial Communications SDK inside Motor Control SDK
2023-08-28 03:41:40 -05:00
Naresh A
d64d851759 am64x/am243x : include Industrial Communications SDK inside Motor Control SDK
Include Industrial Communications SDK inside Motor Control SDK

Fixes: PINDSW-6565

Signed-off-by: Naresh A <nareshk@ti.com>
2023-08-28 14:11:15 +05:30
Naresh A
fe8c10f886 Added Industrial Communications SDK installation inside Motor Control SDK 2023-08-28 13:56:23 +05:30
Naresh A
2980f6ac2a am64x/am243x/am263x : update tool versions
Update tool versions

Fixes: PINDSW-5825

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-27 11:01:58 +05:30
Naresh A
4f76d6ba05 am64x/am243x/am263x : add manifest file
Add manifest file

Fixes: PINDSW-5641

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-11 12:58:36 +05:30
Naresh A
c8f794c6ce am64x/am243x/am263x : read MCU + SDK URL from file
read MCU + SDK URL from file

Fixes: PINDSW-5641

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-11 11:55:46 +05:30
Naresh A
f0ff2c7f2d am64x/am243x/am263x : read MCU + SDK URL from file
read MCU + SDK URL from file

Fixes: PINDSW-5641

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-10 13:49:36 +05:30
Naresh A
a3d7b7f876 am64x/am243x/am263x : remove version value from mcu plus sdk install directory
Remove version value from mcu plus sdk install directory

Fixes: PINDSW-5641

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-06 16:58:51 +05:30
7 changed files with 553 additions and 17 deletions

View File

@ -16,6 +16,8 @@ for Motor Control SDK which includes but are not limited to:
- TI ARM CLANG - TI ARM CLANG
- SysConfig - SysConfig
- NodeJS and required packages - NodeJS and required packages
- MCU + SDK
- Industrial Communications SDK
Currently the scripts only support a Linux / Git Bash environment. Support will Currently the scripts only support a Linux / Git Bash environment. Support will
be added soon for Windows native environment. be added soon for Windows native environment.

431
docs/manifest.html Normal file

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,47 @@ GCC_AARCH64_VERSION="9.2-2019.12"
GCC_ARM_VERSION="7-2017-q4-major" GCC_ARM_VERSION="7-2017-q4-major"
GCC_ARM_VERSION_FOLDER="7-2017q4" GCC_ARM_VERSION_FOLDER="7-2017q4"
#MCU PLUS SDK #MCU PLUS SDK VERSION
MCU_PLUS_SDK_AM64X="09.00.00.01" MCU_PLUS_SDK_AM64X="09.00.00.35"
MCU_PLUS_SDK_AM243X="09.00.00.01" MCU_PLUS_SDK_AM243X="09.00.00.35"
MCU_PLUS_SDK_AM263X="09.00.00.01" MCU_PLUS_SDK_AM263X="09.00.00.35"
#MCU PLUS SDK NIGHTLY URL
MCU_PLUS_SDK_AM64X_NIGHTLY_URL="http://mcupnas.dhcp.ti.com/release_area/nightly_builds/mcu_plus_sdk_am64x_nightly/latest/artifacts/output/webgen/exports"
MCU_PLUS_SDK_AM243X_NIGHTLY_URL="http://mcupnas.dhcp.ti.com/release_area/nightly_builds/mcu_plus_sdk_am243x_nightly/latest/artifacts/output/webgen/exports"
MCU_PLUS_SDK_AM263X_NIGHTLY_URL="http://mcupnas.dhcp.ti.com/release_area/nightly_builds/mcu_plus_sdk_am263x_nightly/latest/artifacts/output/webgen/exports"
#MCU PLUS SDK RC VERSION
MCU_PLUS_SDK_RC_AM64X="09.00.00.21"
MCU_PLUS_SDK_RC_AM243X="09.00.00.22"
MCU_PLUS_SDK_RC_AM263X="09.00.00.21"
#MCU PLUS SDK RC URL
MCU_PLUS_SDK_AM64X_RC_URL="http://tigt_qa.dal.englab.ti.com/qacm/test_area/MCU_PLUS_SDK/${MCU_PLUS_SDK_RC_AM64X::8}/am64x/${MCU_PLUS_SDK_RC_AM64X//\./_}/exports"
MCU_PLUS_SDK_AM243X_RC_URL="http://tigt_qa.dal.englab.ti.com/qacm/test_area/MCU_PLUS_SDK/${MCU_PLUS_SDK_RC_AM243X::8}/am243x/${MCU_PLUS_SDK_RC_AM243X//\./_}/exports"
MCU_PLUS_SDK_AM263X_RC_URL="http://tigt_qa.dal.englab.ti.com/qacm/test_area/MCU_PLUS_SDK/${MCU_PLUS_SDK_RC_AM263X::8}/am263x/${MCU_PLUS_SDK_RC_AM263X//\./_}/exports"
#MCU PLUS SDK RELEASE URL
MCU_PLUS_SDK_AM64X_RELEASE_URL="https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-SfkcjYAjGS/${MCU_PLUS_SDK_AM64X}"
MCU_PLUS_SDK_AM243X_RELEASE_URL="https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-ouHbHEm1PK/${MCU_PLUS_SDK_AM243X}"
MCU_PLUS_SDK_AM263X_RELEASE_URL="https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-r5FY9rRaGv/${MCU_PLUS_SDK_AM263X}"
#INDUSTRIAK COMMUNICATIONS SDK VERSION
IND_COMMS_SDK_AM64X="09.00.00.03"
IND_COMMS_SDK_AM243X="09.00.00.03"
IND_COMMS_SDK_AM263X="09.00.00.03"
#INDUSTRIAL COMMUNICATIONS SDK NIGHTLY URL
IND_COMMS_SDK_AM64X_NIGHTLY_URL="http://mcupnas.dhcp.ti.com/release_area/nightly_builds/mcu_plus_sdk_am64x_nightly/latest/artifacts/output/webgen/exports"
IND_COMMS_SDK_AM243X_NIGHTLY_URL="http://mcupnas.dhcp.ti.com/release_area/nightly_builds/mcu_plus_sdk_am243x_nightly/latest/artifacts/output/webgen/exports"
IND_COMMS_SDK_AM263X_NIGHTLY_URL="http://mcupnas.dhcp.ti.com/release_area/nightly_builds/mcu_plus_sdk_am263x_nightly/latest/artifacts/output/webgen/exports"
#INDUSTRIAL COMMUNICATIONS SDK RC URL
IND_COMMS_SDK_AM64X_RC_URL="http://tigt_qa.dal.englab.ti.com/qacm/test_area/INDUSTRIAL-COMMUNICATIONS-SDK/${IND_COMMS_SDK_AM64X::8}/am64x/${IND_COMMS_SDK_AM64X//\./_}/exports"
IND_COMMS_SDK_AM243X_RC_URL="http://tigt_qa.dal.englab.ti.com/qacm/test_area/INDUSTRIAL-COMMUNICATIONS-SDK/${IND_COMMS_SDK_AM243X::8}/am243x/${IND_COMMS_SDK_AM243X//\./_}/exports"
IND_COMMS_SDK_AM263X_RC_URL="http://tigt_qa.dal.englab.ti.com/qacm/test_area/INDUSTRIAL-COMMUNICATIONS-SDK/${IND_COMMS_SDK_AM263X::8}/am263x/${IND_COMMS_SDK_AM263X//\./_}/exports"
#INDUSTRIAL COMMUNICATIONS SDK RELEASE URL
IND_COMMS_SDK_AM64X_RELEASE_URL="https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-SfkcjYAjGS/${IND_COMMS_SDK_AM64X}"
IND_COMMS_SDK_AM243X_RELEASE_URL="https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-ouHbHEm1PK/${IND_COMMS_SDK_AM243X}"
IND_COMMS_SDK_AM263X_RELEASE_URL="https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-r5FY9rRaGv/${IND_COMMS_SDK_AM263X}"

View File

@ -63,11 +63,21 @@ clang_url_folder="${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}
clang_install_folder="ti-cgt-armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}" clang_install_folder="ti-cgt-armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}"
clang_install_file="ti_cgt_armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}_linux-x64_installer.bin" clang_install_file="ti_cgt_armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}_linux-x64_installer.bin"
# MCU + SDK # MCU + SDK
mcu_plus_sdk_url="${MCU_PLUS_SDK_AM243X_RELEASE_URL}"
mcu_sdk_version="${MCU_PLUS_SDK_AM243X}" mcu_sdk_version="${MCU_PLUS_SDK_AM243X}"
# IND COMMS SDK
ind_comms_sdk_url="${IND_COMMS_SDK_AM243X_RC_URL}"
ind_comms_sdk_version="${IND_COMMS_SDK_AM243X}"
platform="am243x" platform="am243x"
# RTLibs
rtlibs_script_file="sitara-mcsdk-release.py"
rtlibs_generated_folder="temp_sitara_mcsdk"
if [ "${OS}" = "Windows_NT" ]; then if [ "${OS}" = "Windows_NT" ]; then
echo "Installing windows packages" echo "Installing windows packages"
#TODO #TODO
@ -76,7 +86,8 @@ else
#install_clang ${CGT_TI_ARM_CLANG_VERSION} ${clang_url_folder} ${clang_install_folder} ${clang_install_file} ${install_dir} #install_clang ${CGT_TI_ARM_CLANG_VERSION} ${clang_url_folder} ${clang_install_folder} ${clang_install_file} ${install_dir}
install_gcc_arm ${GCC_ARM_VERSION} ${gcc_arm_install_folder} ${gcc_arm_download_file} ${install_dir} ${GCC_ARM_VERSION_FOLDER} install_gcc_arm ${GCC_ARM_VERSION} ${gcc_arm_install_folder} ${gcc_arm_download_file} ${install_dir} ${GCC_ARM_VERSION_FOLDER}
install_syscfg ${SYSCFG_VERSION} ${install_dir} install_syscfg ${SYSCFG_VERSION} ${install_dir}
#install_mcu_plus_sdk ${mcu_sdk_version} ${platform} ${motor_control_folder} install_mcu_plus_sdk ${mcu_sdk_version} ${platform} ${motor_control_folder} ${mcu_plus_sdk_url}
install_ind_comms_sdk ${ind_comms_sdk_version} ${platform} ${motor_control_folder} ${ind_comms_sdk_url}
if [ "$skip_nodejs" == "false" ]; then if [ "$skip_nodejs" == "false" ]; then
install_nodejs ${NODEJS_VERSION} ${motor_control_folder} install_nodejs ${NODEJS_VERSION} ${motor_control_folder}
fi fi

View File

@ -60,11 +60,20 @@ clang_url_folder="${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}
clang_install_folder="ti-cgt-armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}" clang_install_folder="ti-cgt-armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}"
clang_install_file="ti_cgt_armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}_linux-x64_installer.bin" clang_install_file="ti_cgt_armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}_linux-x64_installer.bin"
# MCU + SDK # MCU + SDK
mcu_plus_sdk_url=${MCU_PLUS_SDK_AM263X_RELEASE_URL}
mcu_sdk_version="${MCU_PLUS_SDK_AM263X}" mcu_sdk_version="${MCU_PLUS_SDK_AM263X}"
# IND COMMS SDK
ind_comms_sdk_url="${IND_COMMS_SDK_AM263X_RC_URL}"
ind_comms_sdk_version="${IND_COMMS_SDK_AM263X}"
platform="am263x" platform="am263x"
# RTLibs
rtlibs_script_file="sitara-mcsdk-release.py"
rtlibs_generated_folder="temp_sitara_mcsdk"
if [ "${OS}" = "Windows_NT" ]; then if [ "${OS}" = "Windows_NT" ]; then
echo "Installing windows packages" echo "Installing windows packages"
#TODO #TODO
@ -72,7 +81,8 @@ else
install_ccs ${CCS_VERSION} ${install_dir} install_ccs ${CCS_VERSION} ${install_dir}
#install_clang ${CGT_TI_ARM_CLANG_VERSION} ${clang_url_folder} ${clang_install_folder} ${clang_install_file} ${install_dir} #install_clang ${CGT_TI_ARM_CLANG_VERSION} ${clang_url_folder} ${clang_install_folder} ${clang_install_file} ${install_dir}
install_syscfg ${SYSCFG_VERSION} ${install_dir} install_syscfg ${SYSCFG_VERSION} ${install_dir}
#install_mcu_plus_sdk ${mcu_sdk_version} ${platform} ${motor_control_folder} install_mcu_plus_sdk ${mcu_sdk_version} ${platform} ${motor_control_folder} ${mcu_plus_sdk_url}
install_ind_comms_sdk ${ind_comms_sdk_version} ${platform} ${motor_control_folder} ${ind_comms_sdk_url}
if [ "$skip_nodejs" == "false" ]; then if [ "$skip_nodejs" == "false" ]; then
install_nodejs ${NODEJS_VERSION} ${motor_control_folder} install_nodejs ${NODEJS_VERSION} ${motor_control_folder}
fi fi

View File

@ -65,11 +65,20 @@ clang_url_folder="${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}
clang_install_folder="ti-cgt-armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}" clang_install_folder="ti-cgt-armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}"
clang_install_file="ti_cgt_armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}_linux-x64_installer.bin" clang_install_file="ti_cgt_armllvm_${CGT_TI_ARM_CLANG_VERSION}.${CGT_TI_ARM_CLANG_VERSION_SUFFIX}_linux-x64_installer.bin"
# MCU + SDK # MCU + SDK
mcu_plus_sdk_url="${MCU_PLUS_SDK_AM64X_RELEASE_URL}"
mcu_sdk_version="${MCU_PLUS_SDK_AM64X}" mcu_sdk_version="${MCU_PLUS_SDK_AM64X}"
# IND COMMS SDK
ind_comms_sdk_url="${IND_COMMS_SDK_AM64X_RC_URL}"
ind_comms_sdk_version="${IND_COMMS_SDK_AM64X}"
platform="am64x" platform="am64x"
# RTLibs
rtlibs_script_file="sitara-mcsdk-release.py"
rtlibs_generated_folder="temp_sitara_mcsdk"
if [ "${OS}" = "Windows_NT" ]; then if [ "${OS}" = "Windows_NT" ]; then
echo "Installing windows packages" echo "Installing windows packages"
#TODO #TODO
@ -79,7 +88,8 @@ else
install_gcc_aarch64 ${GCC_AARCH64_VERSION} ${gcc_aarch64_install_folder} ${gcc_aarch64_download_file} ${install_dir} install_gcc_aarch64 ${GCC_AARCH64_VERSION} ${gcc_aarch64_install_folder} ${gcc_aarch64_download_file} ${install_dir}
install_gcc_arm ${GCC_ARM_VERSION} ${gcc_arm_install_folder} ${gcc_arm_download_file} ${install_dir} ${GCC_ARM_VERSION_FOLDER} install_gcc_arm ${GCC_ARM_VERSION} ${gcc_arm_install_folder} ${gcc_arm_download_file} ${install_dir} ${GCC_ARM_VERSION_FOLDER}
install_syscfg ${SYSCFG_VERSION} ${install_dir} install_syscfg ${SYSCFG_VERSION} ${install_dir}
#install_mcu_plus_sdk ${mcu_sdk_version} ${platform} ${motor_control_folder} install_mcu_plus_sdk ${mcu_sdk_version} ${platform} ${motor_control_folder} ${mcu_plus_sdk_url}
install_ind_comms_sdk ${ind_comms_sdk_version} ${platform} ${motor_control_folder} ${ind_comms_sdk_url}
if [ "$skip_nodejs" == "false" ]; then if [ "$skip_nodejs" == "false" ]; then
install_nodejs ${NODEJS_VERSION} ${motor_control_folder} install_nodejs ${NODEJS_VERSION} ${motor_control_folder}
fi fi

View File

@ -243,22 +243,22 @@ install_mcu_plus_sdk() {
local version=$1 local version=$1
local platform=$2 local platform=$2
local install_dir=$3 local install_dir=$3
local mcu_plus_sdk_url=$4
local version_underscore=`echo ${version} | sed -e "s|\.|_|g"` local version_underscore=`echo ${version} | sed -e "s|\.|_|g"`
local mcu_plus_sdk_url="http://mcupnas.dhcp.ti.com/release_area/nightly_builds/mcu_plus_sdk_${platform}_nightly/latest/artifacts/output/webgen/exports" local mcu_plus_sdk_download_file="mcu_plus_sdk_${platform}_${version_underscore}-linux-x64-installer.run"
local mcu_plus_sdk_download_file="mcu_plus_sdk_${platform}_${version_underscore}-linux-x64-installer.run"
echo "[mcu_plus_sdk_${platform}_${version_underscore}] Checking ..." echo "[mcu_plus_sdk_${platform}_${version_underscore}] Checking ..."
if [ ! -d ./motor_control_sdk/mcu_plus_sdk_${platform}_${version_underscore} ] if [ ! -d "${install_dir}"/mcu_plus_sdk_${platform}_${version_underscore} ]
then then
echo "[ mcu_plus_sdk_${platform}_${version_underscore} ] Downloading ..." echo "[ mcu_plus_sdk_${platform}_${version_underscore} ] Downloading ..."
wget ${mcu_plus_sdk_url}/${mcu_plus_sdk_download_file} 1>/dev/null wget -q ${mcu_plus_sdk_url}/${mcu_plus_sdk_download_file} 1>/dev/null
chmod +x ${mcu_plus_sdk_download_file} chmod +x ${mcu_plus_sdk_download_file}
echo "[ mcu_plus_sdk_${platform}_${version_underscore} ] Installing ..." echo "[ mcu_plus_sdk_${platform}_${version_underscore} ] Installing ..."
./${mcu_plus_sdk_download_file} --mode unattended --prefix ./motor_control_sdk ./${mcu_plus_sdk_download_file} --mode unattended --prefix ${install_dir}
# Remove version value from MCU + SDK installation path # Remove version value from MCU + SDK installation path
pushd motor_control_sdk pushd ${install_dir}
mv mcu_plus_sdk_${platform}_${version_underscore} mcu_plus_sdk mv mcu_plus_sdk_${platform}_${version_underscore} mcu_plus_sdk 1>/dev/null
popd popd
#Clean-up #Clean-up
rm ${mcu_plus_sdk_download_file} 1>/dev/null rm ${mcu_plus_sdk_download_file} 1>/dev/null
@ -267,6 +267,38 @@ install_mcu_plus_sdk() {
echo echo
} }
install_ind_comms_sdk() {
local version=$1
local platform=$2
local install_dir=$3
local ind_comms_sdk_url=$4
local version_underscore=`echo ${version} | sed -e "s|\.|_|g"`
local ind_comms_sdk_download_file="ind_comms_sdk_${platform}_${version_underscore}-linux-x64-installer.run"
echo "[ind_comms_sdk_${platform}_${version_underscore}] Checking ..."
if [ ! -d "${install_dir}"/ind_comms_sdk_${platform}_${version_underscore} ]
then
echo "[ ind_comms_sdk_${platform}_${version_underscore} ] Downloading ..."
wget -q ${ind_comms_sdk_url}/${ind_comms_sdk_download_file} 1>/dev/null
chmod +x ${ind_comms_sdk_download_file}
echo "[ ind_comms_sdk_${platform}_${version_underscore} ] Installing ..."
./${ind_comms_sdk_download_file} --mode unattended --prefix ${install_dir}
# Remove version value from MCU + SDK installation path
pushd ${install_dir}
mv ind_comms_sdk_${platform}_${version_underscore} ind_comms_sdk 1>/dev/null
popd
pushd ${install_dir}/ind_comms_sdk 1>/dev/null
rm -rf mcu_plus_sdk 1>/dev/null
ln -s ../mcu_plus_sdk mcu_plus_sdk 1>/dev/null
popd
#Clean-up
rm ${ind_comms_sdk_download_file} 1>/dev/null
echo "[ ind_comms_sdk_${platform}_${version_underscore} ] Done ..."
fi
echo
}
# #
# This function is used to replace the tag/reference in a repo manifest file # This function is used to replace the tag/reference in a repo manifest file
# #