13. Quick Start for Renesas RX
13.1. Supported Environments
Operating System |
Windows: Windows 10 / Windows 11 Linux: Ubuntu 22.04 / Ubuntu 24.04 macOS: macOS 14 Sonoma (Apple silicon) / macOS 15 Sequoia (Apple silicon) |
VS Code version |
1.102.0 (minimum) |
VS Code can be downloaded and installed from this page https://code.visualstudio.com/.
13.2. Installation
Please choose your operating system for operating system dependent installation steps.
For the Renesas RX Family, Renesas Platform provides a straightforward installation wizard to install the CMake, Ninja, Python and the Support Files for RX Family. To set up your environment:
Open VS Code.
Navigate to the “Renesas” tab in VS Code. Then, click “Renesas Quick Install” in the “Environment” view.
Click the “Install” button for the “Renesas RX” device family. The Renesas Platform will now check the dependencies required by the Renesas RX Device Family. The Renesas Platform extension will check the local environment and CMake, Ninja, Python and the Support Files for RX Family, then create an installation plan for them if necessary.
When your selection is ready, click the “Start Installations” button. The download and installation process will start automatically.
Installing the latest RX Smart Configurator (RX SC):
Download and install the latest version of RX Smart Configurator
https://www.renesas.com/en/software-tool/rx-smart-configurator#downloads
Note
Renesas Platform extension scans for changes at start-up, thus, after installing the Renesas RX Smart Configurator, please restart VS Code to force Renesas Platform to detect the recent RX Smart Configurator installation.
You can click “Manage Smart Configurators” to check the detected Smart Configurators. If it is not automatically detected, you can use the “Register SC” button to register the Smart Configurator manually by selecting the path of the Smart Configurator.
Installing Toolchains for RX Development:
Install one of the preferred toolchains for RX Project Build. It is recommended to use either “CC-RX” or “GCC for Renesas GNURX”.
Installing and Configuring “CC-RX” toolchain
For installing “CC-RX”:
Download and install the latest toolchain:
https://www.renesas.com/us/en/software-tool/cc-compiler-package-rx-family
Add the bin folder of the toolchain as “RENESAS_RXC_TOOLCHAIN_PATH” to the environment variables.
Configuring RENESAS_RXC_TOOLCHAIN_PATH environment variable
Use Window search to find and open “Edit the system environment variables”
In “Advanced” tab, click on “Environment Variables…” button to open “Environment Variables” dialog
Click to “New…”.
Enter the “RENESAS_RXC_TOOLCHAIN_PATH” to the Variable name field, and click to “Browse Directory…” to select the bin folder of the toolchain. Then click “OK”.
Note
For building CC-RX projects without using RX Smart Configurator, add “BIN_RX”, “INC_RX” and “TMP_RX” variables to the environment variables with the following values:
BIN_RX: bin folder of the CC-RX toolchain (e.g.: C:\Toolchains\CCRX\3_6_0\bin).
INC_RX: include folder of the CC-RX toolchain (e.g.: C:\Toolchains\CCRX\3_6_0\include).
TMP_RX: root folder of the CC-RX toolchain (e.g.: C:\Toolchains\CCRX\3_6_0).
Installing and Configuring “GCC for Renesas GNURX” toolchain
For installing “GCC for Renesas GNURX”:
Download and install the latest toolchain:
Add the bin folder of the toolchain as “RENESAS_GCCRX_TOOLCHAIN_PATH” to the environment variables.
Note
Configuring RENESAS_GCCRX_TOOLCHAIN_PATH environment variable:
Use Window search to find and open “Edit the system environment variables”
In “Advanced” tab, click on “Environment Variables…” button to open “Environment Variables” dialog
Click to “New…”.
Enter the “RENESAS_GCCRX_TOOLCHAIN_PATH” to the Variable name field, and click to “Browse Directory…” to select the bin folder of the toolchain. Then click “OK”.
Installing Additional Emulator Drivers
You may need to download and install additional USB drivers for establishing a connection with the emulators and devices. Please install the latest drivers before starting your debug session. Use the following links to download the drivers suitable for your operating system and device:
For other Renesas emulators, please check for any recommended drivers:
For the Renesas RX Family, Renesas Platform provides a straightforward installation wizard to install the CMake, Ninja, Python and the Support Files for RX Family. To set up your environment:
Open VS Code.
Navigate to the “Renesas” tab in VS Code. Then, click “Renesas Quick Install” in the “Environment” view.
Click the “Install” button for the “Renesas RX” device family. The Renesas Platform will now check the dependencies required by the Renesas RX Device Family. The Renesas Platform extension will check the local environment and CMake, Ninja, Python and the Support Files for RX Family, then create an installation plan for them if necessary.
When your selection is ready, click the “Start Installations” button. The download and installation process will start automatically.
Most of the installations will be performed automatically, some installations may require manual interaction.
During the “Python 3.10” installation, the terminal wizard will appear for manual interaction. The terminal will show the execution plan and ask for confirmation before continuing. During the installation, it requires administrative rights to execute the installation, thus a password could be needed during the installation. Please make sure that the current user has “sudo” permissions and enter the password.
Installing Toolchains for RX Development:
Install one of the preferred toolchains for RX Project Build. It is recommended to use either “CC-RX” or “GCC for Renesas GNURX”.
Installing and Configuring “CC-RX” toolchain
For installing “CC-RX”:
Download and install the latest toolchain:
https://www.renesas.com/us/en/software-tool/cc-compiler-package-rx-family
Installing and Configuring “GCC for Renesas GNURX” toolchain
For installing “GCC for Renesas GNURX”:
Download and install the latest toolchain:
Installing Additional Emulator Drivers
You may need to download and install additional USB drivers for establishing a connection with the emulators and devices. Please install the latest drivers before starting your debug session. Use the following links to download the drivers suitable for your operating system and device:
For other Renesas emulators, please check for any recommended drivers:
For the Renesas RX Family, Renesas Platform provides a straightforward installation wizard to install the CMake, Ninja, Python and the Support Files for RX Family. To set up your environment:
Open VS Code.
Navigate to the “Renesas” tab in VS Code. Then, click “Renesas Quick Install” in the “Environment” view.
Click the “Install” button for the “Renesas RX” device family. The Renesas Platform will now check the dependencies required by the Renesas RX Device Family. The Renesas Platform extension will check the local environment and CMake, Ninja, Python and the Support Files for RX Family, then create an installation plan for them if necessary.
When your selection is ready, click the “Start Installations” button. The download and installation process will start automatically.
Most of the installations will be performed automatically, some installations may require manual interaction.
During the “Python 3.10” installation, the terminal wizard will appear for manual interaction. The terminal will show the execution plan and ask for confirmation before continuing. During the installation, it requires administrative rights to execute the installation, thus a password could be needed during the installation. Please make sure that the current user has “sudo” permissions and enter the password.
Installing Toolchains for RX Development:
Install one of the preferred toolchains for RX Project Build. It is recommended to use either “CC-RX” or “GCC for Renesas GNURX”.
Installing and Configuring “CC-RX” toolchain
For installing “CC-RX”:
Download and install the latest toolchain:
https://www.renesas.com/us/en/software-tool/cc-compiler-package-rx-family
Installing and Configuring “GCC for Renesas GNURX” toolchain
For installing “GCC for Renesas GNURX”:
Download and install the latest toolchain:
Installing Additional Emulator Drivers
You may need to download and install additional USB drivers for establishing a connection with the emulators and devices. Please install the latest drivers before starting your debug session. Use the following links to download the drivers suitable for your operating system and device:
For other Renesas emulators, please check for any recommended drivers:
To utilise the Renesas extensions on macOS, it’s necessary to install:
Homebrew
XZ Archive Utilities
First, install Homebrew (brew), which is an open-source software package management system that manages the installation of software for macOS. For installation and more information about Homebrew, please refer to https://brew.sh/.
After installing the Homebrew, install the “XZ Archive Utilities” by using brew install xz command.
$ brew install xz
For the Renesas RX Family, Renesas Platform provides a straightforward installation wizard to install the CMake, Ninja, Python and the Support Files for RX Family. To set up your environment:
Open VS Code.
Navigate to the “Renesas” tab in VS Code. Then, click “Renesas Quick Install” in the “Environment” view.
Click the “Install” button for the “Renesas RX” device family. The Renesas Platform will now check the dependencies required by the Renesas RX Device Family. The Renesas Platform extension will check the local environment and CMake, Ninja, Python and the Support Files for RX Family, then create an installation plan for them if necessary.
When your selection is ready, click the “Start Installations” button. The download and installation process will start automatically.
Most of the installations will be performed automatically, some installations may require manual interaction.
During the “Python 3.10” installation, the terminal wizard will appear for manual interaction. The terminal will show the execution plan and ask for confirmation before continuing. During the installation, it requires administrative rights to execute the installation, thus a password could be needed during the installation. Please make sure that the current user has “sudo” permissions and enter the password.
Installing Toolchains for RX Development:
Install the “GCC for Renesas GNURX” toolchain for RX project development in macOS operating system. For installing “GCC for Renesas GNURX”:
Download and install the latest toolchain:
Installing Additional Emulator Drivers
You may need to download and install additional USB drivers for establishing a connection with the emulators and devices. Please install the latest drivers before starting your debug session. Please check for the recommended drivers:
13.3. Creating a Project
For RX device family projects, Smart Configurator can be accessed via the “Create Project” view in the “Renesas” tab. Please use the following instructions to create and build a project for RX device family.
Navigate to “Renesas” and click [Create Renesas RX project] from the commands.
Select [Create RX Project with Smart Configurator] option from the list.
Then, VSCode will show installed [RX Smart Configurator] list, select a [Smart Configurator] from the list.
Select a [Folder] to create the project.
Enter [File name], configure your board and device type, select either [Renesas RXC Toolchain] or [GCC RX Toolchain], and then click [Next].
Choose one of the [Bank mode setting] (applicable for some devices) then click [Finish] to complete the project creation steps.
Click [Generate Code] and close [RX Smart Configurator] after generation of the project files completes.
13.4. Building the Project
For building a project, which has been created with RX Smart Configurator, please follow the steps below:
In the VS Code Command Palette, run the “CMake: Delete Cache and Reconfigure” command.
In the first time of running, a kit selection is shown. Select “[Unspecified]”.
In VS Code, click [Terminal] ⇒ [Run Build Task] from the menu. Alternatively, press ctrl+shift+B to quickly open the Build task.
Select [Build Project] from the commands.
TIP: For more information about RX Smart Configurator, click here to visit the RX Smart Configurator page.
13.5. Debugging the Project
A debug session can be started by selecting the created configuration and clicking the [Start Debugging] button in the [Run and Debug] tab, or pressing [F5] from the keyboard.

When VS Code starts the debug session, common debug control flow functions like resume, suspend, step into, step over, step out, restart, terminate debug session can be performed via the debug flow control buttons. Also, the [Debug Console] view will contain useful messages during the debug session.

During the debug session, details about the local variables, device registers, call stack, watched variables, states of the peripherals can be accessed at the primary sidebar of VS Code in the [Run and Debug] tab.
