fixed to run from flash and ram identically. Also fixed to run EmuTOS with BaS on the m5484lite

This commit is contained in:
Markus Fröschle
2013-12-07 21:16:36 +00:00
parent b61ed9608c
commit 8c39320c54
6 changed files with 19 additions and 14 deletions

View File

@@ -69,7 +69,7 @@ SECTIONS
/*
* if we compile to RAM anyway, there is no need to copy anything
*/
#if COMPILE_RAM
#ifdef COMPILE_RAM
. = ALIGN(16);
__BAS_DATA_START = .;
*(.data)
@@ -82,7 +82,7 @@ SECTIONS
*(.rodata)
*(.rodata.*)
#endif
#if COMPILE_RAM
#ifdef COMPILE_RAM
. = ALIGN(16);
_usb_buffer = .;
#endif /* COMPILE_RAM */
@@ -98,7 +98,6 @@ SECTIONS
*/
AT (ALIGN(ADDR(.text) + SIZEOF(.text), 4))
{
. = ALIGN(16);
__BAS_DATA_START = .;
*(.data)
__BAS_DATA_END = .;