-
Notifications
You must be signed in to change notification settings - Fork 3k
nrf52 - fix i2c/twi driver #11676
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
nrf52 - fix i2c/twi driver #11676
Conversation
@maciejbocianski, thank you for your changes. |
I could always tell whoever wrote the nrf i2c driver probably had not used it very extensively. Was really annoying bug, especially when trying to dump an accelerometers large sample buffer. Though using int like the mbed os api does is not much better. |
0e7cf55
to
4369743
Compare
Sync TWI driver to sdk version 15.3.0 to get rid of data length limitation
4369743
to
7cc0b61
Compare
Is this related to drivers using basic types like |
Just like But in practice, in Mbed OS-size embedded systems, But if assuming 32-bit ARM or bigger, then |
@0xc0170, @kjbracey-arm My main beef with int is its signed-ness and the fact that it provides no implication as to it's use. Maybe if we had an '''i2c_tranceive()''' function signed length would make sense. I joke. I am a huge fan of type defining for context as well. |
I'm aware that there's a large contingent of people who regard the unsignedness of
Agreed - if doing that, I'd prefer to have some sort of |
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Sync TWI driver to sdk version 15.3.0 to get rid of data length limitation
Description
Pull request type
Reviewers
@jamesbeyond
Release Notes