samples: adc: add cc32xxsf_launchxl support

Add support for cc3220sf_launchxl, cc3235sf_launchxl boards

Signed-off-by: Pavlo Hamov <pasha.gamov@gmail.com>
This commit is contained in:
Pavlo Hamov 2021-02-17 22:33:37 +02:00 committed by Maureen Helm
commit 9fa62b810b
3 changed files with 26 additions and 1 deletions

View file

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

View file

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

View file

@ -4,7 +4,8 @@ tests:
sample.drivers.adc:
tags: ADC
depends_on: adc
platform_allow: nucleo_l073rz disco_l475_iot1
platform_allow: nucleo_l073rz disco_l475_iot1 cc3220sf_launchxl
cc3235sf_launchxl
harness: console
timeout: 10
harness_config: