-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
10-bit addressing not supported by I2C slave driver for STM32 target #51060 #51119
Conversation
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.
Thanks for sharing. Some parts to fix.
Also, it would be nice to return an error in case 10bits address mode is tried to be configured for slave2 as it is not supported. For instance, in slave 2 code, add:
if (data->slave_cfg->flags == I2C_SLAVE_FLAGS_ADDR_10_BITS) {
return -EVINVAL;
}
Your pull request does not conform with Zephyr contribution guidelines. For reference, I'd advise you to check:
Please:
|
2c4d546
to
e257b15
Compare
4073f42
to
98580f1
Compare
0382d22
to
98580f1
Compare
@erwango I've removed my previous commits and pushed the commit that follows all the guidelines. The checks are waiting for approval. Can you please approve? |
d287fb2
to
1173244
Compare
1173244
to
dc39d0a
Compare
dc39d0a
to
75c0ce9
Compare
75c0ce9
to
4b6d52c
Compare
73928f8
to
901fe6a
Compare
a8d8339
to
2085ca3
Compare
2085ca3
to
97a93de
Compare
97a93de
to
9d1b11f
Compare
9d1b11f
to
23c55a2
Compare
Fixes zephyrproject-rtos#51060. Support for i2c 10-bit addressing in STM32 slave driver Signed-off-by: Ashwini M Shinde <AshwiniMShinde@eaton.com>
23c55a2
to
b9037e3
Compare
Please don't force push unless you are making changes, it removes the CI check passes and approvals |
I've been rebasing(Using rebase branch button here) from time to time as it shows "This branch is out-of-date" with the base branch. When I get all the approvals and all checks pass then merging gets blocked as it requires rebasing. This cycle goes on and its been long time I haven't been able to get my PR merged. Is this the right way? Is there any way to avoid this or did I miss anything? |
@AshwiniMShinde-eaton, May be you can request primary approvers/module owners to merge if they think it meets their expectations. due to time zone difference this issue may be surfacing again and again. what's your thoughts @FRASTM , @erwango and others? |
So long as there are no conflicts, its ok. |
@teburd Could you(or anyone who is authorized to merge this PR) please help to get this merged? |
When the release managers see this is ready to merge, which means there are at least 2 approvals including the assignee, and green CI, they merge it. There's filters the release managers use to periodically find PRs ready to merge and do so. |
I2C: Add 10-bit addressing support for I2C slave driver for STM32 target.
This patch adds changes that will help to register STM32 target as a slave with 10-bit addressing enabled