-
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
Standard Pin Names validation script update #14939
Conversation
@jeromecoutant, thank you for your changes. |
@@ -56,7 +56,7 @@ def find_target_by_path(target_path): | |||
|
|||
with open(target_path) as pin_names_file: | |||
pin_names_file_content = pin_names_file.read() | |||
|
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.
please remove spaces in separate commit
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.
PyCharm has removed them automatically...
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.
please remove spaces in separate commit
Done!
765c186
to
c7d9093
Compare
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.
One typo, otherwise LGTM!
hal/tests/pinvalidate/pinvalidate.py
Outdated
def legacy_arduino_uno_check(arduino_form_factor): | ||
invalid_items = [] | ||
if arduino_form_factor == True: | ||
message = "ARDUINO form factor is deprecated, should be replaced by ARDUIN_UNO" |
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.
message = "ARDUINO form factor is deprecated, should be replaced by ARDUIN_UNO" | |
message = "ARDUINO form factor is deprecated, should be replaced by ARDUINO_UNO" |
I'll wait with CI until the typo is fixed. |
This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please start CI to get the PR merged. |
Goal is to follow hal/include/hal/PinNameAliases.h
c7d9093
to
97cd8e9
Compare
Done |
Pull request has been modified.
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
2 new tests:
check if SPI and I2C alias are well defined as expected by
https://github.com/ARMmbed/mbed-os/blob/master/hal/include/hal/PinNameAliases.h
check if ARDUINO_UNO and not ARDUINO is well used
@gpsimenos @MarceloSalazar
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers