C
Getting Started on Renesas
Overview
This topic provides an overview of the Renesas platforms supported by Qt Quick Ultralite
Configure the Qt Creator IDE
Assuming that you have all the prerequisites installed, follow these instructions to configure the Qt Creator IDE for Renesas boards:
To develop for MCUs using the Qt Creator IDE, the MCU plugin is required. Qt Online Installer enables it by default when you install the Qt for MCUs SDK.
To enable or disable the plugin, follow these instructions:
- Select Help > About Plugins and choose the MCU Support plugin from the list.
- Restart Qt Creator to apply changes
To build and run your application on MCUs, you must create a kit:
- Select Edit > Preferences > Devices > MCU
- If not already set, provide the path to the Qt for MCUs installation directory.
- Select a Target supported by the Qt for MCUs SDK. For example, Qt for MCUs 2.2 - Desktop 32bpp.
- In the Requirements section, ensure that the platform-specific requirements are met.
- Select Automatically create kits for all available targets on start to create kits automatically.
Note: You could also manually create/remove kits using Create Kit and Remove Kit.
- Click Apply and restart Qt Creator if you choose to create kits automatically.
You could also set up the development environment from the command prompt. See Command-line Setup for Renesas Boards for more information.
Building applications with prebuilt Qt Quick Ultralite libraries
Open the CMake project file for the example you want to build and configure it with the kit you created earlier. Once the project is configured, select Run or press Ctrl+r on your keyboard to build and flash the binary to the target.
Debugging using Renesas e2 Studio
You can use Renesas e2 studio to debug applications built with Qt Quick Ultralite.
The following instructions guide you to start debugging on RH850 for example:
- Open Renesas e2 studio
- Create new C/C++ Project
- Select Renesas Debug Only Project
- Enter Project name and click Next >
- Select Debug hardware depending on the debug probe you have. For example, E1 (RH850) or E2 (RH850).
- Select RH850 > RH850/D1M1A-V2 > R7F701462 for example as a Target Device
- Provide executable path to binary you want debug. For example,
C:\Qt\QtMCUs\2.0.0\build_rh850\examples\chess\chess.run
. - Select Finish
- Select Launch in 'Debug' mode
- GDB server will upload your binary to the target and start debugging
Supported Renesas Boards
Tier 1: Reference Targets
Hardware board | MCU | Compiler | Operating system(s) |
---|---|---|---|
RH850/D1M1A Evaluation Board | RH850/D1M1A (R7F701461) | Green Hills MULTI 7.1.6, Compiler 2015.1.7 or 2018.1.5 | Bare Metal |
Tier 2: Verified Targets
Available under certain Qt licenses.
Find out more.