Skip to content

Commit

Permalink
tools: esp32: Update for esp32c2
Browse files Browse the repository at this point in the history
Added argument to support custom baud rate on ESP monitor
for ESP32C2 and ESP8684.

Signed-off-by: Raffael Rostagno <[email protected]>
  • Loading branch information
Raffael Rostagno authored and aescolar committed Aug 11, 2024
1 parent 4458a05 commit eca1112
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/west_commands/runners/esp32.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def do_add_parser(cls, parser):
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',
Expand Down

0 comments on commit eca1112

Please sign in to comment.