From 0b3801d938209d29aa8a0447131fbea974fca035 Mon Sep 17 00:00:00 2001 From: Dinesh Harjani Date: Tue, 7 Jan 2025 14:01:42 +0000 Subject: [PATCH] Added "mcuboot" ContentType We're just adding the enum value here, not implementing the bootloader update (yet). Also, do not confuse the "content" to be an mcuboot [bootloader] with the bootloader being mcuboot. Though presumably they should be, if the content is an mcuboot bootloader. --- Source/McuMgrManifest.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/McuMgrManifest.swift b/Source/McuMgrManifest.swift index 2a923d9..a73e24b 100644 --- a/Source/McuMgrManifest.swift +++ b/Source/McuMgrManifest.swift @@ -178,6 +178,7 @@ public extension McuMgrManifest.File { case suitEnvelope = "suit-envelope" case bin case application + case mcuboot public var description: String { switch self { @@ -191,6 +192,8 @@ public extension McuMgrManifest.File { return "Binary" case .application: return "Application" + case .mcuboot: + return "MCUboot (Bootloader)" } } }