Update: MicroPython使用AST构建下py文件抽象语法树以精确解析模块依赖
This commit is contained in:
59
boards/default/micropython_robot/build/lib/map.json
Normal file
59
boards/default/micropython_robot/build/lib/map.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"bot51": {
|
||||
"__require__": [
|
||||
"uframebuf",
|
||||
"micropython"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "bot51.py"
|
||||
},
|
||||
"feiyi": {
|
||||
"__require__": [
|
||||
"time",
|
||||
"gc",
|
||||
"machine",
|
||||
"ws2812",
|
||||
"music",
|
||||
"mxc6655xa",
|
||||
"ltr553als",
|
||||
"rc522",
|
||||
"bot51",
|
||||
"mmc5603"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "feiyi.py"
|
||||
},
|
||||
"mixbot": {
|
||||
"__require__": [
|
||||
"time",
|
||||
"gc",
|
||||
"random",
|
||||
"uframebuf",
|
||||
"micropython",
|
||||
"machine",
|
||||
"ws2812",
|
||||
"music",
|
||||
"icm42670"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "mixbot.py"
|
||||
},
|
||||
"mixbot_ext": {
|
||||
"__require__": [
|
||||
"i2cdevice",
|
||||
"mixbot"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "mixbot_ext.py"
|
||||
},
|
||||
"rm_e1": {
|
||||
"__require__": [
|
||||
"time",
|
||||
"gc",
|
||||
"machine",
|
||||
"ws2812"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "rm_e1.py"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user