build(boards): xpython板卡执行 npm run build:prod

This commit is contained in:
王立帮
2025-09-13 23:03:29 +08:00
parent 167c6e9e30
commit b4256d9764
72 changed files with 1906 additions and 3306 deletions

View File

@@ -1,232 +0,0 @@
{
"ai_camera": {
"__require__": [
"esp_ai",
"micropython"
],
"__file__": true,
"__size__": 4086,
"__name__": "ai_camera.py"
},
"camera": {
"__require__": [
"time",
"base64",
"sensor",
"machine",
"mixgo_sant",
"esp_usb"
],
"__file__": true,
"__size__": 2071,
"__name__": "camera.py"
},
"ci1302x": {
"__require__": [
"ci130x"
],
"__file__": true,
"__size__": 811,
"__name__": "ci1302x.py"
},
"es8374": {
"__require__": [
"time",
"micropython"
],
"__file__": true,
"__size__": 7908,
"__name__": "es8374.py"
},
"mixgo_nova": {
"__require__": [
"machine",
"time",
"gc",
"st7735",
"math",
"ws2812",
"_boot",
"mxc6655xa",
"ltr553als",
"ltr553als",
"rc522",
"mmc5603",
"hp203x",
"ahtx0",
"shtc3",
"machine"
],
"__file__": true,
"__size__": 9577,
"__name__": "mixgo_nova.py"
},
"mixgo_nova_voice": {
"__require__": [
"ustruct",
"time",
"music_spk",
"es8374",
"machine",
"mixgo_nova",
"urequests"
],
"__file__": true,
"__size__": 3175,
"__name__": "mixgo_nova_voice.py"
},
"mixgo_sant": {
"__require__": [
"machine",
"time",
"gc",
"st7789_cf",
"math",
"ws2812x",
"musicx",
"sant_bot",
"sc7a20",
"ltr553als",
"shtc3",
"mmc5603",
"ci1302x"
],
"__file__": true,
"__size__": 6446,
"__name__": "mixgo_sant.py"
},
"mixgo_zero": {
"__require__": [
"machine",
"time",
"gc",
"st7789_bf",
"math",
"ws2812",
"_boot",
"mxc6655xa",
"ltr553als",
"ltr553als",
"shtc3",
"rc522",
"mmc5603",
"spl06_001",
"machine"
],
"__file__": true,
"__size__": 8017,
"__name__": "mixgo_zero.py"
},
"mixgo_zero_voice": {
"__require__": [
"ustruct",
"time",
"music_spk",
"es8374",
"machine",
"mixgo_zero",
"urequests"
],
"__file__": true,
"__size__": 3173,
"__name__": "mixgo_zero_voice.py"
},
"musicx": {
"__require__": [
"time",
"machine"
],
"__file__": true,
"__size__": 6947,
"__name__": "musicx.py"
},
"music_spk": {
"__require__": [
"time",
"math",
"struct"
],
"__file__": true,
"__size__": 6618,
"__name__": "music_spk.py"
},
"nova_g1": {
"__require__": [
"micropython",
"mixgo_nova"
],
"__file__": true,
"__size__": 3269,
"__name__": "nova_g1.py"
},
"sant_bot": {
"__require__": [
"time",
"micropython"
],
"__file__": true,
"__size__": 5065,
"__name__": "sant_bot.py"
},
"sant_g2": {
"__require__": [
"gc",
"machine",
"rc522",
"cbr817"
],
"__file__": true,
"__size__": 729,
"__name__": "sant_g2.py"
},
"sant_gx": {
"__require__": [
"gc",
"machine",
"rc522",
"cbr817"
],
"__file__": true,
"__size__": 731,
"__name__": "sant_gx.py"
},
"sdcard": {
"__require__": [
"time",
"machine",
"micropython"
],
"__file__": true,
"__size__": 8557,
"__name__": "sdcard.py"
},
"st7789_bf": {
"__require__": [
"time",
"uframebuf",
"machine",
"micropython"
],
"__file__": true,
"__size__": 3191,
"__name__": "st7789_bf.py"
},
"st7789_cf": {
"__require__": [
"time",
"uframebuf",
"tftlcd"
],
"__file__": true,
"__size__": 1587,
"__name__": "st7789_cf.py"
},
"ws2812x": {
"__require__": [
"time"
],
"__file__": true,
"__size__": 1617,
"__name__": "ws2812x.py"
}
}

View File

@@ -1,21 +1,102 @@
{
"board": {
"元控青春": "micropython:esp32s3:mixgo_nova",
"元控自强": "micropython:esp32s3:mixgo_sant",
"S3_generic":"micropython:esp32s3:generic"
"元控青春": {
"key": "micropython:esp32s3:mixgo_nova",
"config": [
{
"key": "BurnSpeed",
"label": "Burn Speed",
"messageId": "MICROPYTHON_CONFIG_MESSAGE_BURN_SPEED",
"options": [
{
"key": "460800",
"label": "460800"
},
{
"key": "115200",
"label": "115200"
},
{
"key": "230400",
"label": "230400"
},
{
"key": "921600",
"label": "921600"
}
]
}
]
},
"元控自强": {
"key": "micropython:esp32s3:mixgo_sant",
"config": [
{
"key": "BurnSpeed",
"label": "Burn Speed",
"messageId": "MICROPYTHON_CONFIG_MESSAGE_BURN_SPEED",
"options": [
{
"key": "460800",
"label": "460800"
},
{
"key": "115200",
"label": "115200"
},
{
"key": "230400",
"label": "230400"
},
{
"key": "921600",
"label": "921600"
}
]
}
]
},
"S3_generic": {
"key": "micropython:esp32s3:generic",
"config": [
{
"key": "BurnSpeed",
"label": "Burn Speed",
"messageId": "MICROPYTHON_CONFIG_MESSAGE_BURN_SPEED",
"options": [
{
"key": "460800",
"label": "460800"
},
{
"key": "115200",
"label": "115200"
},
{
"key": "230400",
"label": "230400"
},
{
"key": "921600",
"label": "921600"
}
]
}
]
}
},
"language": "MicroPython",
"burn": {
"type": "command",
"portSelect": "all",
"micropython:esp32s3:mixgo_sant": {
"command": "\"{esptool}\" --chip esp32s3 --port {com} --baud 460800 --before default_reset --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32s3 --port {com} --baud 460800 --after hard_reset write_flash 0x0 \"{indexPath}/build/Mixgo_Sant_lib-v1.13.0.bin\" 0xE00000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\""
"command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Sant_lib-v1.13.0.bin\" 0xE00000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\""
},
"micropython:esp32s3:mixgo_nova": {
"command": "\"{esptool}\" --chip esp32s3 --port {com} --baud 460800 --before default_reset --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32s3 --port {com} --baud 460800 --after hard_reset write_flash 0x0 \"{indexPath}/build/Mixgo_Nova_lib-v1.21.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\""
"command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Nova_lib-v1.21.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\""
},
"micropython:esp32s3:generic": {
"command": "\"{esptool}\" --chip esp32s3 --port {com} --baud 460800 --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32s3 --port {com} --baud 460800 --after=no_reset write_flash 0x0 \"{indexPath}/build/Generic_S3_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
"command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0 \"{indexPath}/build/Generic_S3_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
}
},
"upload": {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long