From c6ce4b3f46a1f1adf700306dadc9034a6a2ac0d3 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 14 Jun 2026 16:41:03 -0500 Subject: M3 done: drop boot test, fold BOOT button into touch long-press MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Waveshare ESP32-P4-ETH board exposes BOOT on GPIO 35, but at runtime that pin is owned by the EMAC TXD1 signal. No usable GPIO is wired to a separate user button, so the BOOT-button task could never fire. Move both BOOT-button behaviours onto the touch panel: - ≥1.5s hold → 15s identity overlay (was BOOT short-press) - ≥5s hold → factory reset (was BOOT long-hold) Short tap (<500ms) still toggles wake/sleep. Long-press fires while the finger is still down so the user gets immediate feedback at each threshold. Also strip the R/G/B 6 s boot test sequence — the panel now renders correctly, so it's no longer useful diagnostically. Boot subsystem flags drop the trailing B column: [EMHDJT]. --- main/button.h | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 main/button.h (limited to 'main/button.h') diff --git a/main/button.h b/main/button.h deleted file mode 100644 index a6d1c80..0000000 --- a/main/button.h +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once - -#include "esp_err.h" - -// BOOT button polling task. Pin is hard-coded in button.c and may need -// to be adjusted for the Waveshare ESP32-P4-ETH (see TODO in button.c). -// Returns OK if the task started; the firmware keeps running either way. -esp_err_t button_init(void); -- cgit v1.2.3