Add tasmota32s2usb

This commit is contained in:
Theo Arends 2022-06-07 12:52:44 +02:00
parent e82058571f
commit 7af1279b55
3 changed files with 12 additions and 3 deletions

View File

@ -38,6 +38,7 @@ default_envs =
; tasmota32c3 ; tasmota32c3
; tasmota32c3usb ; tasmota32c3usb
; tasmota32s2 ; tasmota32s2
; tasmota32s2usb
; tasmota32s3 ; tasmota32s3
; tasmota32s3usb ; tasmota32s3usb
; tasmota32-odroidgo ; tasmota32-odroidgo

View File

@ -200,6 +200,14 @@ lib_ignore =
Micro-RTSP Micro-RTSP
epdiy epdiy
[env:tasmota32s2usb-safeboot]
extends = env:tasmota32s2-safeboot
board = esp32s2usb
[env:tasmota32s2usb]
extends = env:tasmota32s2
board = esp32s2usb
[env:tasmota32s3-safeboot] [env:tasmota32s3-safeboot]
extends = env:tasmota32_base extends = env:tasmota32_base
board = esp32s3 board = esp32s3

View File

@ -436,7 +436,7 @@ void setup(void) {
#ifdef USE_USB_SERIAL_CONSOLE #ifdef USE_USB_SERIAL_CONSOLE
TasConsole.begin(115200); // Will always be 115200 bps TasConsole.begin(115200); // Will always be 115200 bps
#if !ARDUINO_USB_MODE #if !ARDUINO_USB_MODE
USB.begin(); USB.begin(); // This needs a serial console with DTR/DSR support
#endif // No ARDUINO_USB_MODE #endif // No ARDUINO_USB_MODE
TasConsole.println(); TasConsole.println();
AddLog(LOG_LEVEL_INFO, PSTR("CMD: Using embedded USB")); AddLog(LOG_LEVEL_INFO, PSTR("CMD: Using embedded USB"));