vrmay23 opened a new pull request, #16153:
URL: https://github.com/apache/nuttx/pull/16153

   
   
[nucleo-f767zi.zip](https://github.com/user-attachments/files/19637559/nucleo-f767zi.zip)
   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   This is the pull request for the changes I've done for the stm32 
nucleo-f767zi board, fixing the issues to use the buttons.
   More information can be found at this ticket: 
https://github.com/apache/nuttx/issues/16097
   The 'core' fix was include the /dev/buttons at stm32_bringup.c file but it 
was not the only change. I have also added here the same logic used on 
stm32f103c8t6 (blue pill).
   
   This change was needed otherwise the buttons subsystems won't run at all.
   
   ## Impact
   
   Basically I've removed the internal board button by for GPIOs to be used by 
the user (for sure it is the main impact). At least now we can run the button 
subsystem.
   
   ## Testing
   
   I have test if for 1 week and although I've test it, and worked very well 
with 4 external push-buttons, there is 2 situation it is still not working.
   
   A – When I added 8 buttons, only 5 worked. It is NOT a hardware problem 
since I tested all the buttons with an oscilloscope. It’s also not an issue 
with the GPIOs I chose, because when I mix the GPIOs but use only 4 buttons, 
everything works as expected. However, when I use 8 buttons, the GPIOs that 
were previously working stop working completely (again, I can see the pulses on 
the oscilloscope, but there’s no feedback on nsh).
   
   B – Probably related to issue A.
   When I add the built-in button along with the 4 external buttons, the 
built-in button stops working. But when I use only the built-in button, it 
works fine.
   
   
   
![buttons](https://github.com/user-attachments/assets/5318150b-77a2-4ec3-a57a-38a3075de5fe)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to