drivers: serial: stm32: remove HAL driver legacy
Remove UART_HandleTypeDef instance, which is used only to store baudrate value. Signed-off-by: Ilya Tagunov <tagunil@gmail.com>
This commit is contained in:
parent
24fcba44d3
commit
6632ffa60f
2 changed files with 4 additions and 8 deletions
|
@ -17,12 +17,12 @@ struct uart_stm32_config {
|
|||
struct uart_device_config uconf;
|
||||
/* clock subsystem driving this peripheral */
|
||||
struct stm32_pclken pclken;
|
||||
/* Baud rate */
|
||||
u32_t baud_rate;
|
||||
};
|
||||
|
||||
/* driver data */
|
||||
struct uart_stm32_data {
|
||||
/* Uart peripheral handler */
|
||||
UART_HandleTypeDef huart;
|
||||
/* clock device */
|
||||
struct device *clock;
|
||||
#ifdef CONFIG_UART_INTERRUPT_DRIVEN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue