X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Farm%2Fio%2Fat91sam7.h;h=f91690e82fa05b3c7c1673353dfe981b89f36024;hb=3d3ba5cae20af3f5d1a75d7a3d727a2199160137;hp=1e80d147ae0c5ea43ec644749872e5e1d24e9d65;hpb=d14c11ed6f463320866567825c731d89ef2f98c2;p=bertos.git diff --git a/cpu/arm/io/at91sam7.h b/cpu/arm/io/at91sam7.h index 1e80d147..f91690e8 100644 --- a/cpu/arm/io/at91sam7.h +++ b/cpu/arm/io/at91sam7.h @@ -185,7 +185,7 @@ /*\}*/ /** - * USART & DEBUG pin names + * USART pins name *\{ */ #if CPU_ARM_AT91SAM7S256 @@ -193,17 +193,16 @@ #define TXD0 6 #define RXD1 21 #define TXD1 22 - #define DTXD 10 - #define DRXD 9 + #elif CPU_ARM_AT91SAM7X256 - #define RXD0 0 // PA0 - #define TXD0 1 // PA1 - #define RXD1 5 // PA5 - #define TXD1 6 // PA6 - #define DTXD 28 // PA28 - #define DRXD 27 // PA27 + #define RXD0 0 // PA0 + #define TXD0 1 // PA1 + #define RXD1 5 // PA5 + #define TXD1 6 // PA6 + #else - #error No USART & debug pin names definition for selected ARM CPU + #error No USART pins name definition for selected ARM CPU + #endif /*\}*/