1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-05 13:24:11 +01:00
LibrePilot/flight/tests/logfs/pios_flash_ut_priv.h

16 lines
386 B
C

#include <stdint.h>
struct pios_flash_ut_cfg {
uint32_t size_of_flash;
uint32_t size_of_sector;
};
int32_t PIOS_Flash_UT_Init(uintptr_t *flash_id, const struct pios_flash_ut_cfg *cfg);
int32_t PIOS_Flash_UT_Destroy(uintptr_t flash_id);
extern const struct pios_flash_driver pios_ut_flash_driver;
#if !defined(FLASH_IMAGE_FILE)
#define FLASH_IMAGE_FILE "theflash.bin"
#endif