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,64 +0,0 @@
{
"bot51": {
"__require__": [
"uframebuf",
"micropython"
],
"__file__": true,
"__size__": 10425,
"__name__": "bot51.py"
},
"feiyi": {
"__require__": [
"time",
"gc",
"machine",
"ws2812",
"music",
"mxc6655xa",
"ltr553als",
"rc522",
"bot51",
"mmc5603"
],
"__file__": true,
"__size__": 3586,
"__name__": "feiyi.py"
},
"mixbot": {
"__require__": [
"time",
"gc",
"random",
"uframebuf",
"micropython",
"machine",
"ws2812",
"music",
"icm42670"
],
"__file__": true,
"__size__": 10967,
"__name__": "mixbot.py"
},
"mixbot_ext": {
"__require__": [
"i2cdevice",
"mixbot"
],
"__file__": true,
"__size__": 993,
"__name__": "mixbot_ext.py"
},
"rm_e1": {
"__require__": [
"time",
"gc",
"machine",
"ws2812"
],
"__file__": true,
"__size__": 4138,
"__name__": "rm_e1.py"
}
}

View File

@@ -1,21 +1,102 @@
{
"board": {
"飞乙": "micropython:esp32c3:feiyi",
"超霸大师": "micropython:esp32:mixbot",
"机器人大师": "micropython:esp32:rm_e1"
"飞乙": {
"key": "micropython:esp32c3:feiyi",
"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:esp32:mixbot",
"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:esp32:rm_e1",
"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:esp32c3:feiyi": {
"command": "\"{esptool}\" --chip esp32c3 --port {com} --baud 460800 erase_flash && \"{esptool}\" --chip esp32c3 --port {com} --baud 460800 write_flash 0x0 \"{indexPath}/build/Mixgo_FeiYi_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
"command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_FeiYi_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
},
"micropython:esp32:rm_e1": {
"command": "\"{esptool}\" --chip esp32 --port {com} --baud 460800 erase_flash && \"{esptool}\" --port {com} --baud 460800 write_flash 0x1000 \"{indexPath}/build/RM_E1_lib-v1.25.0.bin\""
"command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/RM_E1_lib-v1.25.0.bin\""
},
"micropython:esp32:mixbot": {
"command": "\"{esptool}\" --chip esp32 --port {com} --baud 460800 erase_flash && \"{esptool}\" --port {com} --baud 460800 write_flash 0x1000 \"{indexPath}/build/MixBot_lib-v1.25.0.bin\""
"command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/MixBot_lib-v1.25.0.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