The baud rate to be used for communication with the device.
Optional debugFlag indicating whether to enable debug logging for the loader (optional).
Optional enableIndicate if trace messages should be enabled or not.
Optional portThe port to initialize the transport class.
Optional resetReset functions for connection. If undefined will use default ones.
Optional romBaud rate used to talk to the ROM bootloader before the stub is running.
Set equal to baudrate to skip the port reopen entirely, which avoids
rebooting boards whose EN/IO0 lines are disturbed by reopening the port.
Optional serialSet of options for SerialPort class.
Optional terminalAn optional terminal interface to interact with the loader during the process.
The transport mechanism to communicate with the device.
Options to configure ESPLoader. LoaderOptions