cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO control with GUI in stm32Mp135

Ranjeet Singh
Senior

i have print the hello board on stm32mp135 board using below path.

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Create_a_simple_hello-world_application 

now i want to control gpio pin with this GUI .

how i can do this ?

1 REPLY 1
Erwan SZYMANSKI
ST Employee

Hello @Ranjeet Singh ,
You can use libgpio from userland to access GPIOs functionalities from a user application. Please check out this wiki article : https://wiki.st.com/stm32mpu/wiki/How_to_control_a_GPIO_in_userspace#GPIO_control_through_your_own_application

From GTK, you have to check the documentation of the UI framework. For buttons you have a callback function that can call whatever you want behind, and so libgpio ...

Kind regards,
Erwan.

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.