32#ifndef EVE_LOADFILE__H
33#define EVE_LOADFILE__H
43#if defined(RP2040_PLATFORM)
50 SDHOST_INVALID_RESPONSE_TYPE,
59 SDHOST_CANNOT_ENTER_TRANSFER_STATE,
60 SDHOST_CANNOT_SET_CARD_BUS_WIDTH,
61 SDHOST_RESPONSE_ERROR,
64 SDHOST_NOT_INITIALISED,
65 SDHOST_CARD_NOT_INITIALISED,
86#if (EVE_SUPPORT_CHIPID >= EVE_FT810)
112#if (EVE_SUPPORT_CHIPID >= EVE_FT810)
EVE_HAL_EXPORT bool EVE_Util_loadInflateFile(EVE_HalContext *phost, uint32_t address, const char *filename)
Load file into RAM_G by CMD_INFLATE.
EVE_HAL_EXPORT bool EVE_Util_loadCmdFile(EVE_HalContext *phost, const char *filename, uint32_t *transfered)
EVE_HAL_EXPORT bool EVE_Util_loadRawFile(EVE_HalContext *phost, uint32_t address, const char *filename)
Load a raw file into RAM_G.
EVE_HAL_EXPORT void EVE_Util_closeFile(EVE_HalContext *phost)
EVE_HAL_EXPORT bool EVE_Util_loadImageFile(EVE_HalContext *phost, uint32_t address, const char *filename, uint32_t *format)
Load image into RAM_G.
EVE_HAL_EXPORT bool EVE_Util_loadMediaFile(EVE_HalContext *phost, const char *filename, uint32_t *transfered)
EVE_HAL_EXPORT bool EVE_Util_loadSdCard(EVE_HalContext *phost)
Mount the SDcard.
EVE_HAL_EXPORT size_t EVE_Util_readFile(EVE_HalContext *phost, uint8_t *buffer, size_t size, const char *filename)
EVE_HAL_EXPORT bool EVE_Util_sdCardReady(EVE_HalContext *phost)
static ft_uint32_t ft_uint8_t * buffer