Skip to content

Commit

Permalink
adding factory mode to rvc4 devices
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-pejovic committed Dec 9, 2024
1 parent 920cdf8 commit 561f3e5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/hil/run_hil_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ fi
TEST_FLAVOR=$1
TEST_ARGS=$2

# Check for optional RVC arguments
if [[ "$TEST_ARGS" == "--rvc4" ]]; then
echo "Running RVC4 configuration commands..."
adb shell mkdir -p /persist/factory/
adb shell touch /persist/factory/enabled
adb shell reboot
echo "Device reboot initiated for RVC4. Factory mode enabled."
elif [[ "$TEST_ARGS" == "--rvc2" ]]; then
echo "RVC2 configuration specified. Continuing with test setup..."
fi

# Set up a Python virtual environment
rm -rf venv
python3 -m venv venv
Expand Down

0 comments on commit 561f3e5

Please sign in to comment.