feat(v2): move web UI into v2, remove legacy MicroPython app
Move the web assets and templates under v2/web, drop the old src/, lib/ and scripts, and update firmware, tools, docs and db files. Add the audio page, LED test scripts and VPN autoconnect script. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6c16998691
commit
71bd320661
193 files changed
+5605
-18860
No files matched your search
+1
-1
@@ -36,6 +36,7 @@ static esp_err_t mount(const char *label, const char *base)
|
||||
.base_path = base,
|
||||
.partition_label = label,
|
||||
.format_if_mount_failed = true,
|
||||
.grow_on_mount = true, // the db partition spans the rest of the flash; an older, smaller filesystem is extended in place
|
||||
};
|
||||
return esp_vfs_littlefs_register(&conf);
|
||||
}
|
||||
@@ -71,7 +72,6 @@ esp_err_t store_init(void)
|
||||
{
|
||||
s_lock = xSemaphoreCreateRecursiveMutex();
|
||||
ESP_RETURN_ON_FALSE(s_lock, ESP_ERR_NO_MEM, TAG, "mutex");
|
||||
ESP_RETURN_ON_ERROR(mount("www", "/www"), TAG, "mount www");
|
||||
ESP_RETURN_ON_ERROR(mount("db", "/db"), TAG, "mount db");
|
||||
for (size_t i = 0; i < N_COLL; i++) {
|
||||
s_coll[i] = load_file(NAMES[i]);
|
||||
|
||||
Reference in new issue
Block a user