application: Add example application startup script and ressources.
[meta-kc-bsp.git] / recipes-bsp / application / files / StartApplication.sh
1 #!/bin/sh
2 echo "Starting application..."
3
4 # export gpio
5
6 #echo 503 > /sys/class/gpio/export
7 #echo out > /sys/class/gpio/gpio503/direction
8
9
10 # set up environment
11
12 export QT_QPA_FONTDIR=/usr/share/fonts/truetype
13 export FB_MULTI_BUFFER=2
14 rmmod evbug
15
16
17 # run application
18
19 Qt5_CinematicExperience -platform eglfs&
20