From deca11a7e7be5605c387aa2cd577e22925854ff8 Mon Sep 17 00:00:00 2001 From: bg Date: Tue, 30 Dec 2014 14:12:59 +0100 Subject: [PATCH] adjusting test system debug uart reference --- test_src/config.h | 12 +++++++++++- test_src/debug.c | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/test_src/config.h b/test_src/config.h index 0a985df..81cec07 100644 --- a/test_src/config.h +++ b/test_src/config.h @@ -27,7 +27,17 @@ #include "uart_defs.h" + +#ifndef UART_NI +#define UART_NI 0 +#endif + +#if UART_NI == 0 #define UART0_I 1 +#else +#define UART0_NI 1 +#endif + #ifndef UART0_BAUD_RATE #define UART0_BAUD_RATE 115200 #endif @@ -36,7 +46,7 @@ #define UART0_DATABITS UART_DATABITS_8 #define UART0_RXBUFFER_SIZE 255 #define UART0_TXBUFFER_SIZE 120 -#define UART0_SWFLOWCTRL 1 +#define UART0_SWFLOWCTRL 0 #define UART0_THRESH_LOW 0 #define UART0_THRESH_HIGH 32 diff --git a/test_src/debug.c b/test_src/debug.c index 797fd2e..799ccdf 100644 --- a/test_src/debug.c +++ b/test_src/debug.c @@ -24,7 +24,7 @@ #include "config.h" #if DEBUG_METHOD == uart - #include "uart_i.h" + #include "uart.h" #else #error "Your DEBUG methode is not suported!" #endif -- 2.39.2