mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
8 lines
199 B
C
8 lines
199 B
C
#include "flash.h"
|
|
|
|
// Read function for memory-mapped (XIP) flash, usable as mg_flash read_fn
|
|
bool mg_flash_read_xip(void *addr, void *buf, size_t len) {
|
|
memmove(buf, addr, len);
|
|
return true;
|
|
}
|