Skip to content

Commit f248c7b

Browse files
thenguyenyfduynguyenxa
authored andcommitted
hal: renesas: uart: Remove DTC config override uart async API
Modify RX transfer info for sci uart reception with DTC Remove redundant configuration Signed-off-by: The Nguyen <[email protected]>
1 parent e4f37e5 commit f248c7b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

drivers/ra/fsp/src/r_sci_uart/r_sci_uart.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,8 +1251,6 @@ static fsp_err_t r_sci_uart_transfer_open (sci_uart_instance_ctrl_t * const p_ct
12511251
{
12521252
transfer_info_t * p_info = p_cfg->p_transfer_rx->p_cfg->p_info;
12531253

1254-
p_info->transfer_settings_word = SCI_UART_DTC_RX_TRANSFER_SETTINGS;
1255-
12561254
err =
12571255
r_sci_uart_transfer_configure(p_ctrl, p_cfg->p_transfer_rx, (uint32_t *) &p_info->p_src,
12581256
(uint32_t) &(p_ctrl->p_reg->RDR));
@@ -1266,8 +1264,6 @@ static fsp_err_t r_sci_uart_transfer_open (sci_uart_instance_ctrl_t * const p_ct
12661264
{
12671265
transfer_info_t * p_info = p_cfg->p_transfer_tx->p_cfg->p_info;
12681266

1269-
p_info->transfer_settings_word = SCI_UART_DTC_TX_TRANSFER_SETTINGS;
1270-
12711267
err = r_sci_uart_transfer_configure(p_ctrl,
12721268
p_cfg->p_transfer_tx,
12731269
(uint32_t *) &p_info->p_dest,

zephyr/ra/ra_cfg/fsp_cfg/r_sci_uart_cfg.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
#define SCI_UART_CFG_DTC_SUPPORTED (CONFIG_USE_RA_FSP_DTC)
1717
#define SCI_UART_CFG_FLOW_CONTROL_SUPPORT (0)
1818
#define SCI_UART_CFG_RS485_SUPPORT (0)
19-
#if CONFIG_UART_INTERRUPT_DRIVEN && !BSP_CFG_INTERRUPT_INIT
20-
#undef BSP_CFG_INTERRUPT_INIT
21-
#define BSP_CFG_INTERRUPT_INIT (CONFIG_UART_INTERRUPT_DRIVEN)
22-
#endif
2319

2420
#ifdef __cplusplus
2521
}

0 commit comments

Comments
 (0)