update credits
[librepilot.git] / flight / tests / logfs / pios_flash_ut_priv.h
blobcf2a83557f2e16bb19c1514fdbb9919ce22caf9e
1 #include <stdint.h>
3 struct pios_flash_ut_cfg {
4 uint32_t size_of_flash;
5 uint32_t size_of_sector;
6 };
8 int32_t PIOS_Flash_UT_Init(uintptr_t *flash_id, const struct pios_flash_ut_cfg *cfg);
10 int32_t PIOS_Flash_UT_Destroy(uintptr_t flash_id);
11 extern const struct pios_flash_driver pios_ut_flash_driver;
13 #if !defined(FLASH_IMAGE_FILE)
14 #define FLASH_IMAGE_FILE "theflash.bin"
15 #endif