esp-open-rtos/extras/spiffs/esp_spi_flash.h
sheinz 5d5f28a22f SPIFFS: Bypass SDK and bootrom for flash access.
Accessing SPI flash using reversed engineered functions.
2016-07-16 00:22:33 +03:00

11 lines
350 B
C

#ifndef __ESP_SPI_FLASH_H__
#define __ESP_SPI_FLASH_H__
#include <stdint.h>
#include "common_macros.h"
uint32_t IRAM esp_spi_flash_read(uint32_t dest_addr, void *src, uint32_t size);
uint32_t IRAM esp_spi_flash_write(uint32_t dest_addr, void *dst, uint32_t size);
uint32_t IRAM esp_spi_flash_erase(uint32_t sector);
#endif // __ESP_SPI_FLASH_H__