Change filename and macros from AT91SAM3.. to SAM3.. to conform to Atmel's official...
[bertos.git] / bertos / cpu / cortex-m3 / drv / kdebug_sam3.c
index 9cfe143f0f595cdd06737394a8630fef81f9d765..3438c05c3877318e0a71f2ba06d4323b6215af1c 100644 (file)
@@ -30,7 +30,7 @@
  *
  * -->
  *
- * \brief AT91SAM3 debug support (implementation).
+ * \brief SAM3 debug support (implementation).
  *
  * \author Stefano Fedrigo <aleph@develer.com>
  */
@@ -46,7 +46,7 @@
        #define UART_ID         UART0_ID
        #define UART_PIO_BASE   PIOA_BASE
        #define UART_PINS       (BV(RXD0) | BV(TXD0))
-#elif (CONFIG_KDEBUG_PORT == 1) && !defined(CPU_CM3_AT91SAM3U)
+#elif (CONFIG_KDEBUG_PORT == 1) && !defined(CPU_CM3_SAM3U)
        #define UART_BASE       UART1_BASE
        #define UART_ID         UART1_ID
        #define UART_PIO_BASE   PIOB_BASE