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:
parent
cd887d0f93
commit
f102750f7e
2 changed files with 10 additions and 1 deletions
9
samples/drivers/adc/boards/stm32l496g_disco.overlay
Normal file
9
samples/drivers/adc/boards/stm32l496g_disco.overlay
Normal 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>;
|
||||
};
|
||||
};
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue