diff --git a/BaS_GNU/bas.lk.in b/BaS_GNU/bas.lk.in index 2ad9bb5..b0ddb3c 100644 --- a/BaS_GNU/bas.lk.in +++ b/BaS_GNU/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.