-
Notifications
You must be signed in to change notification settings - Fork 792
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
Added servo component to the registry #419
base: master
Are you sure you want to change the base?
Added servo component to the registry #419
Conversation
👋 Hello pedrominatel, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Hi @pedrominatel Thanks for your contribution! |
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.
Thank you for your contribution. We've made some suggestions in response to your submission to guarantee that the style of the component is consistent with the repository. In addition, we suggest adding the servo component to the CI, you can refer to this link.
23af8b7
to
e03d757
Compare
Thank you very much @YanKE01 for your review and thoughts. |
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.
Hi, @pedrominatel . Thanks for your contribution. Some CI rules
and component specifications
still need your attention, and we've provided some reference suggestions.
@@ -0,0 +1,9 @@ | |||
version: 1.1.0 |
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.
As the first version of the servo component and being on the master branch, I suggest using 0.1.0 as the initial version. Additionally, you need to add a CHANGELOG.md
file to document the changes for each version. You can refer to other components in the repository, such as:
# ChangeLog
## v0.1.0 - 2024-11-27
### Enhancements:
* Initial version
@@ -574,6 +574,18 @@ build_example_motor_foc_knob: | |||
variables: | |||
EXAMPLE_DIR: examples/motor/foc_knob_example | |||
|
|||
build_example_motor_servo: |
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.
In addition to adding the servo component in build.yml
, it is also necessary to add rules for servo in rules.yml
to ensure that changes to servo and projects dependent on servo can trigger the CI. You can refer to any existing component in rules.yml
as a reference to complete the rule definition for servo.
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.
I did but I'm not sure if I did correctly. Can you kindly review it?
Thank you, @YanKE01.
LGTM! Hi, @leeebo , can you help review this again? Thank you. |
@pedrominatel LGTM! Thanks. Let's sync the PR first to run the CI |
sha=9eda883f174cda110b084a4cd1726fb336bc4e74 |
hi @pedrominatel please install pre-commit to the current repo using |
components/motor/servo/examples/servo_control/main/servo_control.c
Outdated
Show resolved
Hide resolved
components/motor/servo/examples/servo_control/main/servo_control.c
Outdated
Show resolved
Hide resolved
Thank you @leeebo. |
962b2d8
to
3be1564
Compare
sha=3be1564f71c950f970c5c17ac9b841e0bfdf39d9 |
Hi @pedrominatel , the github action Please manually create it.
|
Done. |
fix: Added copyright notice on the servo_control.c file fix: Added servo example to the patterns in the rules.yml fix: Typo fixed in the servo example pattern in the rules.yml fix: Typo fixed in the .rules:build:components_motor_servo_test_apps fix: Changes in the test script to reduce the test scope for multiple targets
420cc24
to
aa94cc6
Compare
Description
This PR adds the servo to the ESP Component Registry, including an example.
Related
close #419
Testing
N/A
Checklist
Before submitting a Pull Request, please ensure the following: