Application Storage Interface#
Application interface for interfacing with the bootloader storage.
Note
These Bootloader APIs are not reentrant and should be wrapped in critical section where needed.
The Storage Interface is only available on bootloaders that declare they support BOOTLOADER_CAPABILITY_STORAGE.
Example#
Snippet for the OTA use case:
* ///OTA Example
* /// Assuming the user has an upgrade image downloaded which will be used to upgrade the application
*
* //Initialize the bootloader interface
* bootloader_init();
*
* //Erase the storage slot in internal/SPI flash memory
* bootloader_eraseStorageSlot(0);
*
* //Write the upgrade image (GBL file data) to the slot. blinkGbl uint8 array holding the GBL data in memory
* bootloader_writeStorage(0, 0, blinkGbl, sizeof(blinkGbl));
*
* //Reboot into the bootloader to install the new image
* bootloader_rebootAndInstall();
*
* The general flow for bootloader interface APIs from the application is:
*
* ///General flow
*
* //Initialize the bootloader interface
* bootloader_init();
*
* //Interface API accesses
* ……………
* ……………
* ……………
*
* //De-initialize the bootloader interface
* bootloader_deinit();
*
Modules#
BootloaderStorageImplementationInformation_t
BootloaderStorageInformation_t
Enumerations#
Functions#
Get information about the storage component.
Get information about a storage slot.
Read data from a storage slot.
Write data to a storage slot.
Erase and write data to a storage slot.
Erase all contents of a storage slot.
Initialize chunked erase of a storage slot.
Erase one page from a storage slot according to the struct BootloaderEraseStatus_t.
Set a prioritized list of images to attempt to bootload.
Get the prioritized list of images the bootloader will attempt to bootload.
Append a single image to the list of images to attempt to bootload.
Set a single image to attempt to bootload.
Initialize image verification.
Continue image verification.
Verify that the image in the given storage slot is valid.
Get application and bootloader upgrade metadata from the storage slot.
Check whether the bootloader storage is busy.
Read raw data from storage.
Write data to storage.
Erase data from storage.
Get allocated DMA channel for MSC write.
Macros#
Context size for bootloader verification context.
Current version of the BootloaderStorageInformation_t struct.
Current version of the BootloaderStorageImplementationInformation_t struct.
Major version of the BootloaderStorageImplementationInformation_t struct.
Major version mask for BOOTLOADER_STORAGE_IMPL_INFO_VERSION.
Spiflash capability indicating that it supports erase.
Spiflash capability indicating it requires full page erases before new data can be written.
Spiflash capability indicating that the write function is blocking.
Spiflash capability indicating that the erase function is blocking.
ISSI IS25LQ040B SPI Flash.
ISSI IS25LQ020B SPI Flash.
ISSI IS25LQ010B SPI Flash.
ISSI IS25LQ512B SPI Flash.
ISSI IS25LQ025B SPI Flash.
Numonyx M25P16 SPI Flash.
Numonyx M25P80 SPI Flash.
Numonyx M25P40 SPI Flash.
Numonyx M25P20 SPI Flash.
Adesto AT25SF041 SPI Flash.
Atmel AT25DF081A SPI Flash.
Atmel AT25DF041A SPI Flash.
Macronix MX25R6435F SPI Flash.
Macronix MX25R6435F SPI Flash.
Macronix MX25U1635E SPI Flash.
Macronix MX25L1606E SPI Flash.
Macronix MX25R8035F SPI Flash.
Macronix MX25L8006E SPI Flash.
Macronix MX25L4006E SPI Flash.
Macronix MX25L2006E SPI Flash.
Winbond W25Q80BV SPI Flash.
Winbond W25X20BV SPI Flash.
Spansion S25L208K SPI Flash.
Internal storage.
JEDEC Supported SPI Flash.
Enumeration Documentation#
BootloaderStorageType_t#
BootloaderStorageType_t
Possible storage types.
Enumerator | |
---|---|
SPIFLASH | Storage backend is a SPI flash. |
INTERNAL_FLASH | Storage backend is internal flash. |
CUSTOM_STORAGE | Storage backend is custom. |
81
of file platform/bootloader/api/btl_interface_storage.h
Function Documentation#
bootloader_getStorageInfo#
void bootloader_getStorageInfo (BootloaderStorageInformation_t * info)
Get information about the storage component.
[out] | info | Information about the storage component. |
297
of file platform/bootloader/api/btl_interface_storage.h
bootloader_getStorageSlotInfo#
int32_t bootloader_getStorageSlotInfo (uint32_t slotId, BootloaderStorageSlot_t * slot)
Get information about a storage slot.
[in] | slotId | ID of the slot to get information about |
[out] | slot | Information about the storage slot |
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
308
of file platform/bootloader/api/btl_interface_storage.h
bootloader_readStorage#
int32_t bootloader_readStorage (uint32_t slotId, uint32_t offset, uint8_t * buffer, size_t length)
Read data from a storage slot.
[in] | slotId | ID of the slot |
[in] | offset | Offset into the slot to start reading from |
[out] | buffer | Buffer to store the data |
[in] | length | Amount of data to read |
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
322
of file platform/bootloader/api/btl_interface_storage.h
bootloader_writeStorage#
int32_t bootloader_writeStorage (uint32_t slotId, uint32_t offset, uint8_t * buffer, size_t length)
Write data to a storage slot.
[in] | slotId | ID of the slot |
[in] | offset | Offset into the slot to start writing to |
[in] | buffer | Buffer to read data to write from |
[in] | length | Amount of data to write. Must be a multiple of 4. |
Note
If DMA-based MSC write is enabled on the bootloader, writing data from flash to flash is not supported on Series-1 devices. DMA-based MSC write is enabled, both offset and buffer should be word aligned. In case the buffer is not aligned, the normal write procedure is used instead of DMA.
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
344
of file platform/bootloader/api/btl_interface_storage.h
bootloader_eraseWriteStorage#
int32_t bootloader_eraseWriteStorage (uint32_t slotId, uint32_t offset, uint8_t * buffer, size_t length)
Erase and write data to a storage slot.
[in] | slotId | ID of the slot |
[in] | offset | Offset into the slot to start writing to |
[in] | buffer | Buffer to read data to write from |
[in] | length | Amount of data to write. Must be a multiple of 4. |
Note
This function automatically erases the following Flash page whenever the written data crosses a page boundary. In other words, the function can't be used to perform multiple sequential writes to the same address range unless the range starts at a page boundary. For a sequential write, the first call to this function should have a start address at a page boundary. Otherwise, the corresponding page of the starting address needs to be erased explicitly. If DMA-based MSC write is enabled on the bootloader, writing data from flash to flash is not supported on Series-1 devices.
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
370
of file platform/bootloader/api/btl_interface_storage.h
bootloader_eraseStorageSlot#
int32_t bootloader_eraseStorageSlot (uint32_t slotId)
Erase all contents of a storage slot.
[in] | slotId | ID of the slot |
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
383
of file platform/bootloader/api/btl_interface_storage.h
bootloader_initChunkedEraseStorageSlot#
int32_t bootloader_initChunkedEraseStorageSlot (uint32_t slotId, BootloaderEraseStatus_t * eraseStat)
Initialize chunked erase of a storage slot.
[in] | slotId | ID of the slot |
[in] | eraseStat | Erase status struct |
Note
This function must be called before calling bootloader_chunkedEraseStorageSlot in a loop.
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
397
of file platform/bootloader/api/btl_interface_storage.h
bootloader_chunkedEraseStorageSlot#
int32_t bootloader_chunkedEraseStorageSlot (BootloaderEraseStatus_t * eraseStat)
Erase one page from a storage slot according to the struct BootloaderEraseStatus_t.
[in] | eraseStat | Erase status struct |
Note
bootloader_initChunkedEraseStorageSlot must be called before calling this function, in order to prepare BootloaderEraseStatus_t.
This can be called sequentially to, for example, erase all contents of a storage slot.
Returns
BOOTLOADER_ERROR_STORAGE_CONTINUE if erasing a page was successful. Erase can be continued by calling this function again. BOOTLOADER_OK if the entire slot has been erased, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
418
of file platform/bootloader/api/btl_interface_storage.h
bootloader_setImagesToBootload#
int32_t bootloader_setImagesToBootload (int32_t * slotIds, size_t length)
Set a prioritized list of images to attempt to bootload.
[in] | slotIds | Prioritized list of slot IDs to attempt to bootload. The first image to pass verification will be bootloaded. |
[in] | length | Length of the slotIds array |
The last call to this function determines which slot will be installed when bootloader_rebootAndInstall is called.
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_BOOTLOAD_BASE range
432
of file platform/bootloader/api/btl_interface_storage.h
bootloader_getImagesToBootload#
int32_t bootloader_getImagesToBootload (int32_t * slotIds, size_t length)
Get the prioritized list of images the bootloader will attempt to bootload.
[out] | slotIds | Prioritized list of slot IDs to attempt to bootload. The first image to pass verification will be bootloaded. |
[in] | length | Length of the slotIds array |
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_BOOTLOAD_BASE range
444
of file platform/bootloader/api/btl_interface_storage.h
bootloader_appendImageToBootloadList#
int32_t bootloader_appendImageToBootloadList (int32_t slotId)
Append a single image to the list of images to attempt to bootload.
[in] | slotId | ID of the slot to append |
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_BOOTLOAD_BASE range
454
of file platform/bootloader/api/btl_interface_storage.h
bootloader_setImageToBootload#
int32_t bootloader_setImageToBootload (int32_t slotId)
Set a single image to attempt to bootload.
[in] | slotId | ID of the slot |
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_BOOTLOAD_BASE range
464
of file platform/bootloader/api/btl_interface_storage.h
bootloader_initVerifyImage#
int32_t bootloader_initVerifyImage (uint32_t slotId, void * context, size_t contextSize)
Initialize image verification.
[in] | slotId | ID of the slot to check. |
N/A | context | Pointer to memory used to hold the parser context. |
[in] | contextSize | Size of the context. An error is returned if the supplied context is too small. |
Initialize verification of an upgrade image stored in a bootloader storage slot.
Note
This function must be called before calling bootloader_continueVerifyImage in a loop.
The context pointer must point to memory allocated by the caller. The caller must ensure that the context pointer is 32 bit aligned. The required size of this context may depend on the version of the bootloader. The required size for the bootloader associated with this version of the application interface is given by the define BOOTLOADER_STORAGE_VERIFICATION_CONTEXT_SIZE.
Instead of calling bootloader_initVerifyImage followed by bootloader_continueVerifyImage, call bootloader_verifyImage if no time-critical tasks are needed and sufficient stack space is available for the automatically allocated context. The purpose of the init-and-continue functions is to allow the caller to service system needs during verification.
Returns
BOOTLOADER_OK if the image parser was initialized, else error code.
500
of file platform/bootloader/api/btl_interface_storage.h
bootloader_continueVerifyImage#
int32_t bootloader_continueVerifyImage (void * context, BootloaderParserCallback_t metadataCallback)
Continue image verification.
N/A | context | Pointer to a context structure that has been initialized by calling bootloader_initVerifyImage() |
[in] | metadataCallback | Function pointer, which is called when the binary metadata in the image is currently verified. Set to NULL if not required. |
Continue verification of an upgrade image stored in a bootloader storage slot.
Note
This function must be called in a loop until anything other than BOOTLOADER_ERROR_PARSE_CONTINUE is returned.
bootloader_initVerifyImage must be called before calling this function to reset the parser.
Instead of calling bootloader_initVerifyImage followed by bootloader_continueVerifyImage, call bootloader_verifyImage if no time-critical tasks are needed. The purpose of the init-and-continue functions is to allow the caller to service system needs during verification.
Returns
BOOTLOADER_ERROR_PARSE_CONTINUE if parsing was successful, and the parser expects more data. BOOTLOADER_ERROR_PARSE_SUCCESS if the parser has successfully parsed the image and it passes verification. Else error code.
540
of file platform/bootloader/api/btl_interface_storage.h
bootloader_verifyImage#
int32_t bootloader_verifyImage (uint32_t slotId, BootloaderParserCallback_t metadataCallback)
Verify that the image in the given storage slot is valid.
[in] | slotId | ID of the slot to check |
[in] | metadataCallback | Function pointer, which is called when binary metadata is present in the storage slot. Set to NULL if not required. |
Note
This function allocates a context structure of the size given by BOOTLOADER_STORAGE_VERIFICATION_CONTEXT_SIZE on the caller's stack. To manage memory and allocate the context elsewhere (on the heap, as a global variable, and so on), use bootloader_initVerifyImage and bootloader_continueVerifyImage functions instead.
Returns
BOOTLOADER_OK if the image is valid, else error code.
564
of file platform/bootloader/api/btl_interface_storage.h
bootloader_getImageInfo#
int32_t bootloader_getImageInfo (uint32_t slotId, ApplicationData_t * appInfo, uint32_t * bootloaderVersion)
Get application and bootloader upgrade metadata from the storage slot.
[in] | slotId | ID of the slot to check |
[out] | appInfo | Pointer to ApplicationData_t struct |
[out] | bootloaderVersion | Pointer to an integer representing bootloader version |
Returns
BOOTLOADER_OK if metadata was filled successfully
580
of file platform/bootloader/api/btl_interface_storage.h
bootloader_storageIsBusy#
bool bootloader_storageIsBusy (void )
Check whether the bootloader storage is busy.
N/A |
Returns
True if the storage is busy
589
of file platform/bootloader/api/btl_interface_storage.h
bootloader_readRawStorage#
int32_t bootloader_readRawStorage (uint32_t address, uint8_t * buffer, size_t length)
Read raw data from storage.
[in] | address | Address to start reading from |
[out] | buffer | Buffer to store the data |
[in] | length | Amount of data to read |
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
602
of file platform/bootloader/api/btl_interface_storage.h
bootloader_writeRawStorage#
int32_t bootloader_writeRawStorage (uint32_t address, uint8_t * buffer, size_t length)
Write data to storage.
[in] | address | Address to start writing to |
[in] | buffer | Buffer to read data to write from |
[in] | length | Amount of data to write. Must be a multiple of 4. |
Note
If DMA-based MSC write is enabled on the bootloader, writing data from flash to flash is not supported on Series-1 devices.
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
620
of file platform/bootloader/api/btl_interface_storage.h
bootloader_eraseRawStorage#
int32_t bootloader_eraseRawStorage (uint32_t address, size_t length)
Erase data from storage.
[in] | address | Address to start erasing from |
[in] | length | Length of data to erase |
Note
Erasing storage must adhere to the limitations of the underlying storage medium, such as requiring full page erases. Use bootloader_getStorageInfo to learn about the limitations of the configured storage medium.
Returns
BOOTLOADER_OK on success, else error code in BOOTLOADER_ERROR_STORAGE_BASE range
638
of file platform/bootloader/api/btl_interface_storage.h
bootloader_getAllocatedDMAChannel#
int32_t bootloader_getAllocatedDMAChannel (void )
Get allocated DMA channel for MSC write.
N/A |
Returns
A positive number channel. -1 if DMA-based MSC write is not enabled. Otherwise, the error code BOOTLOADER_ERROR_INIT_STORAGE.
648
of file platform/bootloader/api/btl_interface_storage.h
Macro Definition Documentation#
BOOTLOADER_STORAGE_VERIFICATION_CONTEXT_SIZE#
#define BOOTLOADER_STORAGE_VERIFICATION_CONTEXT_SIZEValue:
(384)
Context size for bootloader verification context.
216
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_INFO_VERSION#
#define BOOTLOADER_STORAGE_INFO_VERSIONValue:
(0x30000U)
Current version of the BootloaderStorageInformation_t struct.
220
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_IMPL_INFO_VERSION#
#define BOOTLOADER_STORAGE_IMPL_INFO_VERSIONValue:
(0x0210U)
Current version of the BootloaderStorageImplementationInformation_t struct.
222
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_IMPL_INFO_VERSION_MAJOR#
#define BOOTLOADER_STORAGE_IMPL_INFO_VERSION_MAJORValue:
(0x0200U)
Major version of the BootloaderStorageImplementationInformation_t struct.
224
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_IMPL_INFO_VERSION_MAJOR_MASK#
#define BOOTLOADER_STORAGE_IMPL_INFO_VERSION_MAJOR_MASKValue:
(0xFF00U)
Major version mask for BOOTLOADER_STORAGE_IMPL_INFO_VERSION.
226
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_IMPL_CAPABILITY_ERASE_SUPPORTED#
#define BOOTLOADER_STORAGE_IMPL_CAPABILITY_ERASE_SUPPORTEDValue:
(1 << 0)
Spiflash capability indicating that it supports erase.
229
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_IMPL_CAPABILITY_PAGE_ERASE_REQUIRED#
#define BOOTLOADER_STORAGE_IMPL_CAPABILITY_PAGE_ERASE_REQUIREDValue:
(1 << 1)
Spiflash capability indicating it requires full page erases before new data can be written.
232
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_IMPL_CAPABILITY_BLOCKING_WRITE#
#define BOOTLOADER_STORAGE_IMPL_CAPABILITY_BLOCKING_WRITEValue:
(1 << 2)
Spiflash capability indicating that the write function is blocking.
234
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_IMPL_CAPABILITY_BLOCKING_ERASE#
#define BOOTLOADER_STORAGE_IMPL_CAPABILITY_BLOCKING_ERASEValue:
(1 << 3)
Spiflash capability indicating that the erase function is blocking.
236
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_ISSI_IS25LQ040B#
#define BOOTLOADER_STORAGE_ISSI_IS25LQ040BValue:
(1U << 0)
ISSI IS25LQ040B SPI Flash.
239
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_ISSI_IS25LQ020B#
#define BOOTLOADER_STORAGE_ISSI_IS25LQ020BValue:
(1U << 1)
ISSI IS25LQ020B SPI Flash.
241
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_ISSI_IS25LQ010B#
#define BOOTLOADER_STORAGE_ISSI_IS25LQ010BValue:
(1U << 2)
ISSI IS25LQ010B SPI Flash.
243
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_ISSI_IS25LQ512B#
#define BOOTLOADER_STORAGE_ISSI_IS25LQ512BValue:
(1U << 3)
ISSI IS25LQ512B SPI Flash.
245
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_ISSI_IS25LQ025B#
#define BOOTLOADER_STORAGE_ISSI_IS25LQ025BValue:
(1U << 4)
ISSI IS25LQ025B SPI Flash.
247
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_NUMONYX_M25P16#
#define BOOTLOADER_STORAGE_NUMONYX_M25P16Value:
(1U << 5)
Numonyx M25P16 SPI Flash.
249
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_NUMONYX_M25P80#
#define BOOTLOADER_STORAGE_NUMONYX_M25P80Value:
(1U << 6)
Numonyx M25P80 SPI Flash.
251
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_NUMONYX_M25P40#
#define BOOTLOADER_STORAGE_NUMONYX_M25P40Value:
(1U << 7)
Numonyx M25P40 SPI Flash.
253
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_NUMONYX_M25P20#
#define BOOTLOADER_STORAGE_NUMONYX_M25P20Value:
(1U << 8)
Numonyx M25P20 SPI Flash.
255
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_ADESTO_AT25SF041#
#define BOOTLOADER_STORAGE_ADESTO_AT25SF041Value:
(1U << 9)
Adesto AT25SF041 SPI Flash.
257
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_ATMEL_AT25DF081A#
#define BOOTLOADER_STORAGE_ATMEL_AT25DF081AValue:
(1U << 10)
Atmel AT25DF081A SPI Flash.
259
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_ATMEL_AT25DF041A#
#define BOOTLOADER_STORAGE_ATMEL_AT25DF041AValue:
(1U << 11)
Atmel AT25DF041A SPI Flash.
261
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_MACRONIX_MX25R6435F#
#define BOOTLOADER_STORAGE_MACRONIX_MX25R6435FValue:
(1U << 12)
Macronix MX25R6435F SPI Flash.
263
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_MACRONIX_MX25R3235F#
#define BOOTLOADER_STORAGE_MACRONIX_MX25R3235FValue:
(1U << 13)
Macronix MX25R6435F SPI Flash.
265
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_MACRONIX_MX25U1635E#
#define BOOTLOADER_STORAGE_MACRONIX_MX25U1635EValue:
(1U << 14)
Macronix MX25U1635E SPI Flash.
267
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_MACRONIX_MX25L1606E#
#define BOOTLOADER_STORAGE_MACRONIX_MX25L1606EValue:
(1U << 15)
Macronix MX25L1606E SPI Flash.
269
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_MACRONIX_MX25R8035F#
#define BOOTLOADER_STORAGE_MACRONIX_MX25R8035FValue:
(1U << 16)
Macronix MX25R8035F SPI Flash.
271
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_MACRONIX_MX25L8006E#
#define BOOTLOADER_STORAGE_MACRONIX_MX25L8006EValue:
(1U << 17)
Macronix MX25L8006E SPI Flash.
273
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_MACRONIX_MX25L4006E#
#define BOOTLOADER_STORAGE_MACRONIX_MX25L4006EValue:
(1U << 18)
Macronix MX25L4006E SPI Flash.
275
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_MACRONIX_MX25L2006E#
#define BOOTLOADER_STORAGE_MACRONIX_MX25L2006EValue:
(1U << 19)
Macronix MX25L2006E SPI Flash.
277
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_WINBOND_W25Q80BV#
#define BOOTLOADER_STORAGE_WINBOND_W25Q80BVValue:
(1U << 20)
Winbond W25Q80BV SPI Flash.
279
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_WINBOND_W25X20BV#
#define BOOTLOADER_STORAGE_WINBOND_W25X20BVValue:
(1U << 21)
Winbond W25X20BV SPI Flash.
281
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_SPANSION_S25FL208K#
#define BOOTLOADER_STORAGE_SPANSION_S25FL208KValue:
(1U << 22)
Spansion S25L208K SPI Flash.
283
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_INTERNAL_STORAGE#
#define BOOTLOADER_STORAGE_INTERNAL_STORAGEValue:
(1U << 30)
Internal storage.
285
of file platform/bootloader/api/btl_interface_storage.h
BOOTLOADER_STORAGE_JEDEC#
#define BOOTLOADER_STORAGE_JEDECValue:
(1U << 31)
JEDEC Supported SPI Flash.
287
of file platform/bootloader/api/btl_interface_storage.h