Renesas RX Zephyr Support - renesas/zephyr GitHub Wiki

The following content in this page describe current Zephyr support status for Renesas RX MCU family, for detail about RX MCU, please visit RX 32-Bit Performance / Efficiency MCUs

Table of contents

List of supported RX devices on Zephyr

Device name Status Samples and demo Hardware connection
EK-RX261 In-progress contribution to Zephyr main repo #90708 WIP branch available, detail information are described in the next part EK-RX261 Sample and Demo hardware configuration
FPB-RX261 In-progress contribution to Zephyr main repo #90708 WIP branch available, detail information are described in the next part FPB-RX261 Sample and Demo hardware configuration
RSK-RX130 Available on Zephyr main repository RSK-RX130 Zephyr documentation RSK-RX130-512KB Sample and Demo hardware configuration
QEMU RX Available on Zephyr main repository QEMU Zephyr documentation

HWIP support status

Renesas HW IP Mapping to Zephyr Status Board
I/O Ports GPIO Available RSK-RX130
SCI (UART) UART Available QEMU RX
CGC Clock control Available All available devices
CMT System Timer Available RSK-RX130, QEMU RX
MTU PWM Available RSK-RX130
RI2C I2C Available RSK-RX130
RSPI SPI Available RSK-RX130
ADC ADC In-progress review in upstream Zephyr repo #90203 Available in WIP branch RSK-RX130
Flash controller Flash In-progress review in upstream repo #89637 Available in WIP branch RSK-RX130
WDT Watchdog In-progress review in upstream repo #89914 Available in WIP branch RSK-RX130
DTC - Available in WIP branch RSK-RX130
LVD - Available in WIP branch RSK-RX130
LPC - Available in WIP branch RSK-RX130

Build and Flash guideline

For required tool and environment setup to develop Zephyr, please check: Getting started guide

Currently RX arch hasn't support on Zephyr SDK yet, so we need to setup GCC RX toolchain as "cross-compile" on Zephyr build system For reference, please visit https://docs.zephyrproject.org/latest/develop/toolchains/other_x_compilers.html

Following step are required for build and flashing Zephyr binary image to RX board

Software preparation:

NOTE: Please make sure that the installed software are added into environment PATH

Build environment setup:

  • Set Zephyr toolchain variant to cross compile: $ export ZEPHYR_TOOLCHAIN_VARIANT=cross-compile

  • Export toolchain PATH for Zephyr build system: $ export CROSS_COMPILE=<path/to/your/bin/rx-elf-

    e.g

    $ export CROSS_COMPILE=/opt/toolchains/gcc_8.3.0.202411_rx_elf/bin/rx-elf-

Build command: $ west build -b rsk_rx130@512kb -p always samples/basic/blinky

Flash command: $ west flash

WIP integration branch information

Branch name Information
wip_rx Summarize of feature added in this milestone for RX Zephyr: + Update base to Zephyr v4.2.0-rc1 + EK-RX261, FPB-RX261 and MCB-RX26T boards support (included SCI, Pinctrl, GPIO, CGC) Added the below drivers support (for EK-RX261, FPB-RX261 only) + I2C + SPI + Flash + ADC + LVD + WDT