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:
parent
7b19149f61
commit
0d0d3dc0bd
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user