Commit Graph

3 Commits

Author SHA1 Message Date
Aaron Nyholm
87c725b6ed flashdev: Add sector IOCTLs
Added new IOCTLs to flashdev to get sector info.
Updated flashdev shell command and flashdev test with new IOCTLs.
2024-11-06 22:35:20 +00:00
Kinsey Moore
ea27adaa0d testsuites/flashdev01: Use correct page_size type
The page size ioctl requires an int pointer to retrieve the page size.
The test currently uses a size_t which mostly works fine for systems
where size_t and int are the same size, but can leave junk data in the
upper bits when they differ in size causing an assert in the test to
fail in some cases. This updates the variable to the correct type.
2023-06-10 11:02:29 -05:00
Aaron Nyholm
8e3ab34051 testsuites/libtests: Add test for flashdev 2023-05-16 12:48:23 +10:00