spi_flash: implement partition API, drop trivial wrappers

This implements esp_partition_read, esp_partition_write, esp_partition_erase_range, esp_partition_mmap.
Also removed getters which didn't add much sugar after all.
This commit is contained in:
Ivan Grokhotkov
2016-10-21 18:44:57 +08:00
parent 2c5340d47e
commit b6693225c1
3 changed files with 186 additions and 149 deletions

View File

@@ -16,6 +16,7 @@
#define ESP_SPI_FLASH_H
#include <stdint.h>
#include <stddef.h>
#include "esp_err.h"
#include "sdkconfig.h"