/* Programs flash with data at locations passed in through parameters. 
This function programs the flash memory with the desired data for a given flash area as determined by the start address and the length.  */
status_t FLASH_Program(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes)
/* Programs flash with data at locations passed in through parameters. 
This function programs the flash memory with the desired data for a given flash area as determined by the start address and the length.  */
status_t FLASH_Program(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes)
{
    assert(BOOTLOADER_API_TREE_POINTER);
    return BOOTLOADER_API_TREE_POINTER->flashDriver->flash_program(config, start, src, lengthInBytes);
}