machine_select: add Stellantis B2 support

This commit is contained in:
Stefan Eichenberger 2023-08-17 15:33:37 +02:00
parent 42a1e24841
commit b3d44917d5
1 changed files with 6 additions and 1 deletions

View File

@ -16,9 +16,10 @@ HW25="hw25 - TC Router"
HW26="hw26 - NG800"
VCU3="ZF - VCU3"
VCU3_ST="ZF - VCU3 Stellantis"
VCU3_ST_B2="ZF - VCU3 Stellantis B2"
set -a
select opt in "$HW16" "$HW18" "$HW20" "$HW21" "$HW23" "$HW24" "$HW25" "$HW26" "$VCU3" "$VCU3_ST"
select opt in "$HW16" "$HW18" "$HW20" "$HW21" "$HW23" "$HW24" "$HW25" "$HW26" "$VCU3" "$VCU3_ST" "$VCU3_ST_B2";
do
case $opt in
"$HW16")
@ -61,6 +62,10 @@ do
MACHINE=s32g274a-vcu3-stellantis
break
;;
"$VCU3_ST_B2")
MACHINE=s32g274a-vcu3-stellantis-b2
break
;;
*) echo "invalid option $opt";;
esac
done