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

stm32: add eth tests #1959

Merged
merged 2 commits into from
Oct 2, 2023
Merged

stm32: add eth tests #1959

merged 2 commits into from
Oct 2, 2023

Conversation

Dirbaio
Copy link
Member

@Dirbaio Dirbaio commented Sep 28, 2023

No description provided.

@Dirbaio
Copy link
Member Author

Dirbaio commented Sep 28, 2023

bender run

1 similar comment
@Dirbaio
Copy link
Member Author

Dirbaio commented Sep 28, 2023

bender run

@@ -23,6 +21,10 @@ bind_interrupts!(struct Irqs {
RNG => embassy_nrf::rng::InterruptHandler<peripherals::RNG>;
});

// Test-only wifi network, no internet access!
Copy link
Contributor

@plaes plaes Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to pick these up from ENV variables compile-time using core::env instead of hardcoding these?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the tests are hardcoded for the HIL test environment in CI. There's hardcoded chip names, pin numbers, IP addresses too. If someone wants to run the tests on their own they already have to change a lot of stuff anyway, and start up the perf server somewhere in the LAN, etc...

I'm not opposed to make all of that configurable, but it's a substantial effort. Making just the wifi network configurable is not useful if there's still other hardcoded stuff.

(also the wifi network/password was already hardcoded before this PR)

ci.sh Outdated Show resolved Hide resolved
@Dirbaio Dirbaio force-pushed the test-eth branch 2 times, most recently from 66705a9 to 9d03414 Compare October 2, 2023 18:31
@Dirbaio Dirbaio force-pushed the test-eth branch 3 times, most recently from 6ee4b9e to 680d1c9 Compare October 2, 2023 20:08
@Dirbaio
Copy link
Member Author

Dirbaio commented Oct 2, 2023

bender run

@Dirbaio Dirbaio added this pull request to the merge queue Oct 2, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 2, 2023
@Dirbaio Dirbaio added this pull request to the merge queue Oct 2, 2023
Merged via the queue into main with commit 9dc9272 Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants