adc: update adc sanity check with new platform name
Change-Id: I2f1e6362a5da3b4c1a799eae0137144b57e0e554 Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
This commit is contained in:
parent
a0a140f470
commit
39a985a045
3 changed files with 6 additions and 2 deletions
4
samples/nanokernel/apps/adc/prj_arc.conf
Normal file
4
samples/nanokernel/apps/adc/prj_arc.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
CONFIG_ADC=y
|
||||
CONFIG_ADC_DW=y
|
||||
CONFIG_ADC_DW_0=y
|
||||
CONFIG_NUM_IRQS=20
|
|
@ -33,7 +33,7 @@
|
|||
#define SLEEPTIME 10
|
||||
#define SLEEPTICKS (SLEEPTIME * sys_clock_ticks_per_sec)
|
||||
|
||||
#ifdef CONFIG_PLATFORM_QUARK_SE_ARC
|
||||
#ifdef CONFIG_PLATFORM_QUARK_SE_SS
|
||||
#define ADC_DEVICE_NAME CONFIG_ADC_DW_NAME_0
|
||||
#elif CONFIG_PLATFORM_GALILEO
|
||||
#define ADC_DEVICE_NAME CONFIG_ADC_TI_ADC108S102_0_DRV_NAME
|
||||
|
|
|
@ -3,4 +3,4 @@ build_only = true
|
|||
tags = apps
|
||||
|
||||
arch_whitelist = x86 arc
|
||||
platform_whitelist = galileo quark_se-arc
|
||||
platform_whitelist = galileo quark_se_ss
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue