nrf: fix nrf52832 flash size

I've accidentally specified just half of the available flash in the
linker script. This change fixes that.

There is in fact a 256kB version of the nrf52832, but it also has 32kB
of RAM so if you had used that it wouldn't actually work right now.
Also, extending the available flash should not affect existing programs
(as I haven't seen any run into size limitations yet).
This commit is contained in:
Ayke van Laethem
2020-10-20 13:12:38 +02:00
committed by Ron Evans
parent e690ff0d8c
commit 6ab0106af3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0x00000000 + 0x00026000 , LENGTH = 256K - 0x00026000 /* .text */
FLASH_TEXT (rw) : ORIGIN = 0x00000000 + 0x00026000 , LENGTH = 512K - 0x00026000 /* .text */
RAM (xrw) : ORIGIN = 0x20000000 + 0x000039c0, LENGTH = 64K - 0x000039c0
}
+1 -1
View File
@@ -1,7 +1,7 @@
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0x00000000, LENGTH = 256K /* .text */
FLASH_TEXT (rw) : ORIGIN = 0x00000000, LENGTH = 512K /* .text */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
}