We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-C3内置了USB,可以使用USB进行下载,但是每次通过命令行敲指令进行下载不是很方便,所以写了几句bat代码,方便下载和擦除芯片。
bat
@echo off echo ============================================ wmic path win32_pnpentity get caption /format:table| find "COM" echo ============================================ set /p COM_NUM=input COM number: esptool.py --chip esp32c3 --port COM%COM_NUM% --baud 460800 write_flash -z 0x0 firmware.bin pause
@echo off echo ============================================ wmic path win32_pnpentity get caption /format:table| find "COM" echo ============================================ set /p COM_NUM=input COM number: esptool.py --chip esp32c3 --port COM%COM_NUM% erase_flash pause
esptool.py
firmware.bin
双击运行bat文件后,会自动列出当前的所有COM口,然后输入对应ESP32-C3的COM口号即可,不用再打开资源管理器来查看,非常的方便。
COM
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ESP32-C3内置了USB,可以使用USB进行下载,但是每次通过命令行敲指令进行下载不是很方便,所以写了几句
bat
代码,方便下载和擦除芯片。esp32-c3-download.bat
esp32-c3-erase_flash.bat
前置条件:
esptool.py
firmware.bin
然后放在和bat
文件的相同目录下。双击运行
bat
文件后,会自动列出当前的所有COM
口,然后输入对应ESP32-C3的COM
口号即可,不用再打开资源管理器来查看,非常的方便。The text was updated successfully, but these errors were encountered: