mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
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:
committed by
Ron Evans
parent
e690ff0d8c
commit
6ab0106af3
@@ -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
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user