|
Veethree D7 SDK
|
For this step in the walkthrough, we will use GUI Analog Read example. This application will demonstrate integrating the D7 SDK in a QML project that will run on both the host and the target device. At this step we’ll run on target. Running on the host requires Qt libraries installed and this is documented in a future step. It displays resistance readings from the built-in analog sensors. Each sensor is set up as a 1-wire resistance sensor.
For more information about all the available hardware interfaces and their configurations, please refer to the Hardware interfaces page.
Please refer to a. 1-wire resistance sensing (using VRSNS pins and AGND pin) to set up a one-wire resistor on VRSNS_0 pin.
Similar to the previous example, you will need to open a new terminal (on linux) or CMD window (on windows) then navigate to the D7 SDK installation directory and activate the development environment.
Activate the development environment shell to prepare the development shell for building the application
Linux
Windows
Navigate to application source directory to create build directory
Configure and build the application
Copy the file via SSH to the D7. Make sure the D7 is connected to the network and its IP address is known (see Connecting via SSH)
If the application was built on Windows, you will also need to mark the application as executable on the device:
You should now be able to run the application and, if you have connected any resistances as described in the test harness section, their values should be displayed on screen now.
Please refer to D7 software development kit examples for more GUI and CLI examples
In this page we have described configuring, building and running a QML application for the target device, as well as attaching resistances to the sensor pins in the AMPSEAL 35-way connector.
There are other example applications that explore other hardware interfaces, such as the 4-20mA interface or the Digital In/Out interface.
Building a CLI application using the D7 SDK
The previous steps, gave a walkthrough of building and running applications on the D7.
The next steps now is creating a software update image and flashing it onto the device. Next page