Skip to content

Commit

Permalink
1) Change target device to STM32F103CBT6 (128KB)
Browse files Browse the repository at this point in the history
2) Check STORAGE_BLK_NBR and STORAGE_BLK_SIZ
  • Loading branch information
sfyip committed Jan 12, 2022
1 parent 27fcd7b commit 3024d14
Show file tree
Hide file tree
Showing 5 changed files with 1,314 additions and 1,308 deletions.
4 changes: 2 additions & 2 deletions Inc/btldr_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#include <stm32f1xx.h>

// STM32F103C8T6 - 64KB Flash Size
#define DEV_FLASH_SIZE (64*1024)
//#define DEV_FLASH_SIZE (64*1024)

// STM32F103CBT6 - 128KB Flash Size
//#define DEV_FLASH_SIZE (128*1024)
#define DEV_FLASH_SIZE (128*1024)


#define APP_ADDR (FLASH_BASE + 0x4000)
Expand Down
Binary file modified MDK-ARM/STM32_MSD_BTLDR/STM32_MSD_BTLDR.axf
Binary file not shown.
Loading

0 comments on commit 3024d14

Please sign in to comment.