Skip to content

Commit c65218f

Browse files
committed
soc: renesas ra: RA4M3 series R7FA4M3AF3CFB.
Signed-off-by: Piotr Rak <[email protected]>
1 parent 3f0cd3e commit c65218f

File tree

7 files changed

+68
-0
lines changed

7 files changed

+68
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2023 TOKITA Hiroshi <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
zephyr_include_directories(.)
5+
6+
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")

soc/renesas/ra/ra4m3/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2024 Piotr Rak <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SOC_SERIES_RA4M3
5+
select ARM
6+
select CPU_CORTEX_M33
7+
select CPU_HAS_ARM_MPU
8+
select CPU_CORTEX_M_HAS_SYSTICK
9+
select DYNAMIC_INTERRUPTS
10+
select TIMER_READS_ITS_FREQUENCY_AT_RUNTIME
11+
select XIP
12+
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2024 Piotr Rak <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SOC_SERIES_RA4M3
5+
6+
# Ref: Renesas RA4M3 Group: UM: Hardware (R01UH0893EJ0140 Rev.1.40)
7+
# - 13.1 Interrupt Controller Unit (ICU) - Overview
8+
# - Table 13.1 ICU - Interrupt sources for NVIC (96)
9+
config NUM_IRQS
10+
default 96
11+
12+
endif # SOC_SERIES_RA4M3

soc/renesas/ra/ra4m3/Kconfig.soc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (c) 2024 Piotr Rak <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SOC_SERIES_RA4M3
5+
bool
6+
select SOC_FAMILY_RENESAS_RA
7+
help
8+
Renesas RA4M3
9+
10+
11+
config SOC_R7FA4M3AF3CFB
12+
bool
13+
select SOC_SERIES_RA4M3
14+
help
15+
R7FA4M3AF3CFB
16+
17+
config SOC_SERIES
18+
default "ra4m3" if SOC_SERIES_RA4M3
19+
20+
config SOC
21+
default "r7fa4m3af3cfb" if SOC_R7FA4M3AF3CFB

soc/renesas/ra/ra4m3/pinctrl_soc.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 TOKITA Hiroshi <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "../common/pinctrl_ra.h"

soc/renesas/ra/ra4m3/soc.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 TOKITA Hiroshi <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "../common/ra_common_soc.h"

soc/renesas/ra/soc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ family:
44
- name: ra4m1
55
socs:
66
- name: r7fa4m1ab3cfm
7+
- name: ra4m3
8+
socs:
9+
- name: r7fa4m3af3cfb
710
- name: ra6m5
811
socs:
912
- name: r7fa6m5bh3cfc

0 commit comments

Comments
 (0)