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).
Этот коммит содержится в:
Ayke van Laethem 2020-10-20 13:12:38 +02:00 коммит произвёл Ron Evans
родитель e690ff0d8c
коммит 6ab0106af3
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1,7 +1,7 @@
MEMORY 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 RAM (xrw) : ORIGIN = 0x20000000 + 0x000039c0, LENGTH = 64K - 0x000039c0
} }

Просмотреть файл

@ -1,7 +1,7 @@
MEMORY MEMORY
{ {
FLASH_TEXT (rw) : ORIGIN = 0x00000000, LENGTH = 256K /* .text */ FLASH_TEXT (rw) : ORIGIN = 0x00000000, LENGTH = 512K /* .text */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
} }