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:
parent
8e02c4cdf4
commit
9fa62b810b
3 changed files with 26 additions and 1 deletions
12
samples/drivers/adc/boards/cc3220sf_launchxl.overlay
Normal file
12
samples/drivers/adc/boards/cc3220sf_launchxl.overlay
Normal 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>;
|
||||
};
|
||||
};
|
12
samples/drivers/adc/boards/cc3235sf_launchxl.overlay
Normal file
12
samples/drivers/adc/boards/cc3235sf_launchxl.overlay
Normal 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>;
|
||||
};
|
||||
};
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue