aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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