From 0b7837cccf9fa6f7db64ef49c81144a836aa8dc1 Mon Sep 17 00:00:00 2001 From: FARHANG Date: Thu, 10 Sep 2026 00:47:47 -0400 Subject: [PATCH] fix(boards/matek-h743): match bootloader BOARD_TYPE to Matek H743 board ID PX4-Bootloader/board_types.txt assigns 1013 to Matek H743 and 139 to Durandal. hw_config.h's BOARD_TYPE was hardcoded to 139 (Durandal's ID) on both h743 and h743-mini, causing QGroundControl to reject flashing with a "board ID 1013 != 139" mismatch. Fixes #27731 Signed-off-by: FARHANG --- boards/matek/h743-mini/src/hw_config.h | 2 +- boards/matek/h743/src/hw_config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/matek/h743-mini/src/hw_config.h b/boards/matek/h743-mini/src/hw_config.h index b5da75f3868..0a880d1c89b 100644 --- a/boards/matek/h743-mini/src/hw_config.h +++ b/boards/matek/h743-mini/src/hw_config.h @@ -93,7 +93,7 @@ //#define USE_VBUS_PULL_DOWN #define INTERFACE_USART 1 #define INTERFACE_USART_CONFIG "/dev/ttyS0,57600" -#define BOARD_TYPE 139 +#define BOARD_TYPE 1013 #define _FLASH_KBYTES (*(uint32_t *)0x1FF1E880) #define BOARD_FLASH_SECTORS (15) #define BOARD_FLASH_SIZE (_FLASH_KBYTES * 1024) diff --git a/boards/matek/h743/src/hw_config.h b/boards/matek/h743/src/hw_config.h index b5da75f3868..0a880d1c89b 100644 --- a/boards/matek/h743/src/hw_config.h +++ b/boards/matek/h743/src/hw_config.h @@ -93,7 +93,7 @@ //#define USE_VBUS_PULL_DOWN #define INTERFACE_USART 1 #define INTERFACE_USART_CONFIG "/dev/ttyS0,57600" -#define BOARD_TYPE 139 +#define BOARD_TYPE 1013 #define _FLASH_KBYTES (*(uint32_t *)0x1FF1E880) #define BOARD_FLASH_SECTORS (15) #define BOARD_FLASH_SIZE (_FLASH_KBYTES * 1024)