X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Farm.git;a=blobdiff_plain;f=betty%2Flpc2220_rom.ld;h=1109baa79ea4e7d67476f65e50c04f9955f90e66;hp=11fa38dfddc15d4718420d4cd7a9e675365f4759;hb=2cbc6d2f18a38237fcd1df2ef67ba315af080f03;hpb=0f5679e8fd5b03c53a332a94f85008b0494fbd2e diff --git a/betty/lpc2220_rom.ld b/betty/lpc2220_rom.ld index 11fa38d..1109baa 100644 --- a/betty/lpc2220_rom.ld +++ b/betty/lpc2220_rom.ld @@ -8,9 +8,9 @@ /* memory definitions */ MEMORY { - FLASH_BANK0 (rx) : ORIGIN=0x80000000, LENGTH=0x00100000 - FLASH_BANK2 (rx) : ORIGIN=0x82000000, LENGTH=0x00100000 - RAM (rw) : ORIGIN=0x40000000, LENGTH=0x00010000 + FLASH_BANK0 (rx) : ORIGIN = 0x80000000, LENGTH = 0x00100000 + FLASH_BANK2 (rx) : ORIGIN = 0x82000000, LENGTH = 0x00100000 + RAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00010000 } /* section definitions */ @@ -19,18 +19,18 @@ SECTIONS { /* startup and user code (.text) */ .text : { - startup.o(.text) // startup code - *(.text) // our code - *(.glue_7) // glue code - *(.glue_7t) // glue code + startup.o(.text) + *(.text) + *(.glue_7) + *(.glue_7t) } > FLASH_BANK0 - . = ALIGN(4) + . = ALIGN(4); /* read only data */ - .rodata : { *(.rodata) } > FLASH_BANK0 + .rodata : { *(.rodata*) } > FLASH_BANK0 - . = ALIGN(4) + . = ALIGN(4); /* initialized data */ .data : { *(.data) } > RAM