Skip to content

Commit

Permalink
renamed ra folder to ra4
Browse files Browse the repository at this point in the history
  • Loading branch information
leocafonso committed Feb 22, 2025
1 parent c6c52ff commit e7b7194
Show file tree
Hide file tree
Showing 52 changed files with 66 additions and 67 deletions.
12 changes: 6 additions & 6 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,10 @@ config ARCH_CHIP_MCX_NXXX
---help---
NXXx architectures (Cortex-M33)

config ARCH_CHIP_RA
bool "Renesas RA"
config ARCH_CHIP_RA4
bool "Renesas RA4"
---help---
Renesas RAArchitecture (ARM Cortex-M4F/M33).
Renesas RA4 Architecture (ARM Cortex-M4F/M33).

config ARCH_CHIP_RP2040
bool "Raspberry Pi RP2040"
Expand Down Expand Up @@ -1168,7 +1168,7 @@ config ARCH_CHIP
default "nrf53" if ARCH_CHIP_NRF53
default "nrf91" if ARCH_CHIP_NRF91
default "nuc1xx" if ARCH_CHIP_NUC1XX
default "ra" if ARCH_CHIP_RA
default "ra4" if ARCH_CHIP_RA4
default "rp2040" if ARCH_CHIP_RP2040
default "rp23xx" if ARCH_CHIP_RP23XX
default "s32k1xx" if ARCH_CHIP_S32K1XX
Expand Down Expand Up @@ -1631,8 +1631,8 @@ endif
if ARCH_CHIP_NUC1XX
source "arch/arm/src/nuc1xx/Kconfig"
endif
if ARCH_CHIP_RA
source "arch/arm/src/ra/Kconfig"
if ARCH_CHIP_RA4
source "arch/arm/src/ra4/Kconfig"
endif
if ARCH_CHIP_RP2040
source "arch/arm/src/rp2040/Kconfig"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/include/ra/chip.h → arch/arm/include/ra4/chip.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/include/ra/chip.h
* arch/arm/include/ra4/chip.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/include/ra/irq.h → arch/arm/include/ra4/irq.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/include/ra/irq.h
* arch/arm/include/ra4/irq.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down Expand Up @@ -30,7 +30,7 @@
****************************************************************************/

#include <nuttx/config.h>
#include <arch/ra/chip.h>
#include <arch/ra4/chip.h>

/****************************************************************************
* Pre-processor Prototypes
Expand Down Expand Up @@ -63,7 +63,7 @@
#define RA_IRQ_FIRST (16) /* Vector number of the first external interrupt */

#if defined(CONFIG_RA4M1_FAMILY)
# include <arch/ra/ra4m1_irq.h>
# include <arch/ra4/ra4m1_irq.h>
#else
# error Unrecognized RA architecture
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/include/ra/ra4m1_irq.h
* arch/arm/include/ra4/ra4m1_irq.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down Expand Up @@ -30,7 +30,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/irq.h>
#include <arch/ra/chip.h>
#include <arch/ra4/chip.h>
/****************************************************************************
* Pre-processor Prototypes
****************************************************************************/
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/arm/src/ra/Kconfig → arch/arm/src/ra4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ comment "RA Configuration Options"
choice
prompt "RA Chip Selection"
default ARCH_CHIP_R7FA4M1ABxxFM
depends on ARCH_CHIP_RA
depends on ARCH_CHIP_RA4

config ARCH_CHIP_R7FA4M1ABxxFP
bool "R7FA4M1ABxxFP"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/ra/Make.defs → arch/arm/src/ra4/Make.defs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############################################################################
# arch/arm/src/ra/Make.defs
# arch/arm/src/ra4/Make.defs
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
Expand Down
10 changes: 5 additions & 5 deletions arch/arm/src/ra/chip.h → arch/arm/src/ra4/chip.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/chip.h
* arch/arm/src/ra4/chip.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down Expand Up @@ -32,22 +32,22 @@
* setup.
*/

#include <arch/ra/chip.h>
#include <arch/ra4/chip.h>
#include "hardware/ra4m1_memorymap.h"

/* Include the chip interrupt definition file */

#include <arch/ra/irq.h>
#include <arch/ra4/irq.h>

/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

/* Provide the required number of peripheral interrupt vector definitions as
* well. The definition RA_IRQ_NEXTINT simply comes from the chip-specific
* IRQ header file included by arch/ra/irq.h.
* IRQ header file included by arch/ra4/irq.h.
*/

#define ARMV7M_PERIPHERAL_INTERRUPTS 53

#endif /* __ARCH_ARM_SRC_RA_CHIP_H */
#endif /* __ARCH_ARM_SRC_RA_CHIP_H */
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra4m1_icu.h
* arch/arm/src/ra4/hardware/ra4m1_icu.h
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra4m1_memorymap.h
* arch/arm/src/ra4/hardware/ra4m1_memorymap.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra4m1_mstp.h
* arch/arm/src/ra4/hardware/ra4m1_mstp.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra4m1_pinmap.h
* arch/arm/src/ra4/hardware/ra4m1_pinmap.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_flash.h
* arch/arm/src/ra4/hardware/ra_flash.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand All @@ -26,7 +26,7 @@
****************************************************************************/

#include <nuttx/config.h>
#include <arch/ra/chip.h>
#include <arch/ra4/chip.h>
#include "ra_memorymap.h"

/****************************************************************************
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_gpio.h
* arch/arm/src/ra4/hardware/ra_gpio.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_icu.h
* arch/arm/src/ra4/hardware/ra_icu.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_memorymap.h
* arch/arm/src/ra4/hardware/ra_memorymap.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_mpu.h
* arch/arm/src/ra4/hardware/ra_mpu.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_mstp.h
* arch/arm/src/ra4/hardware/ra_mstp.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down Expand Up @@ -52,4 +52,3 @@
****************************************************************************/

#endif /* __ARCH_ARM_SRC_RA4M1_HARDWARE_RA4_MSTP_H */

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_option_setting.h
* arch/arm/src/ra4/hardware/ra_option_setting.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down Expand Up @@ -73,15 +73,15 @@
# define R_OFS0_WDTRPES_25 (2 << R_OFS0_WDTRPES_SHIFT) /* WDT Window End Position Select 25% */
# define R_OFS0_WDTRPES_0 (3 << R_OFS0_WDTRPES_SHIFT) /* WDT Window End Position Select 0% */
#define R_OFS0_WDTCKS_SHIFT (20) /* Bit 23-20: WDT Clock Frequency Division Ratio Select*/
#define R_OFS0_WDTCKS_MASK (0xF << R_OFS0_WDTCKS_SHIFT
#define R_OFS0_WDTCKS_MASK (0xF << R_OFS0_WDTCKS_SHIFT)
# define R_OFS0_WDTCKS_DIV_4 (1 << R_OFS0_WDTCKS_SHIFT) /* PCLKB divided by 4 */
# define R_OFS0_WDTCKS_DIV_64 (4 << R_OFS0_WDTCKS_SHIFT) /* PCLKB divided by 64 */
# define R_OFS0_WDTCKS_DIV_128 (15 << R_OFS0_WDTCKS_SHIFT) /* PCLKB divided by 128 */
# define R_OFS0_WDTCKS_DIV_512 (6 << R_OFS0_WDTCKS_SHIFT) /* PCLKB divided by 512 */
# define R_OFS0_WDTCKS_DIV_2048 (7 << R_OFS0_WDTCKS_SHIFT) /* PCLKB divided by 2048 */
# define R_OFS0_WDTCKS_DIV_8192 (8 << R_OFS0_WDTCKS_SHIFT) /* PCLKB divided by 8192 */
#define R_OFS0_WDTTOPS_SHIFT (18) /* Bit 19-18: WDT Timeout Period Select */
#define R_OFS0_WDTTOPS_MASK (3 << R_OFS0_WDTTOPS_SHIFT
#define R_OFS0_WDTTOPS_MASK (3 << R_OFS0_WDTTOPS_SHIFT)
# define R_OFS0_WDTTOPS_1024_CYCLES (0 << R_OFS0_WDTTOPS_SHIFT) /* 1024 cycles */
# define R_OFS0_WDTTOPS_4096_CYCLES (1 << R_OFS0_WDTTOPS_SHIFT) /* 4096 cycles */
# define R_OFS0_WDTTOPS_8192_CYCLES (2 << R_OFS0_WDTTOPS_SHIFT) /* 8192 cycles */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_pinmap.h
* arch/arm/src/ra4/hardware/ra_pinmap.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_sci.h
* arch/arm/src/ra4/hardware/ra_sci.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/hardware/ra_system.h
* arch/arm/src/ra4/hardware/ra_system.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand All @@ -25,7 +25,7 @@
****************************************************************************/

#include <nuttx/config.h>
#include <arch/ra/chip.h>
#include <arch/ra4/chip.h>
#include "ra_memorymap.h"

/****************************************************************************
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_allocateheap.c
* arch/arm/src/ra4/ra_allocateheap.c
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_clockconfig.c
* arch/arm/src/ra4/ra_clockconfig.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_clockconfig.h
* arch/arm/src/ra4/ra_clockconfig.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/ra/ra_gpio.c → arch/arm/src/ra4/ra_gpio.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_gpio.c
* arch/arm/src/ra4/ra_gpio.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/ra/ra_gpio.h → arch/arm/src/ra4/ra_gpio.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_gpio.h
* arch/arm/src/ra4/ra_gpio.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/ra/ra_icu.c → arch/arm/src/ra4/ra_icu.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_icu.c
* arch/arm/src/ra4/ra_icu.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/ra/ra_icu.h → arch/arm/src/ra4/ra_icu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_icu.h
* arch/arm/src/ra4/ra_icu.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/ra/ra_irq.c → arch/arm/src/ra4/ra_irq.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_irq.c
* arch/arm/src/ra4/ra_irq.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_lowputc.c
* arch/arm/src/ra4/ra_lowputc.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_lowputc.h
* arch/arm/src/ra4/ra_lowputc.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_serial.c
* arch/arm/src/ra4/ra_serial.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/ra/ra_start.c → arch/arm/src/ra4/ra_start.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_start.c
* arch/arm/src/ra4/ra_start.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/ra/ra_start.h → arch/arm/src/ra4/ra_start.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_start.h
* arch/arm/src/ra4/ra_start.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/arm/src/ra/ra_timerisr.c
* arch/arm/src/ra4/ra_timerisr.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
4 changes: 2 additions & 2 deletions boards/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ config ARCH_BOARD_ARDUINO_DUE

config ARCH_BOARD_ARDUINO_R4_MINIMA
bool "Arduino R4 Minima"
depends on ARCH_CHIP_RA
depends on ARCH_CHIP_RA4
select ARCH_HAVE_LEDS
---help---
This options selects the Arduino R4 Minima board featuring the Renesas
Expand Down Expand Up @@ -4010,7 +4010,7 @@ if ARCH_BOARD_ARDUINO_DUE
source "boards/arm/sam34/arduino-due/Kconfig"
endif
if ARCH_BOARD_ARDUINO_R4_MINIMA
source "boards/arm/ra/arduino-r4-minima/Kconfig"
source "boards/arm/ra4/arduino-r4-minima/Kconfig"
endif
if ARCH_BOARD_ARDUINO_M0
source "boards/arm/samd2l2/arduino-m0/Kconfig"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
CONFIG_ARCH="arm"
CONFIG_ARCH_BOARD="arduino-r4-minima"
CONFIG_ARCH_BOARD_ARDUINO_R4_MINIMA=y
CONFIG_ARCH_CHIP="ra"
CONFIG_ARCH_CHIP="ra4"
CONFIG_ARCH_CHIP_R7FA4M1ABxxFM=y
CONFIG_ARCH_CHIP_RA=y
CONFIG_ARCH_CHIP_RA4=y
CONFIG_ARCH_STACKDUMP=y
CONFIG_BOARD_LOOPSPERMSEC=6965
CONFIG_BUILTIN=y
Expand Down
Loading

0 comments on commit e7b7194

Please sign in to comment.