Update esphome/components/esp32/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-01-29 18:48:17 -06:00
committed by GitHub
co-authored by Copilot
parent 49840ed4fa
commit e2182b6227
+2 -1
View File
@@ -1383,7 +1383,8 @@ async def to_code(config):
# Disable VFS support for termios (terminal I/O functions)
# USB Serial JTAG VFS functions require termios support.
# Components that need it (e.g., logger with USB_SERIAL_JTAG) call require_vfs_termios().
# Components that need it (e.g., logger when USB_SERIAL_JTAG is supported but not selected
# as the logger output) call require_vfs_termios().
# Saves approximately 1.8KB of flash when disabled (default).
if CORE.data.get(KEY_VFS_TERMIOS_REQUIRED, False):
# Component requires VFS termios - force enable regardless of user setting