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

@ -11,7 +11,7 @@
[platformio]
; For best Gitpod performance remove the ";" in the next line. Needed Platformio files are cached and installed at first run
;core_dir = .platformio
; For unrelated compile errors with Windows it can help to shorten Platformio project path
; For unrelated compile errors with Windows it can help to shorten Platformio project path
;workspace_dir = c:\.pio
; *** Build/upload environment
@ -38,6 +38,7 @@ default_envs =
; tasmota32c3
; tasmota32c3usb
; tasmota32s2
; tasmota32s2usb
; tasmota32s3
; tasmota32s3usb
; tasmota32-odroidgo
@ -140,7 +141,7 @@ lib_extra_dirs = ${library.lib_extra_dirs}
lib/libesp32_lvgl
; *** uncomment the following line if you use Bluetooth or Apple Homekit in a Tasmota32 build. Reduces compile time
; lib/libesp32_div
; *** uncomment the following line if you use Epaper driver epidy in your Tasmota32 build. Reduces compile time
; *** uncomment the following line if you use Epaper driver epidy in your Tasmota32 build. Reduces compile time
; lib/libesp32_eink

View File

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

View File

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