[英]Regarding flash the code on to the ESP32 board
Command to flash the code on ESP32 the command is shown in below.The command is used in Linux OS.命令 flash ESP32 上的代码该命令如下所示。该命令用于 Linux 操作系统。
./vendors/espressif/esp-idf/tools/idf.py erase_flash flash monitor -p /dev/ttyUSB0 -B builde
Here builde
is a project directory.这里
builde
是一个项目目录。
The output of this command shown below.该命令的 output 如下图所示。 It will give me a error related to the
-B
option.它会给我一个与
-B
选项相关的错误。
Usage: ./vendors/espressif/esp-idf/tools/idf.py monitor [OPTIONS]
Try './vendors/espressif/esp-idf/tools/idf.py monitor --help' for help.
Error: Invalid value for '--monitor-baud' / '-B': builde is not a valid integer
How to solve this error?如何解决这个错误?
-b is optional but requires the baud rate so something like -b 921600 -b 是可选的,但需要波特率,所以类似于 -b 921600
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.