OTA Fine tuning - release

This commit is contained in:
Sebastien
2019-11-16 00:37:33 -05:00
parent 391bc24dc7
commit e02987f8df
4 changed files with 70 additions and 21 deletions

View File

@@ -12,7 +12,10 @@
#else
#define CODE_RAM_LOCATION
#endif
// ERASE BLOCK needs to be a multiple of wear leveling's sector size
#define OTA_FLASH_ERASE_BLOCK (uint32_t)512000
#define OTA_STACK_SIZE 5120
#define OTA_TASK_PRIOTITY 6
esp_err_t start_ota(const char * bin_url, bool bFromAppMain);
const char * ota_get_status();
uint8_t ota_get_pct_complete();