From 1eaf901c488db2792d5434fd4c47244c0989aee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Rivi=C3=A8re?= Date: Mon, 12 Nov 2012 13:47:02 +0000 Subject: [PATCH] Moved all __BAS_* defines to the same place. --- bas.lk.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bas.lk.in b/bas.lk.in index 2ad9bb5..b0ddb3c 100644 --- a/bas.lk.in +++ b/bas.lk.in @@ -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.