Moved index.html from SPIFFS to program memory. Removed dependencies to SPIFFS. Also, we can use a different partition scheme with much more program space instead of reserving some of it for SPIFFS.

This commit is contained in:
fabian committed 2019-11-29 06:10:17 +01:00
1 parent dd9e1538c8
commit 8e15f87cd3
11 files changed
+23 -61

No files matched your search

+2 -1
View File
@@ -1,4 +1,5 @@
#pragma once
extern uint16_t spiffs_version;
void wifi_connect();
extern const uint8_t file_index_html_start[] asm("_binary_src_index_html_start");
+1 -1
View File
@@ -4,7 +4,7 @@
class Updater {
public:
static void run(uint16_t spiffs_version = 0);
static void run();
static bool do_update(int cmd, String url, String expected_md5);
static bool read_line(String* dst, HTTPClientWrapper* http, String expected_key);
};