aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-03 13:32:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-03 13:32:21 +0000
commite0c20340f0b9664d5e5d15c840db97fc119be757 (patch)
tree50d051efaf2ff982b7653be6fff53907101ee311
parentf95fc666de8186937f7101c74386af0c85968ec3 (diff)
downloadChibiOS-e0c20340f0b9664d5e5d15c840db97fc119be757.tar.gz
ChibiOS-e0c20340f0b9664d5e5d15c840db97fc119be757.tar.bz2
ChibiOS-e0c20340f0b9664d5e5d15c840db97fc119be757.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2789 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/STM32/uart_lld.h6
-rw-r--r--todo.txt3
2 files changed, 3 insertions, 6 deletions
diff --git a/os/hal/platforms/STM32/uart_lld.h b/os/hal/platforms/STM32/uart_lld.h
index 589a274fa..f09fe7cd4 100644
--- a/os/hal/platforms/STM32/uart_lld.h
+++ b/os/hal/platforms/STM32/uart_lld.h
@@ -158,12 +158,8 @@
#error "USART3 not present in the selected device"
#endif
-#if STM32_UART_USE_UART4 && !STM32_HAS_UART4
-#error "UART4 not present in the selected device"
-#endif
-
#if !STM32_UART_USE_USART1 && !STM32_UART_USE_USART2 && \
- !STM32_UART_USE_USART3 && !STM32_UART_USE_UART4
+ !STM32_UART_USE_USART3
#error "UART driver activated but no USART/UART peripheral assigned"
#endif
diff --git a/todo.txt b/todo.txt
index b5183c7e1..7e16194b9 100644
--- a/todo.txt
+++ b/todo.txt
@@ -19,7 +19,8 @@ Within 2.3.x (hopefully)
* Improvements to the message passing mechanism in order to allow "delayed,
out of order, responses".
* New device driver models: GPT.
-- Add UART4 support to the STM32 UART driver.
+- Add UART4 support to the STM32 UART driver (CL line only, HD has a nasty
+ shared interrupt).
- Add ADC3 support to the STM32 ADC driver.
? Make thread functions return void and add a CH_THREAD macro for threads
declaration in order to hide compiler-specific optimizations for thread