Keep the Elecrow's touch bus free of the USB PHY after Wi-Fi starts (0.2.94, firmware 0.2.80)
CI / checks (push) Waiting to run
CI / firmware (add-on) (push) Blocked by required conditions
CI / firmware (min_version) (push) Blocked by required conditions

The GT911 of the CrowPanel 7.0" sits on GPIO 19 and 20, the ESP32-S3's USB pins. Firmware 0.2.79 freed them once, in a
static constructor; the Wi-Fi PHY library then kept the USB PHY on (CONFIG_ESP_PHY_ENABLE_USB, on by default on an
ESP32-S3) and the touch went quiet once Wi-Fi came up. The board file turns that option off, frees the pins again in
BOOT_TOUCH after Wi-Fi started, and a one-second watchdog frees them whenever anything takes them, with a log line.
This commit is contained in:
Xandrossian
2026-09-21 12:05:28 -07:00
parent 9857cc3bda
commit a3ef7f09a1
7 changed files with 52 additions and 11 deletions
+7
View File
@@ -1,3 +1,10 @@
## 0.2.94 (firmware 0.2.80)
The Elecrow's touch, when Wi-Fi takes its pins.
- **Elecrow CrowPanel 7.0": the touch bus stays free of the USB PHY.** The GT911 sits on GPIO 19 and 20, the ESP32-S3's USB pins. Firmware 0.2.79 freed them once, before anything else started; the Wi-Fi PHY library then kept the USB PHY on, as it does on an ESP32-S3 by default, and the touch went quiet the moment Wi-Fi came up. The board now tells the PHY library to leave USB off (`CONFIG_ESP_PHY_ENABLE_USB`), frees the pins again after Wi-Fi started, and a one-second watchdog frees them again whenever anything takes them, with a log line (`USB PHY took GPIO19/20 back`) that says so.
- Needs firmware 0.2.80 on an Elecrow: press **Update** on the screen. A CYD or Guition loses nothing by waiting. Elecrow firmware: 1,865,680 bytes, 91.8 % of its update slot.
## 0.2.93 (firmware 0.2.79)
A third screen: the 7-inch Elecrow CrowPanel, with everything the Guition shows across a wider page.
+1 -1
View File
@@ -54,7 +54,7 @@ REFS = {'cyd': 'main', 'guition': 'main', 'elecrow': 'main'}
# is the small one. The Elecrow CrowPanel 7.0" (app 0.2.93) is the Guition's kind at 800x480, without the Rotation.
LARGE_BOARDS = ('guition', 'elecrow')
# Firmware shipped with this app release; screens below it get an update offer.
FIRMWARE_VERSION = '0.2.79'
FIRMWARE_VERSION = '0.2.80'
# The Auto standby switch a screen offers Home Assistant automations.
AUTO_STANDBY_MIN_FIRMWARE = '0.2.41'
# The settings page the screen opens itself, and the screen.settings tile that opens it.
+1 -1
View File
@@ -1,5 +1,5 @@
name: ESP Screen Manager
version: "0.2.93"
version: "0.2.94"
slug: esp_screen_manager
description: Choose tiles for your CYD and Guition touchscreen, without reflashing.
url: https://gittea.trippedonmy.name/Xandrossian/homeassistant_espscreen