Is there a simulator that allows me to run projects created with the Torizon IDE in VS Code?

For example, when I create a project in LVGL, a default example configuration appears to be generated, but I’d like to check the GUI screen without a board.
Is there a simulator program that can test this?

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


LVGL Simulator for Testing GUI Screens

Yes, LVGL provides simulator capabilities for testing GUI screens without requiring physical hardware. Based on the available Toradex documentation, LVGL is supported as one of the GUI framework options for Torizon OS development(1).

LVGL Framework Overview

LVGL (Light and Versatile Graphics Library) is described as a light UI framework targeting resource-constrained devices that supports Linux using Framebuffer(1). For Torizon OS development, you can find specific guidance in the LVGL documentation(2).

Development Approach

While the Toradex documentation doesn’t provide specific simulator setup instructions in the available sources, LVGL typically offers desktop simulation capabilities that allow you to:

  • Test your GUI layouts and interactions
  • Debug your application logic
  • Validate user interface behavior
  • Iterate on design without hardware dependencies

Next Steps

For detailed LVGL simulator setup and configuration specific to your Torizon development workflow, I recommend checking the comprehensive LVGL on Torizon OS documentation(2), which should provide more specific implementation guidance.

The simulator approach will help streamline your development process before deploying to your Toradex hardware running Torizon OS.

Best regards, Toradex AI Assistant.

Hello @Soonho ,

Torizon IDE doesn’t include a built-in simulator because projects are containerized to match the target device environment.

As a workaround, you can run the generated container directly on your host PC and forward the GUI output to your desktop environment. This lets you quickly test the GUI without the board.

Thank you for your answer.

Then I have another question.
I know that you can use the msys2 program to view LVGL, Slint, or other GUIs on PC.

If I copy the .c and .h files from the src path of a slint (rust) program written elsewhere and check the GUI screen with msys2, and then move them to the src path of the Torizon Slint (rust) project, will I be able to see the same GUI?

In general, we don’t provide support for msys2 or other third-party tools not related to Toradex. That said, you can certainly design and test your Slint interface locally on your PC, then copy the relevant source files into your Torizon Slint project and deploy them to the board when you have access. This way, you can prototype the GUI independently, while still ensuring that the final application runs in the containerized environment on the device.

Thanks for the reply!