]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - config.h
Grøstl in large (384 & 512 bit); warning: freaking linker
[avr-crypto-lib.git] / config.h
index 00d10efa607bdc03250985a29df82e8fd7a64c8f..20af8455e3b783400513d67074d945d2d8c61f09 100644 (file)
--- a/config.h
+++ b/config.h
@@ -19,8 +19,8 @@
 #ifndef __CONFIG_H__
 #define __CONFIG_H__
 #include <avr/io.h>
-#define F_CPU 20000000
-// #define F_CPU 16000000         /* Oszillator-Frequenz in Hz */
+// #define F_CPU 20000000
+ #define F_CPU 16000000         /* Oszillator-Frequenz in Hz */
 // #define F_CPU 14745600
 
 
 /* uart.[ch] defines */
 #define UART_INTERRUPT 1
 #define UART_BAUD_RATE 38400
-#define UART_RXBUFSIZE 16
-#define UART_TXBUFSIZE 16
+#define UART_RXBUFSIZE 64
+#define UART_TXBUFSIZE 64
 #define UART_LINE_BUFFER_SIZE 40
+#define UART_XON_XOFF
+#define UART_XON_XOFF_THRESHOLD_1 (UART_RXBUFSIZE - 24)
+#define UART_XON_XOFF_THRESHOLD_2 (UART_RXBUFSIZE - 60)
+
 #undef UART_LEDS
 /*
 #define UART_HWFLOWCONTROL