From eca1112d5b3cb6efa503ac2cc6fa581f79931cf7 Mon Sep 17 00:00:00 2001 From: Raffael Rostagno Date: Mon, 22 Jul 2024 16:56:47 -0300 Subject: [PATCH] tools: esp32: Update for esp32c2 Added argument to support custom baud rate on ESP monitor for ESP32C2 and ESP8684. Signed-off-by: Raffael Rostagno --- scripts/west_commands/runners/esp32.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/west_commands/runners/esp32.py b/scripts/west_commands/runners/esp32.py index 0461c2390fe..8a0d5c8ae75 100644 --- a/scripts/west_commands/runners/esp32.py +++ b/scripts/west_commands/runners/esp32.py @@ -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',