DESK-MX6-L/Development/Application examples

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes
2024/06/13 DESK-MX6-L-4.x.x release



Application examples[edit | edit source]

Hello world C[edit | edit source]

This page shows how to create and cross-compile the first C source code application: the classic Hello World!

Hello world Python[edit | edit source]

This page provides an example of how to use the embedded Python interpreter language. The python3 is provided by default into dave-image-devel-desk DAVE Embedded Systems' standard Yocto distribution

Flutter embedded[edit | edit source]

Flutter application can easily run once the flutter runtime is installed in the target.

flutter demo on SBC ORCA can run on AXEL Lite too

Java Virtual Machine[edit | edit source]

See this article for performance comparison of different free available JVMs

node.js[edit | edit source]

An example on how to install node.js and using a GPIO or create an web server can be found here

Chromium browser[edit | edit source]

A web-based application can run in the target using the embedded Chromium available in the desk-image-x11-browser-desk-mx6.wic.bz2 SD image built with Yocto

Chromium browser running on AXEL Lite

Date and Time[edit | edit source]

This page describes how to keep system date and time synchronized using the NTP services

NTP date and time

Package management[edit | edit source]

It is possible to install other - already built - packages in the target using dnf package manager

dnf package manager

Framebuffer capture[edit | edit source]

Using fbgrab utility, it is possible to capture a framebuffer screenshot

framebuffer screenshot

GPIOs[edit | edit source]

The custom hardware device tree can be properly modified for adding led and pushbuttons control via native led class and key event input kernel devices

Led and pushbutton on AXEL Lite EVK

eth1 ethernet interface[edit | edit source]

On AXEL Lite SOM - based on i.MX6 system-on-chip which has only one ethernet interface - it is possible to easily add a second ethernet interface (i.e. eth1) just connecting an USB ethernet adapter.

Add an additional ethernet interface