feat: restore upload jtag bitstream

This commit is contained in:
2025-05-13 21:52:58 +08:00
parent eea03f5bc8
commit 9657aacf83
7 changed files with 198 additions and 93 deletions

22
src/stores/equipments.ts Normal file
View File

@@ -0,0 +1,22 @@
import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import { isUndefined } from 'lodash';
export const useEquipments = defineStore('equipments', () => {
const jtagIPAddr = ref("127.0.0.1")
const jtagPort = ref("1234")
const jtagBitstream = ref<File | undefined>()
const remoteUpdateIPAddr = ref("127.0.0.1")
const remoteUpdatePort = ref("1234")
const remoteUpdateBitstream = ref<File | undefined>()
return {
jtagIPAddr,
jtagPort,
jtagBitstream,
remoteUpdateIPAddr,
remoteUpdatePort,
remoteUpdateBitstream,
}
})