Skip to content

Codex-generated pull request#23

Closed
soburi wants to merge 1 commit into
connectordeffrom
codex/review-last-three-commits
Closed

Codex-generated pull request#23
soburi wants to merge 1 commit into
connectordeffrom
codex/review-last-three-commits

Conversation

@soburi
Copy link
Copy Markdown
Owner

@soburi soburi commented Feb 11, 2026

Codex generated this pull request, but encountered an unexpected error after generation. This is a placeholder PR message.


Codex Task

Copilot AI review requested due to automatic review settings February 11, 2026 21:41
Copy link
Copy Markdown

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

Updates ArduinoCore-Zephyr devicetree handling to ignore disabled GPIO controllers when building global GPIO lookup tables, and aligns the configuration guide with the connector type the core actually supports.

Changes:

  • Document that the board connector node label is expected to be arduino_header with compatible = "arduino-header-r3".
  • In Zephyr GPIO controller enumeration macros, treat disabled GPIO controllers as present-but-empty (nullptr device / 0 ngpios) to keep array indexing consistent and avoid using non-okay nodes.
  • Filter ZARD_ALL_GPIO_CTLR to include only status = "okay" GPIO controllers.

Reviewed changes

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

File Description
documentation/configuration-guide.md Clarifies the expected Arduino connector label/compatible used by this core.
cores/arduino/zephyrCommon.cpp Ensures disabled GPIO controllers contribute 0 ngpios (consistent with nullptr device entries) when deriving port/pin tables.
cores/arduino/Arduino.h Filters GPIO controller node list to status = "okay" for connector-derived global pin offset calculations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@soburi soburi closed this Feb 11, 2026
@soburi soburi deleted the codex/review-last-three-commits branch February 21, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants