tools: esp32: Update for esp32c2

Added argument to support custom baud rate on ESP monitor
for ESP32C2 and ESP8684.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
This commit is contained in:
Raffael Rostagno 2024-07-22 16:56:47 -03:00 committed by Alberto Escolar
parent 4458a05ec2
commit eca1112d5b
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ class Esp32BinaryRunner(ZephyrBinaryRunner):
help='serial port to flash')
parser.add_argument('--esp-baud-rate', default='921600',
help='serial baud rate, default 921600')
parser.add_argument('--esp-monitor-baud', default='115200',
help='serial monitor baud rate, default 115200')
parser.add_argument('--esp-flash-size', default='detect',
help='flash size, default "detect"')
parser.add_argument('--esp-flash-freq', default='40m',