Merge pull request #1200 from grvvy/dual_device_patch

CI: add serial numbers for both connected HackRFs
This commit is contained in:
Jacob Graves
2022-10-17 12:53:54 -06:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@ -19,5 +19,9 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install git+https://github.com/CapableRobot/CapableRobot_USBHub_Driver --upgrade
# Serial numbers for EUT and TESTER devices connected to the test server
ENV EUT=RunningFromRAM
ENV TESTER=0000000000000000325866e629a25623
# Inform Docker that the container is listening on port 8080 at runtime
EXPOSE 8080

View File

@ -3,7 +3,7 @@ host/build/hackrf-tools/src/hackrf_spiflash -w firmware/hackrf_usb/build/hackrf_
EXIT_CODE="$?"
if [ "$EXIT_CODE" == "1" ]
then
echo "No GreatFET found! Disconnected? Exiting.."
echo "No HackRF found! Disconnected? Exiting.."
exit $EXIT_CODE
elif [ "$EXIT_CODE" == "0" ]
then
@ -13,6 +13,6 @@ then
echo "Host tool installation failed! Exiting.."
exit $EXIT_CODE
else
echo "god have mercy on your soul"
echo "Unknown error"
exit $EXIT_CODE
fi