Interface LoaderOptions

Options to configure ESPLoader. LoaderOptions

Hierarchy

  • LoaderOptions

Properties

baudrate: number

The baud rate to be used for communication with the device.

debugLogging?: boolean

Flag indicating whether to enable debug logging for the loader (optional).

enableTracing?: boolean

Indicate if trace messages should be enabled or not.

flashSize: FlashSizeValues

The size of the flash memory to be used. Possible values are "detect", "keep", "256KB", "512KB", "1MB", "2MB", "2MB-c1", "4MB", "4MB-c1", "8MB", "16MB", "32MB", "64MB", "128MB".

port?: SerialPort

The port to initialize the transport class.

resetConstructors?: ResetConstructors

Reset functions for connection. If undefined will use default ones.

serialOptions?: SerialOptions

Set of options for SerialPort class.

An optional terminal interface to interact with the loader during the process.

transport: Transport

The transport mechanism to communicate with the device.

Generated using TypeDoc