164 lines
5.5 KiB
JSON
164 lines
5.5 KiB
JSON
{
|
|
"board": {
|
|
"MixGo CE": {
|
|
"key": "micropython:esp32s2:mixgo_ce",
|
|
"config": [
|
|
{
|
|
"key": "BurnSpeed",
|
|
"label": "Burn Speed",
|
|
"messageId": "MICROPYTHON_CONFIG_MESSAGE_BURN_SPEED",
|
|
"options": [
|
|
{
|
|
"key": "921600",
|
|
"label": "921600"
|
|
},
|
|
{
|
|
"key": "460800",
|
|
"label": "460800"
|
|
},
|
|
{
|
|
"key": "230400",
|
|
"label": "230400"
|
|
},
|
|
{
|
|
"key": "115200",
|
|
"label": "115200"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"ESP32S2 Generic": {
|
|
"key": "micropython:esp32s2:generic",
|
|
"config": [
|
|
{
|
|
"key": "BurnSpeed",
|
|
"label": "Burn Speed",
|
|
"messageId": "MICROPYTHON_CONFIG_MESSAGE_BURN_SPEED",
|
|
"options": [
|
|
{
|
|
"key": "921600",
|
|
"label": "921600"
|
|
},
|
|
{
|
|
"key": "460800",
|
|
"label": "460800"
|
|
},
|
|
{
|
|
"key": "230400",
|
|
"label": "230400"
|
|
},
|
|
{
|
|
"key": "115200",
|
|
"label": "115200"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"language": "MicroPython",
|
|
"burn": {
|
|
"type": "command",
|
|
"portSelect": "all",
|
|
"micropython:esp32s2:mixgo_ce": {
|
|
"command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"",
|
|
"special": [
|
|
{
|
|
"name": "Default",
|
|
"command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
|
|
},
|
|
{
|
|
"name": "ESP-AT-mode",
|
|
"command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\""
|
|
}
|
|
]
|
|
},
|
|
"micropython:esp32s2:generic": {
|
|
"command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"",
|
|
"special": [
|
|
{
|
|
"name": "Default",
|
|
"command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\""
|
|
},
|
|
{
|
|
"name": "ESP-AT-mode",
|
|
"command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"upload": {
|
|
"type": "command",
|
|
"portSelect": "all",
|
|
"libPath": [
|
|
"{indexPath}/build/lib",
|
|
"{indexPath}/../micropython/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": true,
|
|
"dtr": true
|
|
},
|
|
"lib": {
|
|
"mixly": {
|
|
"url": [
|
|
"http://download.mixlylibs.cloud/mixly3-packages/cloud-libs/micropython_esp32s2/libs.json"
|
|
]
|
|
}
|
|
},
|
|
"pythonToBlockly": false,
|
|
"web": {
|
|
"devices": {
|
|
"serial": true,
|
|
"hid": false,
|
|
"usb": false
|
|
},
|
|
"burn": {
|
|
"erase": true,
|
|
"micropython:esp32s2:mixgo_ce": {
|
|
"binFile": [
|
|
{
|
|
"offset": "0x1000",
|
|
"path": "./build/Mixgo_CE_lib-v1.25.0.bin"
|
|
}, {
|
|
"offset": "0x3A0000",
|
|
"path": "../micropython/build/HZK12.bin"
|
|
}
|
|
]
|
|
},
|
|
"micropython:esp32s2:generic": {
|
|
"binFile": [
|
|
{
|
|
"offset": "0x1000",
|
|
"path": "./build/Generic_S2_lib-v1.25.0.bin"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"upload": {
|
|
"reset": []
|
|
}
|
|
}
|
|
}
|