forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Flash drv: arbitrary length read & write
* The changes introduce arbitrary-length read & write functions * The spi_flash_wb_read function now features a loop that splits large transactions into a series of smaller read transactions until the requested size of data to fetch is satisfied. * The former spi_flash_wb_write function has become spi_flash_wb_write_within_page and now rejects write requests that are out of device page boundaries * spi_flash_wb_write now implements a loop that splits large transactions into a series of smaller ones and also aligns writes to device page boundaries. Data is written to the Flash device until the requested transaction length is satisfied. * Closes zephyrproject-rtos#10
- Loading branch information
Alexander Preißner
committed
May 15, 2018
1 parent
cac2ccd
commit 02062eb
Showing
2 changed files
with
178 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters