Skip to main content
stomo.1
Associate II
December 9, 2022
Question

How to use gtk & device file together

  • December 9, 2022
  • 4 replies
  • 3759 views

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?

This topic has been closed for replies.

4 replies

Kevin HUBER
Technical Moderator
December 9, 2022

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.NEW ! Sidekick STM32 AI agent, see here
stomo.1
stomo.1Author
Associate II
December 12, 2022

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
stomo.1Author
Associate II
December 12, 2022

This is c.file

stomo.1
stomo.1Author
Associate II
December 12, 2022

Makefile