From: bg Date: Tue, 30 Dec 2014 13:12:59 +0000 (+0100) Subject: adjusting test system debug uart reference X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=commitdiff_plain;h=deca11a7e7be5605c387aa2cd577e22925854ff8;ds=sidebyside adjusting test system debug uart reference --- 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