- 安装esptool(https://github.com/espressif/esptool)
- 代码:
esptool.exe --chip esp32 --port COM3 erase_flash
- 代码:
esptool.exe --chip esp32 --port COM3 --baud 460800 write_flash -z 0x1000 esp32-20190125-v1.10.bin
- 安装rshell
pip install rshell
- 进入rshell环境
rshell --buffer-size 512 --editor C:\Windows\System32\notepad.exe -p COM3
- rshell常用命令
(1) editor main.py
(2) cp main.py /pyboard/.
(3) ls
(4) mkdir
(5) rm
(6) repl control+x(退出) - 查看内存
gc.mem_free()
upip.install() 联网安装其他第三方库
今天就写到这里,明天继续