Skip to content
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

boards/stm32: Fix ds1307 and move it to stm32/common #12166

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

acassis
Copy link
Contributor

@acassis acassis commented Apr 17, 2024

Summary

Fix ds1307 and move it to stm32/common

Impact

Other boards will be able to use it.

Testing

Only compilation

The ds1307 doesn't need to call i2c_register() because it is done
inside stm32_bringup.c

Signed-off-by: Alan C. Assis <[email protected]>
The DS1307 was used as board specific, but it is better move it to
stm32/common to be easily used by other boards as well.

Signed-off-by: Alan C. Assis <[email protected]>
@xiaoxiang781216 xiaoxiang781216 linked an issue Apr 17, 2024 that may be closed by this pull request
@simbit18
Copy link
Contributor

@acassis I think it is necessary to add the changes also cmake as well

@xiaoxiang781216 xiaoxiang781216 merged commit 9009cd6 into apache:master Apr 17, 2024
26 checks passed
@acassis
Copy link
Contributor Author

acassis commented Apr 17, 2024

@acassis I think it is necessary to add the changes also cmake as well

You are right! I'll fix it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How does I2C support various types of slave devices?
4 participants