We chose hardwaretest_serial_ok_20170223.tar.gz to demonstrate. This demo
needs an installed qtserialport support first. Is as follow:
$ cd ~
$ git clone git://code.qt.io/qt/qtserialport.git
$ cd qtserialport
$ git checkout 5.3 // for qt4 is “git checkout qt4-dev”
$ cd ../
$ mkdir qtserialport-build
$ cd qtserialport-build
$ qmake ../ qtserialport/ qtserialport.pro
$ make
$ sudo make install
Use SSH or USB Storage to put hardwaretest_serial_ok_20170223.tar.gz to
Chipsee Board. Now we are in Chipsee Board Debian system console:
Use the following command to build the Qt application:
$ tar zxvf hardwaretest_serial_ok_20170223.tar.gz
$ cd hardwaretest_serial
$ qmake
$ make
Modify the permission of serial ports device node
$ sudo chmod 666 /dev/ttymxc*
Run the hardwaretest_serial:
$ cd hardwaretest_serial
$ export DISPLAY=:0
$ ./hardwaretest_serial