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.

This commit is contained in:
sen 2023-05-01 21:21:09 +08:00
parent 7b19149f61
commit 0d0d3dc0bd

View File

@ -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: