Moved all __BAS_* defines to the same place.

This commit is contained in:
Vincent Rivière
2012-11-12 13:47:02 +00:00
parent 7b64a5664f
commit 1eaf901c48

View File

@@ -24,7 +24,9 @@ SECTIONS {
__FASTRAM_END = __BAS_IN_RAM; __FASTRAM_END = __BAS_IN_RAM;
/* BaS */ /* BaS */
__BAS_LMA = LOADADDR(.bas);
__BAS_IN_RAM = 0x1FE00000; __BAS_IN_RAM = 0x1FE00000;
__BAS_SIZE = SIZEOF(.bas);
/* Flash components */ /* Flash components */
__FIRETOS = 0xe0400000; __FIRETOS = 0xe0400000;
@@ -114,9 +116,6 @@ SECTIONS {
. = ALIGN(16); . = ALIGN(16);
} > ram } > ram
__BAS_LMA = LOADADDR(.bas);
__BAS_SIZE = SIZEOF(.bas);
/* The following labels are BaS routines in the flash, /* The following labels are BaS routines in the flash,
* before they are copied to their final location in the RAM. * before they are copied to their final location in the RAM.
* This is to allow using them before and after the actual copy. * This is to allow using them before and after the actual copy.