Added custom firmware fields

This commit is contained in:
2026-04-11 11:52:26 +03:00
parent dc0acb585c
commit 21f7d8e6f4

View File

@@ -107,7 +107,7 @@
</div>
<div class="border-t px-2 py-1 text-sm text-white">
<div>
<div v-if="selectedProduct && selectedModel && recommendedFirmwareFilename">
<span>Classic Firmware Download</span>
<span v-if="selectedProduct && selectedModel && recommendedFirmwareFilename">: <a target="_blank" :href="`firmware/classic/latest/${recommendedFirmwareFilename}`" class="text-blue-500 hover:underline">{{ recommendedFirmwareFilename }}</a>&nbsp;</span>
</div>
@@ -123,6 +123,14 @@
<span>MicroReticulum Firmware Information</span>
<span>: <a target="_blank" :href="`${FirmwareRepoMicroReticulum}`" class="text-blue-500 hover:underline">{{ FirmwareRepoMicroReticulum }}</a></span>
</div>
<div v-if="selectedProduct && selectedModel && recommendedFirmwareFilenameCustom">
<span>Custom Firmware Download</span>
<span v-if="selectedProduct && selectedModel && recommendedFirmwareFilenameCustom">: <a target="_blank" :href="`firmware/${recommendedFirmwareFilenameCustom}`" class="text-blue-500 hover:underline">{{ recommendedFirmwareFilenameCustom }}</a>&nbsp;</span>
</div>
<div v-if="selectedProduct && selectedModel && FirmwareRepoCustom">
<span>Custom Firmware Information</span>
<span>: <a target="_blank" :href="`${FirmwareRepoCustom}`" class="text-blue-500 hover:underline">{{ FirmwareRepoCustom }}</a></span>
</div>
<div v-if="selectedProduct && selectedModel && HardwareInfo">
<span>Hardware Information</span>
<span>: <a target="_blank" :href="`${HardwareInfo}`" class="text-blue-500 hover:underline">{{ HardwareInfo }}</a></span>
@@ -1163,6 +1171,21 @@
},
},
},
{
id: ROM.MODEL_FE,
name: "Meshtastic Firmware",
firmware_filename_custom: "meshtastic/latest/meshtastic_firmware_meshadventurer-s3.zip",
firmware_repo_custom: "https://git.rns.moscow/deuxyeux/meshtastic_firmware",
hardware_info: "https://git.rns.moscow/deuxyeux/MeshAdventurer-S3",
flash_config: {
flash_size: "16MB",
flash_files: {
"0x0000": "bootloader.bin",
"0x8000": "partitions.bin",
"0x10000": "firmware.bin",
},
},
},
],
},
{
@@ -1214,9 +1237,7 @@
models: [
{
id: ROM.MODEL_FE,
name: "470-510 MHz",
},
],
name: "433 MHz",
firmware_filename_classic: "rnode_firmware_aethernode.zip",
firmware_repo_classic: "https://git.rns.moscow/deuxyeux/RNode_Firmware",
hardware_info: "https://github.com/ahedproductions/aethernode",
@@ -1226,11 +1247,27 @@
"0xe000": "rnode_firmware_aethernode.boot_app0",
"0x1000": "rnode_firmware_aethernode.bootloader",
"0x10000": "rnode_firmware_aethernode.bin",
"0x210000": "console_image.bin",
"0x8000": "rnode_firmware_aethernode.partitions",
"0x210000": "console_image.bin",
},
},
},
{
id: ROM.MODEL_FE,
name: "Meshtastic Firmware",
firmware_filename_custom: "meshtastic/latest/meshtastic_firmware_aethernode.zip",
hardware_info: "https://github.com/ahedproductions/aethernode",
flash_config: {
flash_size: "4MB",
flash_files: {
"0x1000": "bootloader.bin",
"0x8000": "partitions.bin",
"0x10000": "firmware.bin",
},
},
},
],
},
{
name: "DIY-V1",
id: ROM.PRODUCT_HMBRW,
@@ -2737,6 +2774,9 @@
recommendedFirmwareFilenameMicroReticulum() {
return this.selectedModel?.firmware_filename_microreticulum ?? this.selectedProduct?.firmware_filename_microreticulum;
},
recommendedFirmwareFilenameCustom() {
return this.selectedModel?.firmware_filename_custom ?? this.selectedProduct?.firmware_filename_custom;
},
recommendedFirmwareFilenameRTNode() {
return this.selectedModel?.firmware_filename_rtnode ?? this.selectedProduct?.firmware_filename_rtnode;
},
@@ -2746,6 +2786,9 @@
FirmwareRepoMicroReticulum() {
return this.selectedModel?.firmware_repo_microreticulum ?? this.selectedProduct?.firmware_repo_microreticulum;
},
FirmwareRepoCustom() {
return this.selectedModel?.firmware_repo_custom ?? this.selectedProduct?.firmware_repo_custom;
},
HardwareInfo() {
return this.selectedModel?.hardware_info ?? this.selectedProduct?.hardware_info;
},