Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MX_Device.h: Pin Configuration Not Generated #65

Closed
DavidLesnjak opened this issue Jul 16, 2024 · 0 comments · Fixed by #66
Closed

MX_Device.h: Pin Configuration Not Generated #65

DavidLesnjak opened this issue Jul 16, 2024 · 0 comments · Fixed by #66
Assignees
Labels
bug Something isn't working

Comments

@DavidLesnjak
Copy link
Collaborator

Describe the bug
The MX_Device pin define generation process fails to include pins when their label contain a space character.

To Reproduce

  1. Create csolution&cproject for STM32 device.
  2. Run the CubeMX generator.
  3. In STM32CubeMX enable SPI peripheral and add label that includes space character to SPI MOSI pin (example: "SPI MOSI"). Click generate code
  4. Open Generated MX_Device.h. Pin configuration for SPI MOSI pin is missing

Expected behavior
The pin defines should be generated regardless of any spaces present in the pin label.

@DavidLesnjak DavidLesnjak added the bug Something isn't working label Jul 16, 2024
@DavidLesnjak DavidLesnjak self-assigned this Jul 16, 2024
@DavidLesnjak DavidLesnjak linked a pull request Jul 16, 2024 that will close this issue
@bgn42 bgn42 closed this as completed in #66 Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant