flasher_stub/ld/stub_32h2_beta_1.ld
raw| 1 | MEMORY { |
| 2 | iram : org = 0x40380000, len = 0x4000 |
| 3 | dram : org = 0x3FC84000, len = 0x18000 |
| 4 | } |
| 5 | |
| 6 | ENTRY(stub_main) |
| 7 | |
| 8 | SECTIONS { |
| 9 | .text : ALIGN(4) { |
| 10 | *(.literal) |
| 11 | *(.text .text.*) |
| 12 | } > iram |
| 13 | |
| 14 | .bss : ALIGN(4) { |
| 15 | _bss_start = ABSOLUTE(.); |
| 16 | *(.bss) |
| 17 | _bss_end = ABSOLUTE(.); |
| 18 | } > dram |
| 19 | |
| 20 | .data : ALIGN(4) { |
| 21 | *(.data) |
| 22 | *(.rodata .rodata.*) |
| 23 | } > dram |
| 24 | } |
| 25 | |
| 26 | INCLUDE "rom_32h2_beta_1.ld" |