Skip to content

Commit 3024d14

Browse files
committed
1) Change target device to STM32F103CBT6 (128KB)
2) Check STORAGE_BLK_NBR and STORAGE_BLK_SIZ
1 parent 27fcd7b commit 3024d14

File tree

5 files changed

+1314
-1308
lines changed

5 files changed

+1314
-1308
lines changed

Inc/btldr_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
1616
#include <stm32f1xx.h>
1717

1818
// STM32F103C8T6 - 64KB Flash Size
19-
#define DEV_FLASH_SIZE (64*1024)
19+
//#define DEV_FLASH_SIZE (64*1024)
2020

2121
// STM32F103CBT6 - 128KB Flash Size
22-
//#define DEV_FLASH_SIZE (128*1024)
22+
#define DEV_FLASH_SIZE (128*1024)
2323

2424

2525
#define APP_ADDR (FLASH_BASE + 0x4000)
-1.36 KB
Binary file not shown.

0 commit comments

Comments
 (0)