tests/adc_api: add parameters for mec15xxevb_assy6853
This adds the parameters needed to get the test to build and to run. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
0539fdbe01
commit
6fae2eae4e
|
@ -163,6 +163,15 @@
|
|||
#define ADC_1ST_CHANNEL_ID 0
|
||||
#define ADC_2ND_CHANNEL_ID 1
|
||||
|
||||
#elif defined(CONFIG_BOARD_MEC15XXEVB_ASSY6853)
|
||||
#define ADC_DEVICE_NAME DT_ADC_0_NAME
|
||||
#define ADC_RESOLUTION 12
|
||||
#define ADC_GAIN ADC_GAIN_1
|
||||
#define ADC_REFERENCE ADC_REF_INTERNAL
|
||||
#define ADC_ACQUISITION_TIME ADC_ACQ_TIME_DEFAULT
|
||||
#define ADC_1ST_CHANNEL_ID 4
|
||||
#define ADC_2ND_CHANNEL_ID 5
|
||||
|
||||
#else
|
||||
#error "Unsupported board."
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue