From 19d7b74ba51350797bb611faa793783dcb1f9252 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Tue, 19 Nov 2024 13:08:08 -0600 Subject: [PATCH] Add requiresDfu, partitionScheme, and RAK wismesh tap --- src/lib/resource.ts | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/lib/resource.ts b/src/lib/resource.ts index 5ee6c0f..1f646ad 100644 --- a/src/lib/resource.ts +++ b/src/lib/resource.ts @@ -8,6 +8,8 @@ export interface DeviceHardware { supportLevel?: number; images?: string[]; tags?: string[]; + requiresDfu?: boolean; + partitionScheme?: string; } export const deviceHardwareList: DeviceHardware[] = [ @@ -79,6 +81,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "LILYGO T-Echo", tags: ["LilyGo"], images: ["t-echo.svg"], + requiresDfu: true, }, { hwModel: 8, @@ -99,6 +102,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "RAK WisBlock 4631", tags: ["RAK"], images: ["rak4631.svg", "rak4631_case.svg"], + requiresDfu: true, }, { hwModel: 10, @@ -128,6 +132,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "LILYGO T-Beam Supreme", tags: ["LilyGo"], images: ["tbeam-s3-core.svg"], + requiresDfu: true, }, { hwModel: 13, @@ -169,6 +174,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 1, tags: ["LilyGo"], images: ["tlora-t3s3-v1.svg"], + requiresDfu: true, }, { hwModel: 16, @@ -180,6 +186,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "LILYGO T-LoRa T3-S3 E-Ink", tags: ["LilyGo"], images: ["tlora-t3s3-epaper.svg"], + requiresDfu: true, }, { hwModel: 17, @@ -200,6 +207,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 2, displayName: "Nano G2 Ultra", tags: ["B&Q"], + requiresDfu: true, }, { hwModel: 21, @@ -211,6 +219,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "Seeed Wio WM1110 Tracker", tags: ["Seeed"], images: ["wio-tracker-wm1110.svg"], + requiresDfu: true, }, { hwModel: 25, @@ -231,6 +240,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 2, displayName: "RAK WisBlock 11310", tags: ["RAK"], + requiresDfu: true, }, { hwModel: 29, @@ -241,6 +251,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 3, displayName: "Canary One", tags: ["Canary"], + requiresDfu: true, }, { hwModel: 30, @@ -251,6 +262,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 2, displayName: "RP2040 LoRa", tags: ["Waveshare"], + requiresDfu: true, }, { hwModel: 31, @@ -261,6 +273,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 2, displayName: "Station G2", tags: ["B&Q"], + requiresDfu: true, }, { hwModel: 39, @@ -332,6 +345,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 3, displayName: "Raspberry Pi Pico", tags: ["Raspberry Pi", "DIY"], + requiresDfu: true, }, { hwModel: 47, @@ -342,6 +356,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 3, displayName: "Raspberry Pi Pico W", tags: ["Raspberry Pi", "DIY"], + requiresDfu: true, }, { hwModel: 48, @@ -353,6 +368,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "Heltec Wireless Tracker V1.1", tags: ["Heltec"], images: ["heltec-wireless-tracker.svg"], + requiresDfu: true, }, { hwModel: 58, @@ -363,6 +379,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 3, displayName: "Heltec Wireless Tracker V1.0", images: ["heltec-wireless-tracker.svg"], + requiresDfu: true, }, { hwModel: 49, @@ -385,6 +402,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "LILYGO T-Deck", tags: ["LilyGo"], images: ["t-deck.svg"], + requiresDfu: true, }, { hwModel: 51, @@ -436,6 +454,7 @@ export const deviceHardwareList: DeviceHardware[] = [ activelySupported: true, supportLevel: 3, displayName: "unPhone", + requiresDfu: true, }, { hwModel: 48, @@ -445,6 +464,7 @@ export const deviceHardwareList: DeviceHardware[] = [ activelySupported: true, supportLevel: 3, displayName: "TrackSenger (small TFT)", + requiresDfu: true, }, { hwModel: 48, @@ -454,6 +474,7 @@ export const deviceHardwareList: DeviceHardware[] = [ activelySupported: true, supportLevel: 3, displayName: "TrackSenger (big TFT)", + requiresDfu: true, }, { hwModel: 48, @@ -473,6 +494,7 @@ export const deviceHardwareList: DeviceHardware[] = [ supportLevel: 3, displayName: "EBYTE EoRa-S3", tags: ["EByte"], + requiresDfu: true, }, { hwModel: 64, @@ -494,6 +516,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "Heltec Vision Master T190", tags: ["Heltec"], images: ["heltec-vision-master-t190.svg"], + requiresDfu: true, }, { hwModel: 67, @@ -505,6 +528,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "Heltec Vision Master E213", tags: ["Heltec"], images: ["heltec-vision-master-e213.svg"], + requiresDfu: true, }, { hwModel: 68, @@ -516,6 +540,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "Heltec Vision Master E290", tags: ["Heltec"], images: ["heltec-vision-master-e290.svg"], + requiresDfu: true, }, { hwModel: 69, @@ -527,6 +552,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "Heltec Mesh Node T114", tags: ["Heltec"], images: ["heltec-mesh-node-t114.svg", "heltec-mesh-node-t114-case.svg"], + requiresDfu: true, }, { hwModel: 70, @@ -549,6 +575,7 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "Seeed Card Tracker T1000-E", tags: ["Seeed"], images: ["tracker-t1000-e.svg"], + requiresDfu: true, }, { hwModel: 72, @@ -560,5 +587,18 @@ export const deviceHardwareList: DeviceHardware[] = [ displayName: "Seeed Xiao ESP32-S3", tags: ["Seeed"], images: ["seeed-xiao-s3.svg"], + requiresDfu: true, + }, + { + hwModel: 84, + hwModelSlug: "WISMESH_TAP", + platformioTarget: "rak_wismeshtap", + architecture: "nrf52840", + activelySupported: false, + supportLevel: 1, + displayName: "RAK WisMesh Tap", + tags: ["RAK"], + images: ["rak-wismeshtap.svg"], + requiresDfu: true, }, ];