diff --git a/samples/drivers/adc/boards/stm32l496g_disco.overlay b/samples/drivers/adc/boards/stm32l496g_disco.overlay new file mode 100644 index 00000000000..2070247c4fe --- /dev/null +++ b/samples/drivers/adc/boards/stm32l496g_disco.overlay @@ -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>; + }; +}; diff --git a/samples/drivers/adc/sample.yaml b/samples/drivers/adc/sample.yaml index 71f0ce72ef1..419592a2f12 100644 --- a/samples/drivers/adc/sample.yaml +++ b/samples/drivers/adc/sample.yaml @@ -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: