Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test,esp32: Fix machine_spi_rate test on ESP32-C3. #15659

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

Merged

Conversation

projectgus
Copy link
Contributor

Summary

Update to the test added in #15543, changes the SPI pins for ESP32-C3. Found while testing #15523, not sure if it's a regression there or if I missed it when testing the first time (IO 18 and 19 are the native USB pins).

Testing

Test passes on ESP32, ESP32-C3 and ESP32-S3.

@projectgus projectgus added port-esp32 tests Relates to tests/ directory in source labels Aug 14, 2024
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.43%. Comparing base (a6fa85d) to head (ccb754d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #15659   +/-   ##
=======================================
  Coverage   98.43%   98.43%           
=======================================
  Files         163      163           
  Lines       21293    21293           
=======================================
  Hits        20959    20959           
  Misses        334      334           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dpgeorge
Copy link
Member

Tested on an ESP32-C3-DevKitC-02:

  • prior to this PR the machine_spi_rate test would fail
  • after this PR it succeeds

Update to the test added in 1e98c4c,
changes the SPI pins for ESP32-C3 (IO 18 and 19 are the native USB pins).

Signed-off-by: Angus Gratton <[email protected]>
@dpgeorge dpgeorge force-pushed the bugfix/esp32_test_machine_spi_rate branch from ccb754d to fb4ae1e Compare August 14, 2024 05:05
@dpgeorge dpgeorge merged commit fb4ae1e into micropython:master Aug 14, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port-esp32 tests Relates to tests/ directory in source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants