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:
parent
c53a1e8b32
commit
ec1ab6d104
1 changed files with 12 additions and 0 deletions
12
samples/drivers/adc/boards/atsamd21_xpro.overlay
Normal file
12
samples/drivers/adc/boards/atsamd21_xpro.overlay
Normal 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>;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue