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
@@ -2,9 +2,10 @@ idf_component_register(SRCS "main.c" "mic.c" "beat.c" "beat_dsp.c" "espnow_tx.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES esp_eth esp_netif esp_event esp_driver_spi esp_driver_gpio nvs_flash app_update esp_app_format
|
||||
esp_http_server esp_timer esp_driver_i2s esp_wifi esp_rom json esp_driver_gpio
|
||||
PRIV_REQUIRES littlefs)
|
||||
PRIV_REQUIRES littlefs mdns)
|
||||
|
||||
# Flash the gzipped web UI into the www partition (run tools/build_web.sh first)
|
||||
if(EXISTS ${PROJECT_DIR}/www_dist)
|
||||
littlefs_create_partition_image(www ${PROJECT_DIR}/www_dist FLASH_IN_PROJECT)
|
||||
# The gzipped web UI is embedded in the app image (run tools/build_web.sh first)
|
||||
if(NOT EXISTS ${PROJECT_DIR}/www_dist/www.pack)
|
||||
message(FATAL_ERROR "www_dist/www.pack is missing: run v2/tools/build_web.sh (make build does)")
|
||||
endif()
|
||||
target_add_binary_data(${COMPONENT_LIB} ${PROJECT_DIR}/www_dist/www.pack BINARY)
|
||||
Reference in new issue
Block a user