summaryrefslogtreecommitdiff
path: root/n/avr/modules/uart/test_uart.c
diff options
context:
space:
mode:
authorschodet2005-07-05 18:39:06 +0000
committerschodet2005-07-05 18:39:06 +0000
commitdc1a4f2bdbb5723fd0b5a19aa533211b34c06adb (patch)
tree06ecafe7e040e62a379497b3bd386d171f6e14da /n/avr/modules/uart/test_uart.c
parent8837b88c9d9cce383fd1e3467abadef51cbc5b1c (diff)
Fix: echo sur l'uart host.
Add: mode de compilation de test. Add: erreurs à la termios. Fix: détails...
Diffstat (limited to 'n/avr/modules/uart/test_uart.c')
-rw-r--r--n/avr/modules/uart/test_uart.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/n/avr/modules/uart/test_uart.c b/n/avr/modules/uart/test_uart.c
deleted file mode 100644
index 9ef7e7e..0000000
--- a/n/avr/modules/uart/test_uart.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* test_uart.c */
-/* avr.uart - UART AVR module. {{{
- *
- * Copyright (C) 2005 Nicolas Schodet
- *
- * Robot APB Team/Efrei 2006.
- * Web: http://assos.efrei.fr/robot/
- * Email: robot AT efrei DOT fr
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * }}} */
-#include "modules/uart/uart.h"
-
-//#include <avr/interrupt.h>
-
-/* +AutoDec */
-/* -AutoDec */
-
-int
-main (void)
-{
- //sei ();
- uart0_init ();
- uart0_putc ('N');
- uart0_putc ('i');
- uart0_putc ('!');
- uart0_putc ('\r');
- while (1)
- uart0_putc (uart0_getc ());
-}