From f41b3c3cef8228878777e7d29c611815b2bfb846 Mon Sep 17 00:00:00 2001 From: "Vipul Gupta (@vipulgupta2048)" Date: Wed, 18 Dec 2024 15:27:50 +0530 Subject: [PATCH] prettify Signed-off-by: Vipul Gupta (@vipulgupta2048) --- src/models/device-type.ts | 82 ++++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 40 deletions(-) diff --git a/src/models/device-type.ts b/src/models/device-type.ts index 74a09198b..6c21de945 100644 --- a/src/models/device-type.ts +++ b/src/models/device-type.ts @@ -495,46 +495,48 @@ const getDeviceTypeModel = function (deps: InjectedDependenciesParam) { )); if (contract!.slug === 'jetson-orin-nano-devkit-nvme') { contract = { - "slug": "jetson-orin-nano-devkit-nvme", - "version": "1", - "type": "hw.device-type", - "aliases": [], - "name": "Nvidia Jetson Orin Nano 8GB (SD) Devkit NVME", - "assets": { - "logo": { - "url": "./jetson-orin-nano-devkit-nvme.svg", - "name": "logo" - } - }, - "data": { - "arch": "aarch64", - "hdmi": true, - "led": false, - "connectivity": { - "bluetooth": true, - "wifi": true - }, - "storage": { - "internal": true - }, - "media": { - "defaultBoot": "internal", - "altBoot": ["usb_mass_storage"] - }, - "is_private": false - }, - "partials": { - "instructions": [ - "For balenaOS versions v6.1.16 and newer, please ensure your device is running UEFI firmware version 36.3. Check and update the firmware version before proceeding.", - "For balenaOS versions older than v6.1.16, please refer to the {{name}} legacy flashing guide." - ], - "bootDeviceExternal": [ - "Insert a NVME drive in the Devkit and power up the {{name}}." - ], - "flashIndicator": ["power LED is off"], - "bootDevice": ["Power up the {{name}}. If you have a display or a debug UART cable connected to the device, a progress bar will show up while the UEFI firmware is updated. Please do not interrupt this process by turning off power or rebooting the device."] - } -} + slug: 'jetson-orin-nano-devkit-nvme', + version: '1', + type: 'hw.device-type', + aliases: [], + name: 'Nvidia Jetson Orin Nano 8GB (SD) Devkit NVME', + assets: { + logo: { + url: './jetson-orin-nano-devkit-nvme.svg', + name: 'logo', + }, + }, + data: { + arch: 'aarch64', + hdmi: true, + led: false, + connectivity: { + bluetooth: true, + wifi: true, + }, + storage: { + internal: true, + }, + media: { + defaultBoot: 'internal', + altBoot: ['usb_mass_storage'], + }, + is_private: false, + }, + partials: { + instructions: [ + 'For balenaOS versions v6.1.16 and newer, please ensure your device is running UEFI firmware version 36.3. Check and update the firmware version before proceeding.', + 'For balenaOS versions older than v6.1.16, please refer to the {{name}} legacy flashing guide.', + ], + bootDeviceExternal: [ + 'Insert a NVME drive in the Devkit and power up the {{name}}.', + ], + flashIndicator: ['power LED is off'], + bootDevice: [ + 'Power up the {{name}}. If you have a display or a debug UART cable connected to the device, a progress bar will show up while the UEFI firmware is updated. Please do not interrupt this process by turning off power or rebooting the device.', + ], + }, + }; } if (!contract?.partials) { throw new Error(