From 873922d98fea19f872ed8c5c79a20ed575ccff44 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 25 May 2023 23:07:47 +0100 Subject: Implement UF2 device type id extension tag (#21029) --- util/uf2conv.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'util') diff --git a/util/uf2conv.py b/util/uf2conv.py index 52d3861cba..578b2b4977 100755 --- a/util/uf2conv.py +++ b/util/uf2conv.py @@ -151,10 +151,15 @@ class Block: flags = 0x0 if familyid: flags |= 0x2000 + if devicetype: + flags |= 0x8000 hd = struct.pack("