mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
6ab0106af3
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).
11 lines
182 B
Plaintext
11 lines
182 B
Plaintext
|
|
MEMORY
|
|
{
|
|
FLASH_TEXT (rw) : ORIGIN = 0x00000000, LENGTH = 512K /* .text */
|
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
|
|
}
|
|
|
|
_stack_size = 2K;
|
|
|
|
INCLUDE "targets/arm.ld"
|