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,72 @@
{
"me_g1": {
"__require__": [
"time",
"gc",
"machine",
"hp203x",
"ahtx0",
"rc522"
],
"__file__": true,
"__name__": "me_g1.py"
},
"me_go": {
"__require__": [
"time",
"gc",
"math",
"tm1931",
"machine"
],
"__file__": true,
"__name__": "me_go.py"
},
"mixgocar_c3": {
"__require__": [
"time",
"gc",
"ms32006",
"machine",
"ws2812",
"music"
],
"__file__": true,
"__name__": "mixgocar_c3.py"
},
"mixgo_cc": {
"__require__": [
"time",
"gc",
"machine",
"ws2812",
"music",
"mxc6655xa",
"ltr553als",
"rc522",
"matrix32x12",
"mmc5603",
"hp203x",
"spl06_001",
"ahtx0",
"shtc3"
],
"__file__": true,
"__name__": "mixgo_cc.py"
},
"mixgo_me": {
"__require__": [
"time",
"gc",
"machine",
"ws2812",
"music",
"mxc6655xa",
"ltr553als",
"matrix8x5",
"mmc5603"
],
"__file__": true,
"__name__": "mixgo_me.py"
}
}