Files
mixly3-server/mixly/boards/default/micropython_educore/config.json

143 lines
4.7 KiB
JSON

{
"board": {
"mpython": {
"key": "micropython:educore:educore",
"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:educore:educore": {
"command": "{esptool} --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"",
"special": [
{
"name": "Firmware No Ble With SSL",
"command": "{esptool} --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
},
{
"name": "Firmware With Ble No SSL",
"command": "{esptool} --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib_ble-v1.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
}
]
}
},
"upload": {
"type": "command",
"portSelect": "all",
"libPath": [
"{indexPath}/../micropython/build/lib",
"{indexPath}/build/lib"
],
"command": "{ampy} -p {com} -d 1 -r \"{reset}\" put \"{indexPath}/build/upload\"",
"filePath": "{indexPath}/build/upload/main.py",
"copyLib": false,
"reset": []
},
"nav": {
"burn": true,
"upload": true,
"save": {
"py": true
},
"setting": {
"thirdPartyLibrary": true
}
},
"serial": {
"ctrlCBtn": true,
"ctrlDBtn": true,
"baudRates": 115200,
"yMax": 100,
"yMin": 0,
"pointNum": 100,
"rts": false,
"dtr": false
},
"lib": {
"mixly": {
"url": [
"http://download.mixlylibs.cloud/mixly3-packages/cloud-libs/micropython_esp32c2/libs.json"
]
}
},
"pythonToBlockly": false,
"web": {
"devices": {
"serial": true,
"hid": true,
"usb": false
},
"burn": {
"erase": true,
"micropython:educore:educore": {
"binFile": [
{
"offset": "0x0000",
"path": "./build/Mixgo_Mini_lib-v1.23.0.bin"
},
{
"offset": "0x3A0000",
"path": "../micropython/build/HZK12.bin"
}
],
"special": [
{
"name": "Firmware No Ble With SSL",
"binFile": [
{
"offset": "0x0000",
"path": "./build/Mixgo_Mini_lib-v1.23.0.bin"
},
{
"offset": "0x3A0000",
"path": "../micropython/build/HZK12.bin"
}
]
},
{
"name": "Firmware With Ble No SSL",
"binFile": [
{
"offset": "0x0000",
"path": "./build/Mixgo_Mini_lib_ble-v1.23.0.bin"
},
{
"offset": "0x3A0000",
"path": "../micropython/build/HZK12.bin"
}
]
}
]
}
},
"upload": {
"reset": []
}
}
}