-
Notifications
You must be signed in to change notification settings - Fork 3k
Dev i2c stm32f4hal #3238
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
Merged
Merged
Dev i2c stm32f4hal #3238
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2b53dfc
STM32: I2C: configure slave address with HAL API
LMESTM 0bee690
STM32: I2C: Don't use global init variables
LMESTM 490437a
STM32: I2C: Move up get_i2c_obj
LMESTM c2060e3
STM32: I2C: Add-up irq handlers
LMESTM d71537b
STM32: I2C: use irq helper function
LMESTM 79504a6
STM32: I2C: Change the slave API implementation to use ITs
LMESTM 42d89b0
STM32: I2C: Update Timeout computation
LMESTM ec95aa5
STM32: I2C: Reset I2C in case of errors to recover
LMESTM a50dc77
STM32: I2C: Change the master sync implementation to use ITs
LMESTM a65bacc
[STM32F4] Master receive sequential - fix for HAL I2C
LMESTM b491165
[STM32F4] Add few prints for I2C debug
LMESTM 3897d93
test i2c asynch: Remove printf usage from interrupt context
LMESTM 4c36b9c
test i2c asynch : test transfer return value
LMESTM e293e07
stm32f4 make comment more explicit
LMESTM File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
curiousity: what's the reasoning for this comment, should it be mentioned ??
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.
This is a requirement for get_i2c_obj function to work - if anyone changes this order, this would break the mechanism to get a pointer to the i2c_s object when having a pointer to the contained handle.
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 the explanation, it was not clear from the comment why there's that requirement
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.
ok - I'll update the comment to be more precise
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.
OK let me know once done . I'll go through the files once again, trigger CI afterwards
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.
done - I updated the comment