Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
flash.h
Go to the documentation of this file.
1
8
9#ifndef INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_FLASH_H_
10#define INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_FLASH_H_
11
12#include <zephyr/device.h>
13#include <zephyr/sys/util.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
24
25enum {
32};
33
43int infuse_validation_flash(const struct device *dev, uint8_t flags);
44
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_FLASH_H_ */
int infuse_validation_flash(const struct device *dev, uint8_t flags)
Validate the behaviour of external flash.
@ VALIDATION_FLASH_CHIP_ERASE
Perform a full chip erase.
Definition flash.h:31
@ VALIDATION_FLASH_DRIVER
Rigorous driver behavioural tests.
Definition flash.h:29
@ VALIDATION_FLASH_POWER_UP
Validate that flash powers up.
Definition flash.h:27