modified to incorporate printf routine

This commit is contained in:
Markus Fröschle
2012-10-25 16:38:45 +00:00
parent 890327db71
commit debbe56a4f
7 changed files with 32 additions and 103 deletions

View File

@@ -76,6 +76,8 @@ SECTIONS {
objs/BaS.o(.text)
/* put other routines into the same segment (RAM) as BaS.o */
objs/sd_card_asm.o(.text)
_printf_before_copy = . - (ADDR(.bas) - LOADADDR(.bas));
_printf_after_copy = ABSOLUTE(.);
objs/printf.o(.text)
objs/printf_helper.o(.text)
objs/sd_card.o(.text)
@@ -86,6 +88,7 @@ SECTIONS {
objs/illegal_instruction.o(.text)
*(.data)
*(.bss)
_bas_end = ABSOLUTE(.);
} > ram