Skip to content

Commit 581a507

Browse files
committed
fix(kakuteh7-wing): fix BOARD_FLASH_SECTORS to protect param sectors
Set BOARD_FLASH_SECTORS to 13 so the bootloader does not erase the parameter sectors (14 and 15) during firmware updates. Previously set to 14 which allowed the bootloader to erase sector 14, potentially wiping stored parameters.
1 parent ad895f7 commit 581a507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/holybro/kakuteh7-wing/src/hw_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
#define INTERFACE_USART_CONFIG "/dev/ttyS0,115200"
7373
#define BOOT_DELAY_ADDRESS 0x000001a0
7474
#define BOARD_TYPE 1105
75-
#define BOARD_FLASH_SECTORS (14)
75+
#define BOARD_FLASH_SECTORS (13)
7676
#define BOARD_FLASH_SIZE (16 * 128 * 1024)
7777
#define APP_RESERVATION_SIZE (2 * 128 * 1024)
7878

0 commit comments

Comments
 (0)