-
Notifications
You must be signed in to change notification settings - Fork 93
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
fix(spi_nand_flash): add dhara to public dependencies (+minor changes) #391
Conversation
Test Results 0 tests 0 ✅ 11s ⏱️ Results for commit a16dad8. ♻️ This comment has been updated with latest results. |
4a6dd0c
to
9845d04
Compare
Failing tests are due to the CI workflow refactoring (#381). When the modified component doesn't have any pytest tests, pytest exits with exit code 5 (no tests found). I'll open another PR to fix this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the changes look good to me. Just one minor adjustment is needed for the test case. Thank you for the updates!
Since 892d994, spi_nand_flash.h includes dhara/map.h, so dhara should be a public dependency of spi_nand_flash. Other changes: - move vfs to private requirements (it didn't have to be public) - depend specifically on esp_driver_spi when building for IDF >=5.3
Co-authored-by: RathiSonika <[email protected]>
f10a11f
to
a16dad8
Compare
@RathiSonika Thanks for the review and for spotting the issue! |
add dhara to public requirements
Since 892d994, spi_nand_flash.h includes dhara/map.h, so dhara should be a public dependency of spi_nand_flash.
Other changes:
esp_driver_spi
instead ofdriver
when building for IDF >=5.3fix memory leaks in test (free temporary buffers) and raise leak threshold to not detect esp_intr_alloc lazy allocation as a leak
add read/write performance output to the test case
remove unused sbom_dhara.yml file from spi_nand_flash component
version changed from 0.3.1 to 0.4.0 since removing
vfs
from the public requirements is technically a breaking change