mirror of https://github.com/arendst/Tasmota.git
Add tasmota32s2usb
This commit is contained in:
parent
e82058571f
commit
7af1279b55
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue