diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-04-14 11:12:37 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-04-14 11:12:37 +0000 |
commit | 0d927aae48e9e84af8df0376c7520b0f4abc0f10 (patch) | |
tree | df885bff8353c43e46bed6faa10277027eb18ded /os | |
parent | 90f1a505d3cf91742927577c45046e4f3d3e7de3 (diff) | |
download | ChibiOS-0d927aae48e9e84af8df0376c7520b0f4abc0f10.tar.gz ChibiOS-0d927aae48e9e84af8df0376c7520b0f4abc0f10.tar.bz2 ChibiOS-0d927aae48e9e84af8df0376c7520b0f4abc0f10.zip |
Fixed bug 3517648.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4093 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/AT91SAM7/serial_lld.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/platforms/AT91SAM7/serial_lld.c b/os/hal/platforms/AT91SAM7/serial_lld.c index 6f1bbb1bf..d23aa9b0e 100644 --- a/os/hal/platforms/AT91SAM7/serial_lld.c +++ b/os/hal/platforms/AT91SAM7/serial_lld.c @@ -31,7 +31,8 @@ #if HAL_USE_SERIAL || defined(__DOXYGEN__)
-#if SAM7_PLATFORM == SAM7S256
+#if (SAM7_PLATFORM == SAM7S64) || (SAM7_PLATFORM == SAM7S128) || \
+ (SAM7_PLATFORM == SAM7S256) || (SAM7_PLATFORM == SAM7S512)
#define SAM7_USART0_RX AT91C_PA5_RXD0
#define SAM7_USART0_TX AT91C_PA6_TXD0
@@ -40,7 +41,8 @@ #define SAM7_DBGU_RX AT91C_PA9_DRXD
#define SAM7_DBGU_TX AT91C_PA10_DTXD
-#elif SAM7_PLATFORM == SAM7X256
+#elif (SAM7_PLATFORM == SAM7X128) || (SAM7_PLATFORM == SAM7X256) || \
+ (SAM7_PLATFORM == SAM7X512)
#define SAM7_USART0_RX AT91C_PA0_RXD0
#define SAM7_USART0_TX AT91C_PA1_TXD0
|