projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ili9225 lcd driver: remove backlight macros, board dependent stuff.
[bertos.git]
/
bertos
/
cpu
/
avr
/
drv
/
ser_avr.h
diff --git
a/bertos/cpu/avr/drv/ser_avr.h
b/bertos/cpu/avr/drv/ser_avr.h
index 5f4e8f6a39a1314d33b310ca988f47678c2f4a3f..36d3a6f8fc04f766f64f531640b8f55108f12831 100644
(file)
--- a/
bertos/cpu/avr/drv/ser_avr.h
+++ b/
bertos/cpu/avr/drv/ser_avr.h
@@
-30,7
+30,6
@@
*
* -->
*
*
* -->
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
* \author Luca Ottaviano <lottaviano@develer.com>
*
* \author Daniele Basile <asterix@develer.com>
* \author Luca Ottaviano <lottaviano@develer.com>
@@
-87,11
+86,18
@@
typedef uint8_t serstatus_t;
*/
enum
{
*/
enum
{
-#if CPU_AVR_ATMEGA
64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281
+#if CPU_AVR_ATMEGA
1280
SER_UART0,
SER_UART1,
SER_UART0,
SER_UART1,
+ SER_UART2,
+ SER_UART3,
SER_SPI,
SER_SPI,
-#elif CPU_AVR_ATMEGA103 || CPU_AVR_ATMEGA8 || CPU_AVR_ATMEGA328P
+#elif CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281
+ SER_UART0,
+ SER_UART1,
+ SER_SPI,
+#elif CPU_AVR_ATMEGA103 || CPU_AVR_ATMEGA8 || CPU_AVR_ATMEGA32 || CPU_AVR_ATMEGA168 \
+ || CPU_AVR_ATMEGA328P
SER_UART0,
SER_SPI,
#else
SER_UART0,
SER_SPI,
#else