renesas-ra: Change MICROPY_HW_BOARD_NAME definition to product name.
Changes in this commit: - Change MICROPY_HW_BOARD_NAME definition to match the product name. - Rename board folder's name to match the product name style. - Change related files like Makefile, document descriptions, test cases, CI and tools. Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
This commit is contained in:
parent
82a59a824c
commit
dc7de6ed83
|
@ -18,7 +18,7 @@ The following boards are officially supported.
|
|||
|
||||
* RA4M1-CLICKER
|
||||
|
||||
For the manual and other references for the board and RA Family MCU, please refer to the web page: `EK-RA4M1 CLICKER <https://www.mikroe.com/ra4m1-clicker>`_
|
||||
For the manual and other references for the board and RA Family MCU, please refer to the web page: `RA4M1 CLICKER <https://www.mikroe.com/ra4m1-clicker>`_
|
||||
|
||||
* EK-RA6M2
|
||||
|
||||
|
|
|
@ -62,6 +62,6 @@ Access the MicroPython REPL (the Python prompt) via USB serial or UART with 1152
|
|||
|
||||
You can see the MicroPython REPL prompt like below::
|
||||
|
||||
MicroPython v1.18-293-g339aa09b8-dirty on 2022-03-26; RA6M2_EK with RA6M2
|
||||
MicroPython v1.20.0 on 2023-04-27; EK-RA6M2 with RA6M2
|
||||
Type "help()" for more information.
|
||||
>>>
|
||||
|
|
|
@ -5,7 +5,7 @@ ifdef BOARD_DIR
|
|||
BOARD ?= $(notdir $(BOARD_DIR:/=))
|
||||
else
|
||||
# If not given on the command line, then default to RA6M2_EK.
|
||||
BOARD ?= RA6M2_EK
|
||||
BOARD ?= EK_RA6M2
|
||||
BOARD_DIR ?= boards/$(BOARD)
|
||||
endif
|
||||
|
||||
|
@ -23,28 +23,28 @@ CMSIS_MCU_CAP = RA4M1
|
|||
USE_FSP_LPM = 0
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD),RA4M1_EK)
|
||||
ifeq ($(BOARD),EK_RA4M1)
|
||||
BOARD_LOW = ra4m1_ek
|
||||
CMSIS_MCU_LOW = ra4m1
|
||||
CMSIS_MCU_CAP = RA4M1
|
||||
USE_FSP_LPM = 0
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD),RA4W1_EK)
|
||||
ifeq ($(BOARD),EK_RA4W1)
|
||||
BOARD_LOW = ra4w1_ek
|
||||
CMSIS_MCU_LOW = ra4w1
|
||||
CMSIS_MCU_CAP = RA4W1
|
||||
USE_FSP_LPM = 1
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD),RA6M1_EK)
|
||||
ifeq ($(BOARD),EK_RA6M1)
|
||||
BOARD_LOW = ra6m1_ek
|
||||
CMSIS_MCU_LOW = ra6m1
|
||||
CMSIS_MCU_CAP = RA6M1
|
||||
USE_FSP_LPM = 1
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD),RA6M2_EK)
|
||||
ifeq ($(BOARD),EK_RA6M2)
|
||||
BOARD_LOW = ra6m2_ek
|
||||
CMSIS_MCU_LOW = ra6m2
|
||||
CMSIS_MCU_CAP = RA6M2
|
||||
|
|
|
@ -48,15 +48,15 @@ First the submodules must be obtained using:
|
|||
* Build binary image `.hex`
|
||||
Then to build for a given board subdirectory name, run:
|
||||
|
||||
$ make BOARD=RA6M2_EK clean
|
||||
$ make BOARD=RA6M2_EK
|
||||
$ make BOARD=EK_RA6M2 clean
|
||||
$ make BOARD=EK_RA6M2
|
||||
|
||||
The default board subdirectory name is RA6M2_EK (which is for EK-RA6M2 board)
|
||||
The default board subdirectory name is EK_RA6M2 (which is for EK-RA6M2 board)
|
||||
but any of the names of the subdirectories in the `boards/` directory can be
|
||||
passed as the argument to `BOARD=`; for example `RA4M1_CLICKER`, `RA4M1_EK`,
|
||||
`RA4W1_EK` and `RA6M1_EK`.
|
||||
passed as the argument to `BOARD=`; for example `RA4M1_CLICKER`, `EK_RA4M1`,
|
||||
`EK_RA4W1` and `EK_RA6M1`.
|
||||
The above command should produce binary images `firmware.hex` in the
|
||||
build-RA6M2_EK/` subdirectory (or the equivalent directory for the board specified).
|
||||
build-EK_RA6M2/` subdirectory (or the equivalent directory for the board specified).
|
||||
|
||||
## Supported/Unsupprted funtions
|
||||
Please refer to the `renesas-ra` quick reference.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// MCU config
|
||||
#define MICROPY_HW_BOARD_NAME "RA4M1_EK"
|
||||
#define MICROPY_HW_BOARD_NAME "EK-RA4M1"
|
||||
#define MICROPY_HW_MCU_NAME "RA4M1"
|
||||
#define MICROPY_HW_MCU_SYSCLK 48000000
|
||||
#define MICROPY_HW_MCU_PCLK 48000000
|
|
@ -1,9 +1,9 @@
|
|||
CMSIS_MCU = RA4M1
|
||||
MCU_SERIES = m4
|
||||
LD_FILES = boards/RA4M1_EK/ra4m1_ek.ld
|
||||
LD_FILES = boards/EK_RA4M1/ra4m1_ek.ld
|
||||
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_FAT = 1
|
||||
|
||||
# Don't include default frozen modules because MCU is tight on flash space
|
||||
FROZEN_MANIFEST ?= boards/RA4M1_EK/manifest.py
|
||||
FROZEN_MANIFEST ?= boards/EK_RA4M1/manifest.py
|
|
@ -1,5 +1,5 @@
|
|||
// MCU config
|
||||
#define MICROPY_HW_BOARD_NAME "RA4W1_EK"
|
||||
#define MICROPY_HW_BOARD_NAME "EK-RA4W1"
|
||||
#define MICROPY_HW_MCU_NAME "RA4W1"
|
||||
#define MICROPY_HW_MCU_SYSCLK 48000000
|
||||
#define MICROPY_HW_MCU_PCLK 48000000
|
|
@ -1,6 +1,6 @@
|
|||
CMSIS_MCU = RA4W1
|
||||
MCU_SERIES = m4
|
||||
LD_FILES = boards/RA4W1_EK/ra4w1_ek.ld
|
||||
LD_FILES = boards/EK_RA4W1/ra4w1_ek.ld
|
||||
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_FAT = 1
|
|
@ -1,5 +1,5 @@
|
|||
// MCU config
|
||||
#define MICROPY_HW_BOARD_NAME "RA6M1_EK"
|
||||
#define MICROPY_HW_BOARD_NAME "EK-RA6M1"
|
||||
#define MICROPY_HW_MCU_NAME "RA6M1"
|
||||
#define MICROPY_HW_MCU_SYSCLK 120000000
|
||||
#define MICROPY_HW_MCU_PCLK 60000000
|
|
@ -1,6 +1,6 @@
|
|||
CMSIS_MCU = RA6M1
|
||||
MCU_SERIES = m4
|
||||
LD_FILES = boards/RA6M1_EK/ra6m1_ek.ld
|
||||
LD_FILES = boards/EK_RA6M1/ra6m1_ek.ld
|
||||
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_FAT = 1
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue