Consider the offset when read directly into flash memory.
[bertos.git] / bertos / cpu / avr / drv / ser_avr.h
index 2e5f7c1e17da7ef0f0754e77ef70065b7f92f506..5f3c9fb87e437f008a15efeab60d56e76e2bff8c 100644 (file)
@@ -86,7 +86,13 @@ typedef uint8_t serstatus_t;
  */
 enum
 {
-#if  CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281
+#if  CPU_AVR_ATMEGA1280
+       SER_UART0,
+       SER_UART1,
+       SER_UART2,
+       SER_UART3,
+       SER_SPI,
+#elif  CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281
        SER_UART0,
        SER_UART1,
        SER_SPI,