samples: drivers: adc: Add a device tree overlay for atsamd21_xpro

Add a basic device tree overlay to support the use of the ATSAMD21 XPro
dev board with the ADC sample application.

Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>
This commit is contained in:
Attie Grande 2021-12-21 03:31:46 +00:00 committed by Carles Cufí
commit ec1ab6d104

View file

@ -0,0 +1,12 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2021 Argentum Systems Ltd.
*/
/ {
zephyr,user {
/* EXT-1, pin 3 ADC(+) */
io-channels = <&adc 8>;
};
};