Skip to content

Commit 2851b7c

Browse files
committed
move USER_FLASH_END to not overlap BLE PeerMgr storage
1 parent 2fde336 commit 2851b7c

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

readme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
230305 - v3 - move USER_FLASH_END so we don't trash fstorage (ble peer)

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void usb_teardown(void);
8787
#include "dfu_qspi.h"
8888
#include "dfu_uart.h"
8989

90-
#define BOOTLOADER_VERSION 2
90+
#define BOOTLOADER_VERSION 3
9191
#define BOOTLOADER_VER_MEM 0x200041D0
9292

9393
//--------------------------------------------------------------------+

src/usb/uf2/uf2cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
// Application Address Space
2424
#define USER_FLASH_START MBR_SIZE // skip MBR included in SD hex
25-
#define USER_FLASH_END 0xF2000 // MODDABLE was 0xAD000
25+
#define USER_FLASH_END 0xEF000 // MODDABLE was 0xAD000
2626

2727
// Bootloader start address
2828
#define BOOTLOADER_ADDR_START BOOTLOADER_REGION_START

0 commit comments

Comments
 (0)