Skip to content

Commit

Permalink
Fix console log
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafFilies committed Oct 7, 2024
1 parent 6c27ae3 commit 60bc629
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/fqbn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ fqbn:

hil:
fqbn: Infineon:xmc:XMC1100_XMC2GO
example: "examples/readAngleTest"
example: "examples/readAngleTest"
baud: 9600
5 changes: 4 additions & 1 deletion .github/workflows/arduino_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
ep=`cat ./fqbn.yml | shyaml get-value hil.example`
export exp=$(jq --compact-output --null-input '$ARGS.positional' --args -- "${ep}")
echo "matrix_hil=$exp" >> $GITHUB_OUTPUT
export bad=$(jq --compact-output --null-input '$ARGS.positional' --args -- "`cat ./fqbn.yml | shyaml get-value hil.baud`")
echo "baud_hil=$bad" >> $GITHUB_OUTPUT
fq=`cat ./fqbn.yml | shyaml get-value hil.fqbn`
export fqb=$(jq --compact-output --null-input '$ARGS.positional' --args -- "${fq}")
echo "fqbn_hil=$fqb" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -108,6 +110,7 @@ jobs:
fqbn_example: ${{ steps.set-matrix.outputs.fqbn_example }}

matrix_hil: ${{ steps.set-matrix.outputs.matrix_hil }}
baud_hil: ${{ steps.set-matrix.outputs.baud_hil }}
fqbn_hil: ${{ steps.set-matrix.outputs.fqbn_hil }}
serials_hil: ${{ steps.set-matrix.outputs.serials_hil }}

Expand Down Expand Up @@ -341,7 +344,7 @@ jobs:
export DEVICE=${device[2]}
export TYPE=${device[6]}
export PORT=`./find_usb.sh $SERIAL_NUM`
# ./py_console.py --port $PORT
./py_console.py --port $PORT --baud ${{ needs.setup.outputs.baud_hil }} --timeout 10
fi
done
Expand Down

0 comments on commit 60bc629

Please sign in to comment.