更新MINI的固件,使用新方法释放内存

This commit is contained in:
dahanzimin
2025-08-13 12:39:28 +08:00
parent 5af655ec47
commit f57aea63cb
4 changed files with 4 additions and 21 deletions

View File

@@ -11,16 +11,12 @@
"command": "\"{esptool}\" --chip esp32c2 --port {com} --baud 115200 --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32c2 --port {com} --baud 460800 --after=no_reset_stub write_flash 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud 115200 --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32c2 --port {com} --baud 460800 --after=no_reset_stub write_flash 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"",
"special": [ "special": [
{ {
"name": "Firmware No Ble With SSL", "name": "Firmware With New Means",
"command": "\"{esptool}\" --chip esp32c2 --port {com} --baud 115200 --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32c2 --port {com} --baud 460800 --after=no_reset_stub write_flash 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud 115200 --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32c2 --port {com} --baud 460800 --after=no_reset_stub write_flash 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
}, },
{
"name": "Firmware With Ble No SSL",
"command": "\"{esptool}\" --chip esp32c2 --port {com} --baud 115200 --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32c2 --port {com} --baud 460800 --after=no_reset_stub write_flash 0x0 \"{indexPath}/build/Mixgo_Mini_lib_ble-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
},
{ {
"name": "Firmware With V2.0 Board", "name": "Firmware With V2.0 Board",
"command": "\"{esptool}\" --chip esp32c2 --port {com} --baud 115200 --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32c2 --port {com} --baud 460800 --after=no_reset_stub write_flash 0x0 \"{indexPath}/build/Mixgo_Mini_lib_ble-V2-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud 115200 --after=no_reset_stub erase_flash && \"{esptool}\" --chip esp32c2 --port {com} --baud 460800 --after=no_reset_stub write_flash 0x0 \"{indexPath}/build/Mixgo_Mini_v2_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\""
} }
] ]
}, },
@@ -110,7 +106,7 @@
], ],
"special": [ "special": [
{ {
"name": "Firmware No Ble With SSL", "name": "Firmware With New Means",
"binFile": [ "binFile": [
{ {
"offset": "0x0000", "offset": "0x0000",
@@ -122,25 +118,12 @@
} }
] ]
}, },
{
"name": "Firmware With Ble No SSL",
"binFile": [
{
"offset": "0x0000",
"path": "./build/Mixgo_Mini_lib_ble-v1.25.0.bin"
},
{
"offset": "0x3A0000",
"path": "../micropython/build/HZK12.bin"
}
]
},
{ {
"name": "Firmware With V2.0 Board", "name": "Firmware With V2.0 Board",
"binFile": [ "binFile": [
{ {
"offset": "0x0000", "offset": "0x0000",
"path": "./build/Mixgo_Mini_lib_ble-V2-v1.25.0.bin" "path": "./build/Mixgo_Mini_v2_lib-v1.25.0.bin"
}, },
{ {
"offset": "0x3A0000", "offset": "0x3A0000",