【文件属性】:
文件名称:esp32-micropython
文件大小:1.36MB
文件格式:ZIP
更新时间:2021-05-09 23:34:49
Python
ESP32的MicroPython
非常粗糙的安装指南...
要求
Node.js (with `yarn` if building)
Python 3
esptool.py (`pip3 install esptool`)
环境
需要发现系统上的端口路径。 典型示例:
对于macOS:
export ESPTOOL_PORT=/dev/cu.SLAB_USBtoUART
对于Windows(使用设备管理器发现实际的端口号):
export ESPTOOL_PORT=COM3
对于Linux(默认):
export ESPTOOL_PORT=/dev/ttyUSB0
快速安装
npm run flash-micropython
npm run flash-sys
构建(针对开发人员)
生成面板网络应用程序:
cd panel
yarn
yarn run build
cd ..
【文件预览】:
esp32-micropython-master
----sys-fs()
--------.gitignore(14B)
----panel()
--------yarn.lock(124KB)
--------src()
--------web()
--------tsconfig.json(5KB)
--------tslint.json(2KB)
--------package.json(355B)
----yarn.lock(84KB)
----sys()
--------boot.py(1023B)
--------white-logo.bmp(4KB)
--------lib()
--------web()
----esp32-micropython.code-workspace(370B)
----gulpfile.ts(2KB)
----dump.json(564B)
----images()
--------sys.img(1024KB)
--------mp.bin(989KB)
----.vscode()
--------settings.json(275B)
----scripts()
--------build.sh(381B)
--------update-sys.sh(246B)
----tsconfig.json(5KB)
----bmp-reader.py(222B)
----README.md(1KB)
----notes.txt(1KB)
----.gitignore(73B)
----package.json(1KB)