-
Notifications
You must be signed in to change notification settings - Fork 3k
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
STM32_gen_PeripheralPins.py : TargetName correction #14594
Conversation
@jeromecoutant, thank you for your changes. |
@@ -83,6 +83,7 @@ | |||
MCU_USERNAME= "" | |||
TIM_MST = "" | |||
ALTERNATE_DEFINITION = 0 | |||
TargetName = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rest are in capital letters, why not TargetName?
Why it was actually put into global scope?
Is this fixing -m
option as issue reported ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest, I don't follow any strict coding rules for my personal script :-)
About the issue, it came since the addition of the target name in the PinNames.h file.
I have added it, but script can also create mbed files from only a MCU
So script is now keeping the empty field, up to user to manually update it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest, I don't follow any strict coding rules for my personal script :-)
Just to be consistent , it would be TARGET_NAME
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0xc0170 done
@jeromecoutant, thank you for your changes. |
2ad6448
to
7150c06
Compare
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
I'm missing some standard names in 6.10.0 for DISCO_F469NI like: have these been renamed or is it still a problem with the automatic generation? |
Hi These aliases are defined on arduino pins, and are now defined in: I think you are right... I should add back |
Thanks, yes, otherwise it will break a lot of projects with this incompatible change. |
@jeromecoutant pull request incoming? or still worth creating an issue for this ? |
Agree @JojoS62 please raise a new issue I will push a global PR for all STM targets |
Summary of changes
Fixes #14590
@leichunyang
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers