edit picokeys(not pub now) & some mds
All checks were successful
Deploy / deploy (push) Successful in 41s
All checks were successful
Deploy / deploy (push) Successful in 41s
This commit is contained in:
@@ -81,4 +81,25 @@ git reset --hard origin/main
|
||||
|
||||
`git fetch` 从远程下载最新版本,不会尝试合并或重新设置任何内容。
|
||||
|
||||
然后 `git reset` 将 main 分支重置为你刚获取的分支。--hard 选项更改工作树中的所有文件,以匹配 origin/main 中的文件。
|
||||
然后 `git reset` 将 main 分支重置为你刚获取的分支。--hard 选项更改工作树中的所有文件,以匹配 origin/main 中的文件。
|
||||
|
||||
## 擦除 ESP32-S3 固件
|
||||
|
||||
下载并安装 [esptool](https://github.com/espressif/esptool/releases/latest)
|
||||
|
||||
令 ESP32-S3 进入 DFU 模式:
|
||||
|
||||
- 按住板子上的 `BOOT` 按钮不放,将设备接入电脑
|
||||
- 再单击一下 `RESET` 按钮
|
||||
- 松开 BOOT 按钮
|
||||
- 此时电脑会重新识别到一个串口设备
|
||||
- 转至 设备管理器
|
||||
- 确定 ESP32-S3 设备所对应的串口
|
||||
|
||||
用命令行工具 esptool 擦除 ESP32-S3 固件,在终端中执行以下命令:
|
||||
|
||||
``` powershell
|
||||
D:\esptool-v5.2.0-windows-amd64\esptool.exe --chip esp32s3 --port [ESP32-S3 设备所对应的串口 e.g.:COM3] erase_flash
|
||||
```
|
||||
|
||||
显示 `Flash memory erased successfully` 后,你就可以像对待一块全新的 ESP32-S3 一样,用常规方法刷写任何其他固件了。
|
||||
Reference in New Issue
Block a user