projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add debug support for AVR XMega MCU.
[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 a5a74b52d738a9beccd241989803c7ef5590fdac..68d5e5085ee639fd3c14d469b01caaf323446afa 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 || CPU_AVR_ATMEGA2560
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_ATMEGA168 || 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