Skip to content

workaround NCP5623 and LP5562 I2C builds#9652

Merged
Jorropo merged 1 commit intomeshtastic:developfrom
Jorropo:fix/ci-dev
Feb 14, 2026
Merged

workaround NCP5623 and LP5562 I2C builds#9652
Jorropo merged 1 commit intomeshtastic:developfrom
Jorropo:fix/ci-dev

Conversation

@Jorropo
Copy link
Member

@Jorropo Jorropo commented Feb 14, 2026

Theses two appear to be buggy on r1-neo and nomadstar meteor pro, they rely on Wire.h being included previously to their import.

Idk why other platforms using the same smart LEDs are working while theses ones don't.

This should make CI green on the dev branch.

Theses two appear to be buggy on r1-neo and nomadstar meteor pro, they rely on Wire.h being included previously to their import.

Idk why other platforms using the same smart LEDs are working while theses ones don't.

This should make CI green on the dev branch.
@github-actions github-actions bot added needs-review Needs human review bugfix Pull request that fixes bugs labels Feb 14, 2026
@Jorropo Jorropo added the cleanup Code cleanup or refactor label Feb 14, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a workaround for I2C library dependency issues affecting the NCP5623 and LP5562 smart LED drivers on specific nRF52840 variants (r1-neo and nomadstar meteor pro). The NCP5623 and LP5562 libraries don't properly include Wire.h themselves, causing build failures on these platforms.

Changes:

  • Added explicit #include <Wire.h> before including the NCP5623 and LP5562 libraries
  • Aligns with existing I2C device patterns used throughout the codebase for similar devices

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/AmbientLightingThread.h Added Wire.h include before NCP5623.h to fix dependency issue
src/graphics/NomadStarLED.h Added Wire.h include before LP5562.h to fix dependency issue

@Jorropo Jorropo merged commit dbef1de into meshtastic:develop Feb 14, 2026
85 of 86 checks passed
portablestew pushed a commit to portablestew/meshtastic-firmware that referenced this pull request Feb 15, 2026
Theses two appear to be buggy on r1-neo and nomadstar meteor pro, they rely on Wire.h being included previously to their import.

Idk why other platforms using the same smart LEDs are working while theses ones don't.

This should make CI green on the dev branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes bugs cleanup Code cleanup or refactor needs-review Needs human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant