samples: drivers: stm32l562e_dk: Configuring ADC sample application

This commit configures ADC sample application using overlay. The ADC
sample has been tested in stm32l562e_dk platform.

Signed-off-by: Sidhdharth Yadav <sidhdharth.yadav@hcl.com>
This commit is contained in:
Sidhdharth Yadav 2021-06-29 13:28:21 +05:30 committed by Anas Nashif
commit de35942887

View file

@ -0,0 +1,12 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2021 STMicroelectronics
*/
/ {
zephyr,user {
/* adjust channel number according to pinmux in board.dts */
io-channels = <&adc1 13>;
};
};