Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] Modify pins for trackerM spix tests #2549

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions user/tests/wiring/no_fixture_spi/spix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ test(SPIX_01_SPI_Begin_Without_Argument)
assertEqual(info.ss_pin, D8);
#elif PLATFORM_ID == PLATFORM_TRACKER
assertEqual(info.ss_pin, D7);
#elif HAL_PLATFORM_RTL872X
#elif PLATFORM_ID == PLATFORM_P2
assertEqual(info.ss_pin, S3);
#elif PLATFORM_ID == PLATFORM_TRACKERM
assertEqual(info.ss_pin, A2);
#elif PLATFORM_ID == PLATFORM_ESOMX
assertEqual(info.ss_pin, A2);
#else
Expand All @@ -69,8 +71,10 @@ test(SPIX_02_SPI_Begin_With_Ss_Pin)
assertEqual(info.ss_pin, D8);
#elif PLATFORM_ID == PLATFORM_TRACKER
assertEqual(info.ss_pin, D7);
#elif HAL_PLATFORM_RTL872X
#elif PLATFORM_ID == PLATFORM_P2
assertEqual(info.ss_pin, S3);
#elif PLATFORM_ID == PLATFORM_TRACKERM
assertEqual(info.ss_pin, A2);
#elif PLATFORM_ID == PLATFORM_ESOMX
assertEqual(info.ss_pin, A2);
#else
Expand Down Expand Up @@ -123,8 +127,10 @@ test(SPIX_03_SPI_Begin_With_Mode)
assertEqual(info.ss_pin,D8);
#elif PLATFORM_ID == PLATFORM_TRACKER
assertEqual(info.ss_pin, D7);
#elif HAL_PLATFORM_RTL872X
#elif PLATFORM_ID == PLATFORM_P2
assertEqual(info.ss_pin, S3);
#elif PLATFORM_ID == PLATFORM_TRACKERM
assertEqual(info.ss_pin, A2);
#elif PLATFORM_ID == PLATFORM_ESOMX
assertEqual(info.ss_pin, A2);
#else
Expand Down Expand Up @@ -162,8 +168,10 @@ test(SPIX_04_SPI_Begin_With_Master_Ss_Pin)
assertEqual(info.ss_pin, D8);
#elif PLATFORM_ID == PLATFORM_TRACKER
assertEqual(info.ss_pin, D7);
#elif HAL_PLATFORM_RTL872X
#elif PLATFORM_ID == PLATFORM_P2
assertEqual(info.ss_pin, S3);
#elif PLATFORM_ID == PLATFORM_TRACKERM
assertEqual(info.ss_pin, A2);
#elif PLATFORM_ID == PLATFORM_ESOMX
assertEqual(info.ss_pin, A2);
#else
Expand Down