Setting up Development Environment

This section covers the details of setting up your development environment.

Pre-Requisites

Before proceeding with the setup, ensure that the following system and hardware requirements are met.

System Requirements

Component Requirement
Operating System Virtual machine capable Windows or modern Linux distributions (Ubuntu 22.04)
Processor Dual-core
Memory 8 GB of RAM
Disk Space 20 GB of free disk space

Hardware Requirements

The following hardware components are required for development:

Component Purpose Link
MConn Display Main embedded platform for development Link
Programming Cable Used to power MConn Display and CAN communacition flash or program device
RJ45 Ethernet Cable Software/Application deployment and debugging
12V Power Supply (min 2A) Powering up MConn unit
AMPSEAL 776164 Connector (optional) Mating connector for Power, GPIOs, and CAN bus Link
AMPSEAL 776273 Connector (optional) Mating connector for Analog Cameras, Audio Out, and Mic In Link

Desktop Environment Setup for Cross-Compilation

You can set it up yourself or get a pre-configured virtual machine from MRS Electronic.

Important
The document solely focuses on development on a Linux host. However, it can be set up on a Windows host as well. For more details, contact MRS Electronic.
There are multiple virtualization techniques, but the document focuses on setting up an Ubuntu development environment using VirtualBox.

Download the latest version of VirtualBox according to your device’s architecture.

Pre-Configured Machine

If you are using a pre-configured virtual machine from MRS, you can simply install it and jump to the Setting Up MConn section. The virtual machine is already setup for the development and cross-compiling.

Manual Configuration

To configure your machine manually, proceed with the installation steps below:

Required Permissions

You require admin privileges to perform the steps of installation.

Software Requirements

Software Type Ubuntu 22.04
Build Essential Tools build-essential
Qt 5.12.9 Dependencies libxcb1 libxcb1-dev libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev
Development Libraries libgl1-mesa-dev libglu1-mesa-dev libxrender-dev libfontconfig1-dev
Other Useful Tools pkg-config git cmake

Installation Steps

  1. Install the latest version of Ubuntu.
  2. Follow this tutorial to configure your machine.
  3. Setup Qt development environment by downloading the latest version of Qt. At the time of writing this document, the MRS Display has Qt 5.12.9 installed. Navigate to this link to find the steps to install Qt5 in Ubuntu.
Important
Depending on your deployment strategy, you can either purchase Qt Commercial or begin development using the Open-source version of Qt, which is free. Consult your lawyers regarding the suitable version for your application.
  1. Run the installer to begin the installation process.
Information
To attain the steps to set up a cross-compile toolchain for Qt to allow the deployment of application to the Display, contact MRS Electronic.

The development environment is now all set.