From 1aa498d5bc678219cc8cd5aecbdb336eebef8384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 8 May 2021 10:25:21 +0200 Subject: [PATCH] usart_enhanced: mark STM32F4 compatible (no difference with STM32F1) --- lib/usart_enhanced.c | 2 +- lib/usart_enhanced.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/usart_enhanced.c b/lib/usart_enhanced.c index f519490..f7b8498 100644 --- a/lib/usart_enhanced.c +++ b/lib/usart_enhanced.c @@ -2,7 +2,7 @@ * @file usart_enhanced.c * @author King Kévin * @copyright SPDX-License-Identifier: GPL-3.0-or-later - * @date 2018 + * @date 2018-2021 * @details the USART peripherals only support 8 or 9-bit word and even or odd parity (included in the data bits). The library adds support for 5 to 8-bit words, none/even/odd/mark/space parity (on top of the data bits) * @note since parity is handled in software, the parity error (PE) flag is unused and should be replaced by the value return by usart_enhanced_parity_error * @remark 9-bit raw communication is not supported since this is not common and can be done without this library diff --git a/lib/usart_enhanced.h b/lib/usart_enhanced.h index 41b0353..20f1a02 100644 --- a/lib/usart_enhanced.h +++ b/lib/usart_enhanced.h @@ -2,13 +2,12 @@ * @file * @author King Kévin * @copyright SPDX-License-Identifier: GPL-3.0-or-later - * @date 2018 + * @date 2018-2021 * @details the USART peripherals only support 8 or 9-bit word and even or odd parity (included in the data bits). The library adds support for 5 to 8-bit words, none/even/odd/mark/space parity (on top of the data bits) * @note since parity is handled in software, the parity error (PE) flag is unused and should be replaced by the value return by usart_enhanced_parity_error * @remark 9-bit raw communication is not supported since this is not common and can be done without this library */ #pragma once -#error not converted for STM32F4 /** enhanced USART setting for the additional parity bit*/ enum usart_enhanced_parity_t {