From 0d0d3dc0bd559de958172df3c9fd61dcf8439c91 Mon Sep 17 00:00:00 2001 From: sen <126383355+screek-workshop@users.noreply.github.com> Date: Mon, 1 May 2023 21:21:09 +0800 Subject: [PATCH] For the case of s2, a masked cdc serial port is provided to prevent two serial ports from conflicting. The cost of this approach is the sacrifice of serial port logging. --- 1u/yaml/screek-humen-dectet-1u.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/1u/yaml/screek-humen-dectet-1u.yaml b/1u/yaml/screek-humen-dectet-1u.yaml index 1d56b62..bf9a77f 100644 --- a/1u/yaml/screek-humen-dectet-1u.yaml +++ b/1u/yaml/screek-humen-dectet-1u.yaml @@ -5,6 +5,8 @@ esphome: name_add_mac_suffix: True platformio_options: board_build.flash_mode: dio + board_build.extra_flags: + - "-DARDUINO_USB_CDC_ON_BOOT=0" project: name: Screek.Human_Presence_Sensor version: 1U @@ -22,7 +24,7 @@ esp32: improv_serial: logger: - hardware_uart: uart0 + # hardware_uart: uart0 api: