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

imxrt-multi: add PCT2075 I2C temperature sensor #506

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

jmaksymowicz
Copy link
Contributor

Added driver for PCT2075 temperature sensor to imxrt-multi.

Description

Implementation is the same as NCT75 driver already in the repo, but is integrated with the multidriver.

Configuration (bus number and device address) can be defined at compile time through board_config.h.

Motivation and Context

JIRA: NIL-586

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (refactoring, style fixes, git/CI config, submodule management, no code logic changes)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: imxrt1170

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

@jmaksymowicz jmaksymowicz self-assigned this Jul 19, 2024
Copy link

github-actions bot commented Jul 19, 2024

Unit Test Results

7 460 tests  ±0   6 745 ✅ ±0   36m 55s ⏱️ +16s
  420 suites ±0     715 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 1d80154. ± Comparison against base commit 99a6833.

♻️ This comment has been updated with latest results.

multi/imxrt-multi/imxrt-multi.c Outdated Show resolved Hide resolved
multi/imxrt-multi/i2c.h Outdated Show resolved Hide resolved
multi/imxrt-multi/i2c.h Outdated Show resolved Hide resolved
multi/imxrt-multi/pct2075.c Outdated Show resolved Hide resolved
multi/imxrt-multi/pct2075.c Outdated Show resolved Hide resolved
multi/imxrt-multi/pct2075.h Outdated Show resolved Hide resolved
Export functions from i2c.c to allow access to I2C busses from other
multidriver files.
Change some error codes returned from I2C driver.

JIRA: NIL-586
@Darchiv Darchiv merged commit 040859c into master Jul 23, 2024
30 checks passed
@Darchiv Darchiv deleted the jmaksymowicz/NIL-586 branch July 23, 2024 11:31
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.

3 participants