Renesas RH850 Zephyr Support - renesas/zephyr GitHub Wiki
The following content in this page describes current Zephyr support status for Renesas RH850 Automotive MCU family, for detail about RH850 MCUs, please visit RH850 Automotive Microcontrollers (MCUs)
Table of contents
- Table of contents
- List of supported RH850 devices on Zephyr
- HWIP support status:
- Build and Flash guideline
- WIP integration branch information
List of supported RH850 devices on Zephyr
| Board name | Status | Samples and demo Hardware connection |
|---|---|---|
| Y-RH850-U2B-292PIN-PB-T1-V1 | Available on Renesas wip_rh850 branch | RH850-U2B-292PIN Sample and Demo hardware configuration |
| Y-RH850-U2B-468PIN-PB-T1-V1 | Available on Renesas wip_rh850 branch | RH850-U2B-468PIN Sample and Demo hardware configuration |
HWIP support status:
- RH850/U2B10 (G4MH): 292, 468 pins variant
| Renesas HW IP | Mapping to Zephyr | Status | Board |
|---|---|---|---|
| I/O Ports | Pinctrl | Available on Renesas wip_rh850 branch, planning for Zephyr v4.5 | All available devices |
| RLIN3 (UART) | UART | Available on Renesas wip_rh850 branch, planning for Zephyr v4.5 | All available devices |
| OSTM | System Timer | Available on Renesas wip_rh850 branch, planning for Zephyr v4.5 | All available devices |
Build and Flash guideline
For required tool and environment setup to develop Zephyr, please check: Getting started guide
Currently RH850 arch hasn't support on Zephyr SDK yet, so we need to setup IAR RH850 toolchain.
Following step are required for build and flashing Zephyr binary image to RH850 board.
Software preparation:
- Download and install a release v3.20.1 or newer of IAR toolchain for RH850: https://www.iar.com/embedded-development-tools
- Download and install Renesas Flash Programmer: https://www.renesas.com/en/software-tool/renesas-flash-programmer-programming-gui
NOTE: Please make sure that the installed software are added into environment PATH
Build environment setup:
-
Set Zephyr toolchain variant to IAR:
$ export ZEPHYR_TOOLCHAIN_VARIANT=iar -
Export IAR toolchain PATH for Zephyr build system:
$ export IAR_TOOLCHAIN_PATH=<path/to/your/rh850>e.g
$ export IAR_TOOLCHAIN_PATH=/opt/toolchains/IAR/ewrh850-3.20.1/bin/rh850
Build command:
$ west build -b pb_rh850u2b_292pin -p always samples/hello_world
Flash command:
$ west flash
WIP integration branch information
| Branch name | Information |
|---|---|
| wip_rh850 | Work in progress for RH850 platforms. Contain latest supports for RH850 platforms. It included modules under review in Pull Request (PR). |
[Watchdog]: https://docs.zephyrproject.org/latest/hardware/peripherals/watchdog.html