mirror of https://github.com/ARMmbed/mbed-os.git
Increase flash program granularity on Realtek RTL8195AM
The Page size has been set to 1 byte instead of the previous 256. Although 256 is the physical page size, the driver supports writing 1 byte at a time.pull/5471/head
parent
0d1dc83eb1
commit
5fe03afea6
|
@ -56,7 +56,7 @@ uint32_t flash_get_sector_size(const flash_t *obj, uint32_t address)
|
||||||
|
|
||||||
uint32_t flash_get_page_size(const flash_t *obj)
|
uint32_t flash_get_page_size(const flash_t *obj)
|
||||||
{
|
{
|
||||||
return FLASH_PAGE_SIZE;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t flash_get_start_address(const flash_t *obj)
|
uint32_t flash_get_start_address(const flash_t *obj)
|
||||||
|
|
Loading…
Reference in New Issue