cancel
Showing results for 
Search instead for 
Did you mean: 

How to use gtk & device file together

stomo.1
Associate II

bord: STM32MP157-EV1

I want the LCD to display messages received by UART communication.

However, when I run GTK with the command below, I get an error because I can't access the device file.

su -l weston -c "/usr/local/xxxx"

What should I do?

4 REPLIES 4
Kevin HUBER
ST Employee

Hello @stomo.1​ ,

Please can you share with us the complete error log.

Best Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
stomo.1
Associate II

command: su -l weston -c "/usr/local/gtk_hello_world2"

stop program

command: /usr/local/gtk_hello_world2

error "Gtk-WARNING"

Best Regrds,

stomo.1

stomo.1
Associate II

This is c.file

stomo.1
Associate II

Makefile