integrated printf routines. Only tested yet for "before copy"-case (which is more difficult than afterwards).

This commit is contained in:
Markus Fröschle
2012-10-25 18:12:16 +00:00
parent debbe56a4f
commit e6ffd026fd
7 changed files with 188 additions and 175 deletions

View File

@@ -76,9 +76,9 @@ 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)
_xprintf_before_copy = _xprintf - (_BaS - LOADADDR(.bas));
_xprintf_after_copy = _xprintf;
objs/bas_printf.o(.text)
objs/printf_helper.o(.text)
objs/sd_card.o(.text)
objs/mmu.o(.text)