mirror of
https://github.com/crosspoint-reader/xteink-flasher.git
synced 2026-04-29 10:25:18 -07:00
Update chinese firmware to 3.1.5
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ export default function Home() {
|
||||
onClick={actions.flashChineseFirmware}
|
||||
disabled={isRunning}
|
||||
>
|
||||
Flash Chinese firmware (3.1.4)
|
||||
Flash Chinese firmware (3.1.5)
|
||||
</Button>
|
||||
<Button
|
||||
variant="subtle"
|
||||
|
||||
@@ -87,7 +87,7 @@ export function useEspOperations() {
|
||||
const flashEnglishFirmware = async () =>
|
||||
flashRemoteFirmware(() => getOfficialFirmware('3.1.1-EN'));
|
||||
const flashChineseFirmware = async () =>
|
||||
flashRemoteFirmware(() => getOfficialFirmware('3.1.4-CH'));
|
||||
flashRemoteFirmware(() => getOfficialFirmware('3.1.5-CH'));
|
||||
const flashCrossPointFirmware = async () =>
|
||||
flashRemoteFirmware(() => getCommunityFirmware('CrossPoint'));
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
const officialFirmwareUrls = {
|
||||
'3.1.1-EN':
|
||||
'http://gotaserver.xteink.com/api/download/ESP32C3/V3.1.1/V3.1.1-EN.bin',
|
||||
'3.1.4-CH':
|
||||
'http://47.122.74.33:5000/api/download/ESP32C3/V3.1.4/V3.1.4-CH-X4.bin',
|
||||
'3.1.5-CH':
|
||||
'http://47.122.74.33:5000/api/download/ESP32C3/V3.1.5/V3.1.5_2-CH-X4.bin',
|
||||
};
|
||||
|
||||
export async function getOfficialFirmware(
|
||||
|
||||
Reference in New Issue
Block a user