mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
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 <farhang.nba@gmail.com>
(cherry picked from commit 0b7837cccf)
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
1 parent
01f0eeefa5
commit
727f5f5b5f
2 files changed
+2
-2
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user