From cc7afbbb54d2b66cc3a89f2748c85fc632634d1f Mon Sep 17 00:00:00 2001 From: Alex Evans <715855+mmalex@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:01:15 +0000 Subject: work on build tooling to choose a golden bootloader (dubbed, v1.04) and then make a BOOTLOAD.UF2 that actually encompasses latest firmware and the golden bootloader --- sw/Core/Src/webusb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sw/Core/Src/webusb.h') diff --git a/sw/Core/Src/webusb.h b/sw/Core/Src/webusb.h index 3405de5..495acd7 100755 --- a/sw/Core/Src/webusb.h +++ b/sw/Core/Src/webusb.h @@ -51,6 +51,7 @@ typedef struct WebUSBHeader { // 10 byte header u16 len; } WebUSBHeader; const static u8 wu_magic[4] = { 0xf3,0x0f,0xab,0xca }; // we expect magic to be these +const static u8 wu_magic_ext[4] = { 0xf4,0x1f,0xcb,0xdb }; // we expect magic to be these #define WEB_USB_TIMEOUT 500 enum { // state machine ticks thru these in order, more or less WU_MAGIC0, -- cgit v1.2.3