Update: MicroPython使用AST构建下py文件抽象语法树以精确解析模块依赖

This commit is contained in:
王立帮
2024-12-03 10:44:30 +08:00
parent faa8430208
commit d97c70fb36
42 changed files with 2938 additions and 40 deletions

View File

@@ -0,0 +1,40 @@
{
"mixgo": {
"__require__": [
"time",
"gc",
"machine",
"ws2812",
"music",
"mpu9250",
"matrix16x8"
],
"__file__": true,
"__name__": "mixgo.py"
},
"mixgo_pe": {
"__require__": [
"time",
"gc",
"machine",
"matrix8x5",
"machine"
],
"__file__": true,
"__name__": "mixgo_pe.py"
},
"mpython": {
"__require__": [
"time",
"gc",
"machine",
"ws2812",
"music",
"oled128x64",
"mmc5603",
"qmi8658"
],
"__file__": true,
"__name__": "mpython.py"
}
}