Skip to content

Commit 7d4efba

Browse files
authored
[bsp][renesas] add EK-RA2E2 support (#10646)
* add EK-RA2E2 support
1 parent 09d4d5f commit 7d4efba

File tree

167 files changed

+100926
-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.

167 files changed

+100926
-1
lines changed

.github/ALL_BSP_COMPILE.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@
264264
"renesas/rzn2l_rsk",
265265
"renesas/rzn2l_etherkit",
266266
"renesas/ra2a1-ek",
267+
"renesas/ra2e2-ek",
267268
"frdm-k64f",
268269
"xplorer4330/M4"
269270
]
@@ -504,4 +505,4 @@
504505
]
505506
}
506507
]
507-
}
508+
}

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

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

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

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: 6 additions & 0 deletions
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

bsp/renesas/ra2e2-ek/.api_xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<ddscApi/>

0 commit comments

Comments
 (0)