rp2040

RP2040 Programming without SDK
Log | Files | Refs

commit 7ac9156b7d604721b72e84dbe8496c05b5a96113
parent 7a0dd65c0fc9cdbdaf490c6d18a8232785a99910
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Sun,  5 Mar 2023 10:22:54 +0900

delete redundant codes

Diffstat:
Mmemmap.ld | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/memmap.ld b/memmap.ld @@ -1,21 +1,15 @@ MEMORY { FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2048k - RAM(rwx) : ORIGIN = 0x20000000, LENGTH = 256k } ENTRY(reset) SECTIONS { - /* memmap_default.ld in pico-sdk */ .boot2 : { - __boot2_start__ = .; - KEEP(*(.boot2)) - __boot2_end__ = .; + boot2/*(.boot2) } > FLASH - ASSERT(__boot2_end__ - __boot2_start__ == 256, - "ERROR: Pico second stage bootloader must be 256 bytes in size") .text : { *(.vectors)