/* Reads flash at locations passed in through parameters. 
This function read the flash memory from a given flash area as determined by the start address and the length.  */
status_t FLASH_Read(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t lengthInBytes)
/* Reads flash at locations passed in through parameters. 
This function read the flash memory from a given flash area as determined by the start address and the length.  */
status_t FLASH_Read(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t lengthInBytes)
{
    assert(BOOTLOADER_API_TREE_POINTER);
    return BOOTLOADER_API_TREE_POINTER->flashDriver->flash_read(config, start, dest, lengthInBytes);
}