fit binaries in available space - release

This commit is contained in:
Sebastien
2020-04-10 11:41:23 -04:00
parent 1b5297ab04
commit 495d947fe9
10 changed files with 616 additions and 1455 deletions

View File

@@ -1,8 +1,8 @@
#include <stdio.h>
#include <string.h>
#include "esp_err.h"
#include "esp_app_format.h"
extern esp_err_t process_recovery_ota(const char * bin_url, char * bin_buffer, uint32_t length);
const __attribute__((section(".rodata_desc"))) esp_app_desc_t esp_app_desc = {
.magic_word = ESP_APP_DESC_MAGIC_WORD,
@@ -30,3 +30,7 @@ int main(int argc, char **argv){
}
void register_squeezelite(){
}
esp_err_t start_ota(const char * bin_url, char * bin_buffer, uint32_t length)
{
return process_recovery_ota(bin_url,bin_buffer,length);
}