From 9aa4520adacf33fbbadcfd59cd2091fd93a7e2bc Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" <5425387+Ralim@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:34:52 +1000 Subject: [PATCH] Fixup S60P bootloader size --- src/config.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index e2f62dc..4ec15ef 100644 --- a/src/config.h +++ b/src/config.h @@ -45,7 +45,7 @@ #define FLASH_BOOTLDR_SIZE_KB 17 #define FLASH_BOOTLDR_PAYLOAD_SIZE_KB 111 -#elif MODEL_TS80 || MODEL_TS80P +#elif MODEL_TS80 #define GPIO_DFU_BOOT_PORT GPIOB #define GPIO_DFU_BOOT_PIN 1 #define OLED_RESET_Pin 15 @@ -55,6 +55,17 @@ #define FLASH_BOOTLDR_PAYLOAD_SIZE_KB 112 #define OLED_FLIP +#elif MODEL_TS80P +#define GPIO_DFU_BOOT_PORT GPIOB +#define GPIO_DFU_BOOT_PIN 1 +#define OLED_RESET_Pin 15 +#define OLED_RESET_GPIO_Port GPIOA +#define FLASH_SIZE_KB 128 +#define FLASH_BOOTLDR_SIZE_KB 20 +#define FLASH_BOOTLDR_PAYLOAD_SIZE_KB 108 +#define OLED_FLIP + + #elif MODEL_MHP30 #define GPIO_DFU_BOOT_PORT GPIOA #define GPIO_DFU_BOOT_PIN 10