相关代码 |
|
-o led.out -m led.map MEMORY { PAGE 0: IPROG: origin = 0x4000, len = 0x1000 /*片外的RAM*/ PAGE 1: RAMB2: origin = 0x800, len = 0x3800 /*片内RAM,用做数据区*/ } SECTIONS { .vector: {} > IPROG PAGE 0 .text: {} > IPROG PAGE 0 .cinit: {} > IPROG PAGE 0 .switch: {} > IPROG PAGE 0 .stack: {} > RAMB2 PAGE 1 .data: {} > RAMB2 PAGE 1 .bss: {} > RAMB2 PAGE 1 .sysmem: {} > RAMB2 PAGE 1 }
相关资源 |
|