Skip to content

Commit

Permalink
fix the SPI
Browse files Browse the repository at this point in the history
  • Loading branch information
JC-282-AD committed Sep 20, 2024
1 parent 77fc639 commit 6c54281
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/scripts/example_tester_78002.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ function init() {

if [[ $1 == "ADC" || $1 == "UART" ]]; then
make -j -C "$Path/$testName" METHOD="$2"
elif [[ $1 == "SPI_v2" ]]; then
make -j -C "$Path/SPI" MXC_SPI_VERSION="$2"
elif [[ $1 == "SPI" ]]; then
make -j -C "$Path/$testName" MXC_SPI_VERSION="$2"
else
make -j -C "$Path/$testName"
fi
Expand Down Expand Up @@ -171,7 +171,7 @@ function test_I2C() {
}

function test_SPI() {
init SPI
init SPI v1

# start testing the output
grep "16 Bits Transaction Successful" $tempFile
Expand All @@ -184,10 +184,11 @@ function test_SPI() {

printf "Test result for SPI: $result_SPI\n"


}

function test_SPI_V2() {
init SPI_v2 v2
init SPI v2

# start testing the output
grep "16 Bits Transaction Successful" $tempFile
Expand Down

0 comments on commit 6c54281

Please sign in to comment.