Software Development
Customizing and Developing Applications for ATDM with TorizonOS
Last updated
Customizing and Developing Applications for ATDM with TorizonOS
Last updated
This guide covers everything you need to know about customizing the ATDM Operating System and creating applications. The ATDM integrates a Toradex System on Module (SoM) and utilizes TorizonOS, alongside development tools from Toradex. These tools include:
Customization tools for the Torizon operating system.
Visual Studio Code-based plugins for application development.
The Torizon platform for remote monitoring and OTA updates.
Additionally, this document summarizes each hardware feature provided by ATDM and explains how to access these features from application software.
For more information on Torizon, visit the Toradex Torizon website.
This diagram provides an overview of the TorizonOS architecture. For detailed information, please refer to the TorizonCore Technical Overview.
This section explains how to customize TorizonOS using the TorizonCore Builder Tool. The Toradex documentation describes this tool, its installation process, and how to build various output formats.
The TorizonCore Builder Tool allows you to:
Add pre-provisioned Docker Containers (i.e., your application).
Set the splash screen.
Customize hardware settings via a specific device tree for ATDM.
Add external Kernel modules.
Customize Kernel arguments.
Capture configuration from a device, such as network manager settings for the LTE modem.
To demonstrate creating and running a simple Qt application on ATDM using a container in TorizonOS, follow these steps:
TorizonCore is installed on your ATDM.
Docker is installed and running on your development machine.
Visual Studio Code with Toradex Torizon extension installed.
Set Up Your Development Environment
Open Visual Studio Code.
Install the Torizon extension from the Visual Studio Code Marketplace.
Connect Visual Studio Code to your ATDM.
Create a Qt Application
Open the Torizon extension in Visual Studio Code.
Select "Create a new Torizon Project".
Choose "Qt for Python" as the project type.
Follow the prompts to set up your project.
Build the Docker Container
Open the terminal in Visual Studio Code.
Navigate to your project directory.
Build the Docker container using the following command:
Deploy the Application to ATDM
Once the Docker container is built, deploy it to your ATDM:
Run and Test the Application
Access your application through the IP address of your ATDM on the specified port.
Verify that the Qt application is running as expected.
Here is an example of a simple Qt application you can use:
This guide has shown you how to customize the TorizonOS on ATDM and create a simple Qt application to run in a Docker container. By following these steps, you can leverage the powerful tools provided by Toradex to develop and deploy applications on your ATDM devices.
For more detailed customization options and additional features, refer to the TorizonCore Builder Tool documentation.