From ac2357b001b970ff281d05566697c3d73f66ea4a Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Sat, 21 May 2016 14:40:11 +0200 Subject: Add code to test reading, writing and erasing keystore data. --- spiflash_n25q128.h | 1 + 1 file changed, 1 insertion(+) (limited to 'spiflash_n25q128.h') diff --git a/spiflash_n25q128.h b/spiflash_n25q128.h index 6802e22..fefcb0d 100644 --- a/spiflash_n25q128.h +++ b/spiflash_n25q128.h @@ -72,4 +72,5 @@ extern int n25q128_write_page(struct spiflash_ctx *ctx, uint32_t page_offset, co extern int n25q128_erase_sector(struct spiflash_ctx *ctx, uint32_t sector_offset); extern int n25q128_write_data(struct spiflash_ctx *ctx, uint32_t offset, const uint8_t *buf, const uint32_t len); +extern int n25q128_read_data(struct spiflash_ctx *ctx, uint32_t offset, uint8_t *buf, const uint32_t len); #endif /* __STM32_SPIFLASH_N25Q128_H */ -- cgit v1.2.3