samples/drivers: stm32l496g_disco: Enable ADC Sample

This commit enables ADC sample application to build and run on
stm32l496g_disco platform.

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
This commit is contained in:
Affrin Pinhero 2021-06-24 16:10:36 +05:30 committed by Anas Nashif
commit f102750f7e
2 changed files with 10 additions and 1 deletions

View file

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

View file

@ -5,7 +5,7 @@ tests:
tags: ADC
depends_on: adc
platform_allow: nucleo_l073rz disco_l475_iot1 cc3220sf_launchxl
cc3235sf_launchxl
cc3235sf_launchxl stm32l496g_disco
harness: console
timeout: 10
harness_config: