Skip to content

Commit 32c4cb7

Browse files
committed
Reverted target.h to default configuration
1 parent 6f203a8 commit 32c4cb7

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

include/target.h

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
#define FLASH_DEV_NAME "flash"
55
#define FLASH_ALIGN 4
66

7-
#define FLASH_AREA_IMAGE_0_OFFSET 0x2f000
8-
#define FLASH_AREA_IMAGE_0_SIZE 0x28000
9-
/* Unused page 0x57000:0x58000 */
10-
#define FLASH_AREA_IMAGE_1_OFFSET 0x58000
11-
#define FLASH_AREA_IMAGE_1_SIZE 0x28000
12-
#define FLASH_AREA_IMAGE_NO_SCRATCH
13-
//#define FLASH_AREA_IMAGE_SCRATCH_OFFSET 0x6f000
14-
//#define FLASH_AREA_IMAGE_SCRATCH_SIZE 0x11000
7+
/* Example flash partitioning.
8+
* Ensure that your firmware entry point is
9+
* at FLASH_AREA_IMAGE_0_OFFSET + 0x100
10+
*/
11+
#define FLASH_AREA_IMAGE_0_OFFSET 0x20000
12+
#define FLASH_AREA_IMAGE_0_SIZE 0x20000
13+
#define FLASH_AREA_IMAGE_1_OFFSET 0x40000
14+
#define FLASH_AREA_IMAGE_1_SIZE 0x20000
15+
#define FLASH_AREA_IMAGE_SCRATCH_OFFSET 0x60000
16+
#define FLASH_AREA_IMAGE_SCRATCH_SIZE 0x20000
1517

1618
/*
1719
* Sanity check the target support.

0 commit comments

Comments
 (0)