diff options
Diffstat (limited to 'testhal/STM32/multi/UART/cfg-stm32f091_nucleo64')
-rw-r--r-- | testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h | 2 | ||||
-rw-r--r-- | testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h index a4095ba96..a7f25ffab 100644 --- a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h +++ b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/halconf.h @@ -389,7 +389,7 @@ * @note Disabling this option saves both code and data space.
*/
#if !defined(UART_USE_WAIT) || defined(__DOXYGEN__)
-#define UART_USE_WAIT FALSE
+#define UART_USE_WAIT TRUE
#endif
/**
diff --git a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c index 1d42746d2..6c400ab4c 100644 --- a/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c +++ b/testhal/STM32/multi/UART/cfg-stm32f091_nucleo64/portab.c @@ -34,6 +34,29 @@ /* Module exported variables. */
/*===========================================================================*/
+void txend1(UARTDriver *uartp);
+void txend2(UARTDriver *uartp);
+void rxend(UARTDriver *uartp);
+void rxchar(UARTDriver *uartp, uint16_t c);
+void rxerr(UARTDriver *uartp, uartflags_t e);
+
+/*
+ * UART driver configuration structure.
+ */
+UARTConfig uart_cfg_1 = {
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ 0,
+ 38400,
+ 0,
+ USART_CR2_LINEN,
+ 0
+};
+
/*===========================================================================*/
/* Module local types. */
/*===========================================================================*/
|