31#define MMHAL_FLASH_ERASE_VALUE 0xFF
64#define MMHAL_FLASH_PARTITION_CONFIG_DEFAULT { 0, 0, false }
int mmhal_flash_erase(uint32_t block_address)
Erases a block of Flash pointed to by the block_address.
uint32_t mmhal_flash_getblocksize(uint32_t block_address)
Returns the size of the Flash block at the specified address.
const struct lfs_config * mmhal_get_littlefs_config(void)
Get LittleFS configuration.
int mmhal_flash_write(uint32_t write_address, const uint8_t *data, size_t size)
Write a block of data to the specified Flash address.
const struct mmhal_flash_partition_config * mmhal_get_mmconfig_partition(void)
Get MMCONFIG flash partition configuration.
int mmhal_flash_read(uint32_t read_address, uint8_t *buf, size_t size)
Read a block of data from the specified Flash address into the buffer.
char buf[1408]
Statically allocated buffer for HTTP GET request, just under 1 packet size.
Flash partition configuration structure.
uint32_t partition_size
The size of the partition.
bool not_memory_mapped
If true, then the partition is not memory mapped and cannot be directly accessed at the physical part...
uint32_t partition_start
The start address of the partition, this may be a physical address or a relative address depending on...