diff options
Diffstat (limited to 'esp8266/etshal.h')
-rw-r--r-- | esp8266/etshal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/esp8266/etshal.h b/esp8266/etshal.h index 8584ae4d1d..28f9777919 100644 --- a/esp8266/etshal.h +++ b/esp8266/etshal.h @@ -36,4 +36,8 @@ void *pvPortZalloc(unsigned sz, const char *fname, int line); void *pvPortRealloc(void *p, unsigned sz, const char *fname, int line); void vPortFree(void *p, const char *fname, int line); +uint32_t SPIRead(uint32_t offset, void *buf, uint32_t len); +uint32_t SPIWrite(uint32_t offset, const void *buf, uint32_t len); +uint32_t SPIEraseSector(int sector); + #endif // _INCLUDED_ETSHAL_H_ |