Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Flash validation API

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.
 

Detailed Description

Enumeration Type Documentation

◆ anonymous enum

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.

Function Documentation

◆ infuse_validation_flash()

int infuse_validation_flash ( const struct device * dev,
uint8_t flags )

#include <infuse/validation/flash.h>

Validate the behaviour of external flash.

Parameters
devFlash device
flagsValidation tests to run
Return values
0On success
-errnoOn failure