Update: MicroPython使用AST构建下py文件抽象语法树以精确解析模块依赖
This commit is contained in:
116
boards/default_src/micropython_esp32s3/origin/build/lib/map.json
Normal file
116
boards/default_src/micropython_esp32s3/origin/build/lib/map.json
Normal file
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"es8374": {
|
||||
"__require__": [
|
||||
"time",
|
||||
"micropython"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "es8374.py"
|
||||
},
|
||||
"mixgo_nova": {
|
||||
"__require__": [
|
||||
"machine",
|
||||
"time",
|
||||
"gc",
|
||||
"st7735",
|
||||
"math",
|
||||
"ws2812",
|
||||
"_boot",
|
||||
"mxc6655xa",
|
||||
"ltr553als",
|
||||
"ltr553als",
|
||||
"rc522",
|
||||
"mmc5603",
|
||||
"hp203x",
|
||||
"ahtx0",
|
||||
"shtc3",
|
||||
"machine"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "mixgo_nova.py"
|
||||
},
|
||||
"mixgo_nova_voice": {
|
||||
"__require__": [
|
||||
"ustruct",
|
||||
"time",
|
||||
"music_spk",
|
||||
"es8374",
|
||||
"machine",
|
||||
"mixgo_nova",
|
||||
"urequests"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "mixgo_nova_voice.py"
|
||||
},
|
||||
"mixgo_zero": {
|
||||
"__require__": [
|
||||
"machine",
|
||||
"time",
|
||||
"gc",
|
||||
"st7789_bf",
|
||||
"math",
|
||||
"ws2812",
|
||||
"_boot",
|
||||
"mxc6655xa",
|
||||
"ltr553als",
|
||||
"ltr553als",
|
||||
"shtc3",
|
||||
"rc522",
|
||||
"mmc5603",
|
||||
"spl06_001",
|
||||
"machine"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "mixgo_zero.py"
|
||||
},
|
||||
"mixgo_zero_voice": {
|
||||
"__require__": [
|
||||
"ustruct",
|
||||
"time",
|
||||
"music_spk",
|
||||
"es8374",
|
||||
"machine",
|
||||
"mixgo_zero",
|
||||
"urequests"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "mixgo_zero_voice.py"
|
||||
},
|
||||
"music_spk": {
|
||||
"__require__": [
|
||||
"time",
|
||||
"math",
|
||||
"array",
|
||||
"struct"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "music_spk.py"
|
||||
},
|
||||
"nova_g1": {
|
||||
"__require__": [
|
||||
"micropython",
|
||||
"mixgo_nova"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "nova_g1.py"
|
||||
},
|
||||
"sdcard": {
|
||||
"__require__": [
|
||||
"time",
|
||||
"machine",
|
||||
"micropython"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "sdcard.py"
|
||||
},
|
||||
"st7789_bf": {
|
||||
"__require__": [
|
||||
"time",
|
||||
"uframebuf",
|
||||
"machine",
|
||||
"micropython"
|
||||
],
|
||||
"__file__": true,
|
||||
"__name__": "st7789_bf.py"
|
||||
}
|
||||
}
|
||||
@@ -5,9 +5,10 @@
|
||||
"scripts": {
|
||||
"serve": "webpack-dev-server --config=webpack.dev.js",
|
||||
"build:dev": "webpack --config=webpack.dev.js",
|
||||
"build:prod": "webpack --config=webpack.prod.js && npm run build:examples",
|
||||
"build:prod": "npm run build:examples & npm run build:libraries & webpack --config=webpack.prod.js",
|
||||
"build:examples": "node ../../../scripts/build-examples.js -t special",
|
||||
"build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate",
|
||||
"build:libraries": "python ../../../scripts/build-libraries.py ./origin/build/lib",
|
||||
"publish:board": "npm publish --registry https://registry.npmjs.org/"
|
||||
},
|
||||
"main": "./export.js",
|
||||
|
||||
Reference in New Issue
Block a user