Global List of Supported Flash Devices.
- Note
- If a match is found, the corresponding Vendor Profiles flags are applied.
-
All the content such as JEDEC Identifiers, part_no and post_init_hook will be stored in spiFlash_instance_t that user declared initially.
-
Please refer to spiFlash_info_t to learn how to create own custom flash descriptor.
flash->info = NULL;
for (int i = 0; i < 2; i++) {
if (tables[i] != NULL) {
flash->info = identifyFlash(flash->detected_id, tables[i]);
"User flash is not found/match, checking with known flash.");
if (flash->info != NULL) break;
}
}
#define LOG_WARN(debug, fmt,...)
#define DBG_MOD_SPI_FLASH
SPI Flash Driver.
const spiFlash_info_t known_flash[]
Supported Flash Info.
SPI Flash Device Descriptor.