FreeCalypso > hg > freecalypso-sw
changeset 994:63ea60e7fbbc
target-utils/c139-lldbg: same uart_base clean-up as in c139explore
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 30 Dec 2015 22:23:01 +0000 |
parents | d92e4aadeeb3 |
children | c22afeecbf34 |
files | target-utils/c139-lldbg/Makefile target-utils/c139-lldbg/main.c target-utils/c139-lldbg/uartbase.S |
diffstat | 3 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/target-utils/c139-lldbg/Makefile Wed Dec 30 22:12:35 2015 +0000 +++ b/target-utils/c139-lldbg/Makefile Wed Dec 30 22:23:01 2015 +0000 @@ -5,7 +5,7 @@ OBJCOPY=arm-elf-objcopy PROG= lldbg -OBJS= entry.o cmdtab.o entryinfo.o main.o mygetchar.o +OBJS= entry.o cmdtab.o entryinfo.o main.o mygetchar.o uartbase.o LIBS= ../libcommon/libcommon.a ../libprintf/libprintf.a ../libbase/libbase.a LDS= lldbg.lds
--- a/target-utils/c139-lldbg/main.c Wed Dec 30 22:12:35 2015 +0000 +++ b/target-utils/c139-lldbg/main.c Wed Dec 30 22:23:01 2015 +0000 @@ -1,11 +1,5 @@ -#include "types.h" -#include "ns16550.h" - -struct ns16550_regs *uart_base; - main() { - uart_base = (struct ns16550_regs *) 0xFFFF5800; printf("\2\2\2*Standalone Low Level Debugger entered\2"); for (;;) { putchar('>');