Skip to content

Conversation

@silabs-bozont
Copy link
Contributor

@silabs-bozont silabs-bozont commented Nov 11, 2025

This PR adds ADC support for the Arduino Nano Matter on its analog pins A0-A7.

Adds ADC capability to the A0-A7 pins on the board.

Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
@sonarqubecloud
Copy link

Copy link
Contributor

@pillo79 pillo79 left a comment

Choose a reason for hiding this comment

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

LGTM and thanks, just a minor fix request!

Comment on lines +90 to +99
zephyr,user {
io-channels = <&adc0 0>,
<&adc0 1>,
<&adc0 2>,
<&adc0 3>,
<&adc0 4>,
<&adc0 5>,
<&adc0 6>,
<&adc0 7>;
};
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this is Arduino-specific. It should be moved to the variant overlay in arduino/ArduinoCore-zephyr#255 (or a separate PR).

Copy link
Contributor Author

@silabs-bozont silabs-bozont Nov 12, 2025

Choose a reason for hiding this comment

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

I've included it here so users can get an enumeration of io-channels even outside of the Arduino Core, because the hardware is the same. Also other Silabs boards include these like here. If you have a strong opinion against including this here, I'm open to debate :)

Edit: I don't think io-channels is Arduino specific - it has many occurrences in this repo too.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, I thought having board-defined zephyr,user was verboten in Zephyr. Nevermind then! 🙂

@pillo79 pillo79 added this to the v4.4.0 milestone Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants