|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Enumerations | |
| enum | { VALIDATION_FLASH_POWER_UP = 0 , VALIDATION_FLASH_DRIVER = BIT(0) , VALIDATION_FLASH_CHIP_ERASE = BIT(1) } |
Functions | |
| int | infuse_validation_flash (const struct device *dev, uint8_t flags) |
| Validate the behaviour of external flash. | |
| anonymous enum |
#include <infuse/validation/flash.h>
| Enumerator | |
|---|---|
| VALIDATION_FLASH_POWER_UP | Validate that flash powers up. |
| VALIDATION_FLASH_DRIVER | Rigorous driver behavioural tests. |
| VALIDATION_FLASH_CHIP_ERASE | Perform a full chip erase. |
| int infuse_validation_flash | ( | const struct device * | dev, |
| uint8_t | flags ) |
#include <infuse/validation/flash.h>
Validate the behaviour of external flash.
| dev | Flash device |
| flags | Validation tests to run |
| 0 | On success |
| -errno | On failure |