Skip to content

Conversation

@usbalbin
Copy link
Member

@usbalbin usbalbin commented Jan 28, 2025

Thought I would try to experiment a bit with adding tests that could run an a Nucleo or similar without any /with very little external connections.

From what I can tell the input registers are supposed to be usable even after the pin has been put into alternate mode. So in my mind I should for example be able to verify that the PWM is working by measuring the time on and time off.

@usbalbin usbalbin changed the title Experiment - Add Tests Add Tests Mar 30, 2025
@usbalbin usbalbin marked this pull request as ready for review March 30, 2025 18:07
@usbalbin
Copy link
Member Author

Tested by running cargo test --features stm32g474,defmt,cordic --tests -- --chip stm32g474RETx on a NUCLEO-G474RE and currently passes all tests

@usbalbin
Copy link
Member Author

Tested again after rebase

@usbalbin usbalbin merged commit 1990e99 into stm32-rs:staged-pac Apr 28, 2025
38 checks passed
@usbalbin usbalbin deleted the tests branch June 20, 2025 18:15
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.

1 participant