feat(factory): add local flashing toolkit and secure OTA defaults
This commit is contained in:
8
tools/esptool-factory/factory_gui/constants.py
Normal file
8
tools/esptool-factory/factory_gui/constants.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
DEFAULT_BAUD = int(os.getenv("FACTORY_UART_BAUD", "115200"))
|
||||
DEFAULT_READY_TIMEOUT_S = float(os.getenv("FACTORY_READY_TIMEOUT_S", "180"))
|
||||
DEFAULT_FLASH_MAX_ATTEMPTS = int(os.getenv("FACTORY_FLASH_MAX_ATTEMPTS", "2"))
|
||||
DEFAULT_FLASH_SECURE_MAX_ATTEMPTS = int(os.getenv("FACTORY_FLASH_SECURE_MAX_ATTEMPTS", "3"))
|
||||
Reference in New Issue
Block a user