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
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
24enum {
31};
32
42int infuse_validation_flash(const struct device *dev, uint8_t flags);
43
48#ifdef __cplusplus
49}
50#endif
51
52#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:30
@ VALIDATION_FLASH_DRIVER
Rigorous driver behavioural tests.
Definition flash.h:28
@ VALIDATION_FLASH_POWER_UP
Validate that flash powers up.
Definition flash.h:26