Skip to content

Commit 4f615c5

Browse files
committed
[bsp][renesas]add EK-RA2E2 sci_uart support
1 parent e0243e8 commit 4f615c5

File tree

137 files changed

+96652
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+96652
-1
lines changed

bsp/renesas/libraries/HAL_Drivers/config/drv_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ extern "C"
8484
#endif
8585
#endif /* SOC_SERIES_R7FA6M4 */
8686

87+
#ifdef SOC_SERIES_R7FA2E2
88+
#include "ra2e2/uart_config.h"
89+
#endif /* SOC_SERIES_R7FA2E2 */
90+
8791
#ifdef SOC_SERIES_R7FA2L1
8892
#include "ra2l1/uart_config.h"
8993

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* Copyright (c) 2006-2025, RT-Thread Development Team
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
6+
* Change Logs:
7+
* Date Author Notes
8+
* 2021-07-29 KyleChan first version
9+
*/
10+
11+
#ifndef __UART_CONFIG_H__
12+
#define __UART_CONFIG_H__
13+
14+
#include <rtthread.h>
15+
#include "hal_data.h"
16+
17+
#ifdef __cplusplus
18+
extern "C" {
19+
#endif
20+
21+
#if defined(BSP_USING_UART9)
22+
#ifndef UART9_CONFIG
23+
#define UART9_CONFIG \
24+
{ \
25+
.name = "uart9", \
26+
.p_api_ctrl = &g_uart9_ctrl, \
27+
.p_cfg = &g_uart9_cfg, \
28+
}
29+
#endif /* UART9_CONFIG */
30+
#endif /* BSP_USING_UART9 */
31+
32+
#ifdef __cplusplus
33+
}
34+
#endif
35+
36+
#endif

bsp/renesas/libraries/Kconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ config SOC_SERIES_R7FA6M4
1919
select SOC_FAMILY_RENESAS_RA
2020
default n
2121

22+
config SOC_SERIES_R7FA2E2
23+
bool
24+
select ARCH_ARM_CORTEX_M23
25+
select SOC_FAMILY_RENESAS_RA
26+
default n
27+
2228
config SOC_SERIES_R7FA2L1
2329
bool
2430
select ARCH_ARM_CORTEX_M23
@@ -59,4 +65,4 @@ config SOC_SERIES_R7FA6E2
5965
bool
6066
select ARCH_ARM_CORTEX_M33
6167
select SOC_FAMILY_RENESAS_RA
62-
default n
68+
default n

0 commit comments

Comments
 (0)