mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-11 19:24:10 +01:00
15 lines
331 B
C
15 lines
331 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);
|
|
|
|
extern const struct pios_flash_driver pios_ut_flash_driver;
|
|
|
|
#if !defined(FLASH_IMAGE_FILE)
|
|
#define FLASH_IMAGE_FILE "theflash.bin"
|
|
#endif
|