Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
disk.h
Go to the documentation of this file.
1
8
9#ifndef INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_DISK_H_
10#define INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_DISK_H_
11
12#include <zephyr/device.h>
13#include <zephyr/sys/util.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
24
25enum {
34};
35
45int infuse_validation_disk(const char *disk, uint8_t flags);
46
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_DISK_H_ */
int infuse_validation_disk(const char *disk, uint8_t flags)
Validate the behaviour of external disks.
@ VALIDATION_DISK_DRIVER
Rigorous driver behavioural tests.
Definition disk.h:29
@ VALIDATION_DISK_ERASE
Perform a full disk erase.
Definition disk.h:33
@ VALIDATION_DISK_POWER_UP
Validate that flash powers up.
Definition disk.h:27
@ VALIDATION_DISK_THROUGHPUT
Read and write throughput.
Definition disk.h:31