projects
/
avr-crypto-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2298593
)
adjusting test system debug uart reference
author
bg
<bg@nerilex.org>
Tue, 30 Dec 2014 13:12:59 +0000
(14:12 +0100)
committer
bg
<bg@nerilex.org>
Tue, 30 Dec 2014 13:12:59 +0000
(14:12 +0100)
test_src/config.h
patch
|
blob
|
history
test_src/debug.c
patch
|
blob
|
history
diff --git
a/test_src/config.h
b/test_src/config.h
index 0a985df0ed92a6b22a3f463f42bbbe7ec14593b2..81cec071b9b61b97d53976395fdd8fdf57e07d4f 100644
(file)
--- 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 797fd2e4cecce4ea3a0991ad44f6ef785e449913..799ccdf5762b499b65e504725e8b7f943bfbf2a7 100644
(file)
--- 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