2025-06-06 6:25 AM - last edited on 2025-06-09 5:49 AM by STTwo-32
Hello,
I am a beginner following this official ST tutorial: https://www.youtube.com/playlist?list=PLnMKNibPkDnFPqEmJAwEjsSS8MOQZHRNF
I am trying to assign specific GPIO pins (for a BUTTONs and an LEDs) to a specific core. However, when I right-click a pin in the Pinout & Configuration view, the "Pin Reservation" option is missing from the context menu.
Could you please help me understand what configuration is needed to enable this feature?
My Setup:
I have attached a screenshot.
Thank you in advance for your help.
2025-06-09 5:54 AM
Hello @maborbaa
This behavior is already known on the Current STM32CubeMX (as mentioned on this post). It will be implemented on the Future.
Best Regards.
STTwo-32
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.
2025-06-09 6:27 AM
Thank you for your reply @STTwo-32
I understand that this feature has not been implemented. Could you suggest another solution, then? In this course (Youtube), proposes the configuration below.
This is my first study to work with the cores, and I’m just getting started, so it’s really a basic approach. I truly appreciate your support.
Thanks again!
2025-06-10 3:22 AM
Hello @maborbaa
For now the only way to do that it is to generate the project without GPIO configuration throw CubeMX. After that in each main.c file or gpio.c if available, you need to create a MX_GPIO_Init() function where you have to initialize each pin to it function.
Best Regards.
STTwo-32
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.