summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarturo182 <arturo182@tlen.pl>2018-02-01 00:10:05 +0100
committerarturo182 <arturo182@tlen.pl>2018-02-02 20:31:47 +0100
commitfed9087274098ed9a5d0b26d431650cfffea9fdb (patch)
tree994e11b55a9a476651456c43f05fc5a414dd6fb7
parent616cbc6271edda8ee5141ac77f51d40345d03e77 (diff)
nrf: Add flash section for fatfs for no SD pca10056
-rw-r--r--ports/nrf/boards/nrf52840_1M_256k.ld3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/nrf/boards/nrf52840_1M_256k.ld b/ports/nrf/boards/nrf52840_1M_256k.ld
index 43b445831..7652e2557 100644
--- a/ports/nrf/boards/nrf52840_1M_256k.ld
+++ b/ports/nrf/boards/nrf52840_1M_256k.ld
@@ -7,7 +7,8 @@ MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x100000 /* entire flash, 1 MiB */
FLASH_ISR (rx) : ORIGIN = 0x00000000, LENGTH = 0x001000 /* sector 0, 4 KiB */
- FLASH_TEXT (rx) : ORIGIN = 0x00001000, LENGTH = 0x0FF000 /* 1020 KiB */
+ FLASH_TEXT (rx) : ORIGIN = 0x00001000, LENGTH = 0x0E6000 /* 920 KiB */
+ FLASH_FATFS (r) : ORIGIN = 0x000E7000, LENGTH = 0x019000 /* File system 100 KiB */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x040000 /* 256 KiB */
}