boards/arm/samv7/same70-xplained: update adc defconfig with DMA support
Updates defconfig for example application to take the advantage of DMA support and Timer/counter trigger. Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
parent
ce53ea5da6
commit
500738757f
@ -1317,6 +1317,10 @@ Configuration sub-directories
|
||||
ADC (AFEC) driver. Data can be read through channel AFE0_AD0 by
|
||||
running application "adc" in NuttShell.
|
||||
|
||||
The ADC is triggered by Timer/counter at 1 kHz frequency and uses
|
||||
DMA to transfer samples. Number of transfered samples can be set
|
||||
by configuring CONFIG_SAMV7_AFEC_DMASAMPLES.
|
||||
|
||||
mrf24j40-starhub
|
||||
|
||||
This configuration implements a hub node in a 6LoWPAN start network.
|
||||
|
@ -36,9 +36,8 @@ CONFIG_AT24XX_SIZE=2
|
||||
CONFIG_BOARD_LOOPSPERMSEC=51262
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_EXAMPLES_ADC=y
|
||||
CONFIG_EXAMPLES_ADC_GROUPSIZE=1
|
||||
CONFIG_EXAMPLES_ADC_GROUPSIZE=3
|
||||
CONFIG_EXAMPLES_ADC_NSAMPLES=1000
|
||||
CONFIG_EXAMPLES_ADC_SWTRIG=y
|
||||
CONFIG_FAT_LCNAMES=y
|
||||
CONFIG_FAT_LFN=y
|
||||
CONFIG_FS_FAT=y
|
||||
@ -61,12 +60,16 @@ CONFIG_RAM_START=0x20400000
|
||||
CONFIG_RAW_BINARY=y
|
||||
CONFIG_RR_INTERVAL=200
|
||||
CONFIG_SAMV7_AFEC0=y
|
||||
CONFIG_SAMV7_AFEC_DMA=y
|
||||
CONFIG_SAMV7_AFEC_DMASAMPLES=10
|
||||
CONFIG_SAMV7_GPIOA_IRQ=y
|
||||
CONFIG_SAMV7_GPIOC_IRQ=y
|
||||
CONFIG_SAMV7_GPIO_IRQ=y
|
||||
CONFIG_SAMV7_HSMCI0=y
|
||||
CONFIG_SAMV7_SDRAMC=y
|
||||
CONFIG_SAMV7_SDRAMSIZE=2097152
|
||||
CONFIG_SAMV7_TC0=y
|
||||
CONFIG_SAMV7_TC0_TIOA0=y
|
||||
CONFIG_SAMV7_TWIHS0=y
|
||||
CONFIG_SAMV7_USART1=y
|
||||
CONFIG_SAMV7_XDMAC=y
|
||||
|
Loading…
x
Reference in New Issue
Block a user