adjusting test system debug uart reference

This commit is contained in:
bg nerilex 2014-12-30 14:12:59 +01:00
parent 22985930c9
commit deca11a7e7
2 changed files with 12 additions and 2 deletions

View File

@ -27,7 +27,17 @@
#include "uart_defs.h" #include "uart_defs.h"
#ifndef UART_NI
#define UART_NI 0
#endif
#if UART_NI == 0
#define UART0_I 1 #define UART0_I 1
#else
#define UART0_NI 1
#endif
#ifndef UART0_BAUD_RATE #ifndef UART0_BAUD_RATE
#define UART0_BAUD_RATE 115200 #define UART0_BAUD_RATE 115200
#endif #endif
@ -36,7 +46,7 @@
#define UART0_DATABITS UART_DATABITS_8 #define UART0_DATABITS UART_DATABITS_8
#define UART0_RXBUFFER_SIZE 255 #define UART0_RXBUFFER_SIZE 255
#define UART0_TXBUFFER_SIZE 120 #define UART0_TXBUFFER_SIZE 120
#define UART0_SWFLOWCTRL 1 #define UART0_SWFLOWCTRL 0
#define UART0_THRESH_LOW 0 #define UART0_THRESH_LOW 0
#define UART0_THRESH_HIGH 32 #define UART0_THRESH_HIGH 32

View File

@ -24,7 +24,7 @@
#include "config.h" #include "config.h"
#if DEBUG_METHOD == uart #if DEBUG_METHOD == uart
#include "uart_i.h" #include "uart.h"
#else #else
#error "Your DEBUG methode is not suported!" #error "Your DEBUG methode is not suported!"
#endif #endif