makeblock files upload tool
- python2 or python3
- You need to install the pyserial library, it is best to install with pip
pip install pyserial
.(你需要安装 pyserial 的库,最好是用 pip 安装pip install pyserial
) - You need to install the progressbar2 library, it is best to install with pip
pip install progressbar2
.(你需要安装 progressbar2 的库,最好是用 pip 安装pip install progressbar2
)
-
In the shell, type
python firefly_upload.py -p [serial port name] -i [file path] -o [file burning path in flash]
(在shell 中输入python firefly_upload.py -p [串口名称] -i [文件的路径] -o [文件烧入flash的路径]
) -
Example(示例):
python firefly_upload.py -p COM5 -i C:/Users/MBENBEN/Desktop/test/main.py -o /flash/main.py