Skip to content

Commit

Permalink
Simplyfy yaml handling test
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafFilies committed Oct 9, 2024
1 parent 9e1f8bc commit 4d429d2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,9 @@ jobs:



devicelist=$(echo $(./py_checkusb.py --serial ${SERIAL_NUM} --list devtype --json) | jq ".\"${SERIAL_NUM}\"" | .[0] --compact-output )
echo "device_type=$devicelist"
device=$(echo $(./py_checkusb.py --serial ${SERIAL_NUM} --list devtype --json) | jq ".\"${SERIAL_NUM}\"" --compact-output | .[0] )
echo "device_type=$device"

for DEVICE in $devicelist; do
echo "Flash device: " $DEVICE
done

# cd $HOME
#python ~/.arduino15/packages/Infineon/hardware/xmc/3.2.0/tools/xmc-flasher.py upload -d $DEVICE -p $PORT -f ~/Arduino/libraries/${PROJECT}/${{ matrix.example }}/build/${HEXNAME}/*.hex
Expand Down

0 comments on commit 4d429d2

Please sign in to comment.