Skip to content

Commit

Permalink
Fixup S60P bootloader size
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim authored Apr 8, 2024
1 parent 87a9996 commit 9aa4520
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9aa4520

Please sign in to comment.