samples: drivers: adc: Add sam0 boards overlays

Add sam0 boards overlays to demostrate how to configure io-channels.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2021-08-31 22:11:12 -03:00 committed by Christopher Friedt
commit 3d85dd8cdc
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,12 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2021 Gerson Fernando Budke <nandojve@gmail.com>
*/
/ {
zephyr,user {
/* EXT-1 ADC(+) */
io-channels = <&adc1 6>;
};
};

View file

@ -0,0 +1,12 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2021 Gerson Fernando Budke <nandojve@gmail.com>
*/
/ {
zephyr,user {
/* EXT-1 ADC(+) */
io-channels = <&adc 6>;
};
};