Introduce struct mg_flash::{read_fn,init_fn}

This commit is contained in:
cpq committed 2026-12-03 10:47:45 +00:00
1 parent 9ac1106e74
commit 57e30ab2e9
18 files changed
+438 -293

No files matched your search

+2
View File
@@ -85,8 +85,10 @@ static struct mg_flash s_mg_flash_imxrt = {
4 * 1024 * 1024, // Size, 4mb
MG_IMXRT_SECTOR_SIZE, // Sector size
MG_IMXRT_PAGE_SIZE, // Align
mg_flash_read_xip,
mg_imxrt_write,
mg_imxrt_swap,
NULL, // No init
};
struct mg_flexspi_lut_seq {