Skip to content

Commit 6b84a29

Browse files
authored
Merge pull request hathach#1391 from perigoso/renesas-ra
Renesas ra family support
2 parents d875e69 + c127957 commit 6b84a29

File tree

98 files changed

+4743
-646
lines changed

Some content is hidden

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

98 files changed

+4743
-646
lines changed

.codespell/exclude-file.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
return USB0.INTSTS1.BIT.ATTCH ? true : false;

.codespell/ignore-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ fro
66
dout
77
mot
88
te
9+
attch

.github/workflows/build_arm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- 'lpc54 lpc55'
3939
- 'mm32 msp432e4'
4040
- 'nrf'
41+
- 'ra'
4142
- 'rp2040'
4243
- 'samd11'
4344
- 'samd21'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ latex
1313
.env
1414
.settings/
1515
.idea/
16+
.vscode/
1617
.gdb_history
1718
/examples/*/*/build*
1819
test_old/

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
# SPDX-License-Identifier: Unlicense
44

55
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v4.0.1
8+
hooks:
9+
- id: check-yaml
10+
- id: trailing-whitespace
11+
- id: end-of-file-fixer
12+
613
- repo: local
714
hooks:
815
- id: codespell

CONTRIBUTORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ Notable contributors
119119

120120
- Port DCD Synopsys to support Silabs EFM32GG12 with SLTB009A board
121121
- Rewrite documentation in rst and setup for readthedocs
122+
- Generalize Renesas driver and support RA family with EK-RA4M3 board
122123

123124

124125
`Raspberry Pi Team <https://github.com/raspberrypi>`__

README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ The stack supports the following MCUs:
4848
- LPC Series: 11u, 13, 15, 17, 18, 40, 43, 51u, 54, 55
4949

5050
- **Raspberry Pi:** RP2040
51-
- **Renesas:** RX63N, RX65N, RX72N
51+
- **Renesas:**
52+
53+
- RX Series: 63N, 65N, 72N
54+
- RA Series: RA4M1, RA4M3
55+
5256
- **Silabs:** EFM32GG
5357
- **Sony:** CXD56
5458
- **ST:** STM32 series: F0, F1, F2, F3, F4, F7, H7, G4, L0, L1, L4, L4+, WB

docs/reference/supported.rst

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,11 @@ Supported MCUs
6161
| | | 55 || || lpc_ip3511 | |
6262
+--------------+---------+-------------+--------+------+-----------+-------------------+--------------+
6363
| Raspberry Pi | RP2040 |||| rp2040, pio_usb | |
64-
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+
65-
| Renesas | RX 63N, 65N, 72N |||| usba | |
66-
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+
64+
+--------------+-----+-----------------+--------+------+-----------+-------------------+--------------+
65+
| Renesas | RX | 63N, 65N, 72N |||| rusb2 | |
66+
| +-----+-----------------+--------+------+-----------+-------------------+--------------+
67+
| | RA | XXX ||| | rusb2 | |
68+
+--------------+-----+-----------------+--------+------+-----------+-------------------+--------------+
6769
| Silabs | EFM32GG12 || || dwc2 | |
6870
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+
6971
| Sony | CXD56 |||| cxd56 | |
@@ -295,8 +297,17 @@ LPC55
295297
- `LPCXpresso 55s69 EVK <https://www.nxp.com/design/development-boards/lpcxpresso-boards/lpcxpresso55s69-development-board:LPC55S69-EVK>`__
296298
- `MCU-Link <https://www.nxp.com/design/development-boards/lpcxpresso-boards/mcu-link-debug-probe:MCU-LINK>`__
297299

298-
Renesas RX
299-
----------
300+
Renesas
301+
-------
302+
303+
RA
304+
^^
305+
306+
- `Evaluation Kit for RA4M1 <https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/ek-ra4m1-evaluation-kit-ra4m1-mcu-group>`__
307+
- `Evaluation Kit for RA4M3 <https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/ek-ra4m3-evaluation-kit-ra4m3-mcu-group>`__
308+
309+
RX
310+
^^
300311

301312
- `GR-CITRUS <https://www.renesas.com/us/en/products/gadget-renesas/boards/gr-citrus>`__
302313
- `Renesas RX65N Target Board <https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rx-32-bit-performance-efficiency-mcus/rtk5rx65n0c00000br-target-board-rx65n>`__

examples/device/cdc_msc_freertos/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ DEPS_SUBMODULES += lib/FreeRTOS-Kernel
33
include ../../make.mk
44

55
FREERTOS_SRC = lib/FreeRTOS-Kernel
6-
FREERTOS_PORTABLE_SRC= $(FREERTOS_SRC)/portable/$(if $(USE_IAR),IAR,GCC)/$(FREERTOS_PORT)
6+
FREERTOS_PORTABLE_PATH= $(FREERTOS_SRC)/portable/$(if $(USE_IAR),IAR,GCC)
77

88
INC += \
99
src \
1010
src/FreeRTOSConfig \
1111
$(TOP)/hw \
1212
$(TOP)/$(FREERTOS_SRC)/include \
1313
$(TOP)/$(FREERTOS_PORTABLE_SRC)
14-
14+
1515
# Example source
1616
EXAMPLE_SOURCE = \
1717
src/freertos_hook.c \
@@ -27,10 +27,10 @@ SRC_C += \
2727
$(FREERTOS_SRC)/queue.c \
2828
$(FREERTOS_SRC)/tasks.c \
2929
$(FREERTOS_SRC)/timers.c \
30-
$(subst ../../../,,$(wildcard ../../../$(FREERTOS_PORTABLE_SRC)/*.c))
30+
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORTABLE_SRC)/*.c))
3131

3232
SRC_S += \
33-
$(subst ../../../,,$(wildcard ../../../$(FREERTOS_PORTABLE_SRC)/*.s))
33+
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORTABLE_SRC)/*.s))
3434

3535
# include heap manage if configSUPPORT_DYNAMIC_ALLOCATION = 1
3636
# SRC_C += $(FREERTOS_SRC)/portable/MemMang/heap_1.c

examples/device/hid_composite_freertos/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ DEPS_SUBMODULES += lib/FreeRTOS-Kernel
33
include ../../make.mk
44

55
FREERTOS_SRC = lib/FreeRTOS-Kernel
6-
FREERTOS_PORTABLE_SRC= $(FREERTOS_SRC)/portable/$(if $(USE_IAR),IAR,GCC)/$(FREERTOS_PORT)
6+
FREERTOS_PORTABLE_PATH= $(FREERTOS_SRC)/portable/$(if $(USE_IAR),IAR,GCC)
77

88
INC += \
99
src \
@@ -17,7 +17,7 @@ EXAMPLE_SOURCE = \
1717
src/freertos_hook.c \
1818
src/main.c \
1919
src/usb_descriptors.c
20-
20+
2121
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
2222

2323
# FreeRTOS source, all files in port folder
@@ -26,10 +26,10 @@ SRC_C += \
2626
$(FREERTOS_SRC)/queue.c \
2727
$(FREERTOS_SRC)/tasks.c \
2828
$(FREERTOS_SRC)/timers.c \
29-
$(subst ../../../,,$(wildcard ../../../$(FREERTOS_PORTABLE_SRC)/*.c))
29+
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORTABLE_SRC)/*.c))
3030

3131
SRC_S += \
32-
$(subst ../../../,,$(wildcard ../../../$(FREERTOS_PORTABLE_SRC)/*.s))
32+
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORTABLE_SRC)/*.s))
3333

3434
# include heap manage if configSUPPORT_DYNAMIC_ALLOCATION = 1
3535
# SRC_C += $(FREERTOS_SRC)/portable/MemMang/heap_1.c

0 commit comments

Comments
 (0)