Skip to content

Commit 4185c1a

Browse files
Merge pull request #5471 from marcuschangarm/rtl8195_flash_page
Increase flash program granularity on Realtek RTL8195AM
2 parents 757a4e3 + 5fe03af commit 4185c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_Realtek/TARGET_AMEBA/flash_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ uint32_t flash_get_sector_size(const flash_t *obj, uint32_t address)
5656

5757
uint32_t flash_get_page_size(const flash_t *obj)
5858
{
59-
return FLASH_PAGE_SIZE;
59+
return 1;
6060
}
6161

6262
uint32_t flash_get_start_address(const flash_t *obj)

0 commit comments

Comments
 (0)