Skip to content

Commit

Permalink
Some more variables
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafFilies committed Nov 27, 2023
1 parent 6ab89ea commit 969bc17
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
matrix:
# List of all examples in the lib to compile
example: [
# examples/E9000SPC,
# examples/readAngleSpeedRevolutions,
# examples/readAngleTest,
# examples/readAngleValueProcessing,
# examples/readMultipleRegisters,
# examples/readSpeedProcessing,
# examples/sensorRegisters,
# examples/sensorType,
# examples/testSensorMainValues,
# examples/useMultipleSensors,
examples/E9000SPC,
examples/readAngleSpeedRevolutions,
examples/readAngleTest,
examples/readAngleValueProcessing,
examples/readMultipleRegisters,
examples/readSpeedProcessing,
examples/sensorRegisters,
examples/sensorType,
examples/testSensorMainValues,
examples/useMultipleSensors,
examples/writeRegisters
]

Expand Down Expand Up @@ -120,9 +120,10 @@ jobs:
export PORT=`./find_usb.sh $SERIAL_NUM`
export REPO="$(basename "$GITHUB_REPOSITORY")"
export HEXNAME=`tr ':' '.' <<<"${{ matrix.fqbn }}"`
echo $PORT
echo $DEVICE
echo $REPO
echo $HEXNAME
echo "Port Serial Num: ".$SERIAL_NUM
echo "Port found: ".$PORT
echo "Flash device: ".$DEVICE
echo "Repo name extracted: ".$REPO
echo "Build HEX name: ".$HEXNAME
cd $HOME
python $HOME/.arduino15/packages/Infineon/hardware/xmc/3.0.0/tools/xmc-flasher.py upload -d $DEVICE -p $PORT -f $HOME/Arduino/libraries/$REPO/${{ matrix.example }}/build/Infineon.xmc.XMC1100_XMC2GO/*.hex
python $HOME/.arduino15/packages/Infineon/hardware/xmc/3.0.0/tools/xmc-flasher.py upload -d $DEVICE -p $PORT -f $HOME/Arduino/libraries/$REPO/${{ matrix.example }}/build/$HEXNAME/*.hex

0 comments on commit 969bc17

Please sign in to comment.