X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fconfig.h;h=0a985df0ed92a6b22a3f463f42bbbe7ec14593b2;hb=cd6cc49401a7868a8ce64125e7246a29f2632952;hp=63d190283d5a71c5aa65097424630c5c509c8e2a;hpb=a012cfa921853fb9b8bd484981ab471a9ba25ec9;p=avr-crypto-lib.git diff --git a/test_src/config.h b/test_src/config.h index 63d1902..0a985df 100644 --- a/test_src/config.h +++ b/test_src/config.h @@ -19,7 +19,7 @@ #ifndef __CONFIG_H__ #define __CONFIG_H__ #include -#define F_CPU 20000000 +//#define F_CPU 20000000 // #define F_CPU 16000000 /* oscillator-frequency in Hz */ // #define F_CPU 14745600 @@ -28,11 +28,13 @@ #include "uart_defs.h" #define UART0_I 1 +#ifndef UART0_BAUD_RATE #define UART0_BAUD_RATE 115200 +#endif #define UART0_PARATY UART_PARATY_NONE #define UART0_STOPBITS UART_STOPBITS_1 #define UART0_DATABITS UART_DATABITS_8 -#define UART0_RXBUFFER_SIZE 120 +#define UART0_RXBUFFER_SIZE 255 #define UART0_TXBUFFER_SIZE 120 #define UART0_SWFLOWCTRL 1 #define UART0_THRESH_LOW 0