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 6f93ccd commit 147fc07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,11 @@ jobs:
export SERIAL_NUM=`cat ./board2port.yaml | shyaml get-value ${{ matrix.port_name}}`
export DEVICE=`cat ./board2port.yaml | shyaml get-value ${{ matrix.device}}`
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
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/${{ matrix.lib }}/${{ 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/Infineon.xmc.XMC1100_XMC2GO/*.hex

0 comments on commit 147fc07

Please sign in to comment.