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 5ff8bece44
commit f58feab58f

View File

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