Disable CDC on esp-emu (#25112)

This commit is contained in:
s-hadinger authored and GitHub committed 2026-10-06 22:27:26 +02:00
1 parent f01609fa73
commit 0427a73d08
2 files changed
+6

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.
- ESP32 Platform from 2026.05.50 to 2026.09.50, Framework (Arduino Core) from v3.3.8 to v3.3.12 and IDF from v5.5.4.260407 to v5.5.5 (#25072)
- IR accept raw data in JSON (#25077)
- Matter update specs to 1.6.1 (to be used by AI) (#25083)
- Disable CDC on esp-emu
### Fixed
- Matter non-bridge endpoint topology (#25099)
+5
View File
@@ -521,6 +521,11 @@ void setup(void) {
is_connected_to_USB = true; // S2
#endif // SOC_USB_SERIAL_JTAG_SUPPORTED
// Detect if esp-emu, if so disable CDC
if (WiFiHelper::macAddress().equals("24:0A:C4:00:00:01")) {
is_connected_to_USB = false;
}
if (is_connected_to_USB) {
// TasConsole is already running
#if !ARDUINO_USB_MODE