SAM3/4: Integrate the SPI DMA interface with the existing code. Does not yet work.

This commit is contained in:
Gregory Nutt
2014-03-13 15:54:09 -06:00
parent 56e8db0166
commit 4f657b0577
9 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -817,7 +817,7 @@ Arduino DUE-specific Configuration Options
CONFIG_SAM34_PWM - Pulse Width Modulation CONFIG_SAM34_PWM - Pulse Width Modulation
CONFIG_SAM34_ADC12B - 12-bit Analog To Digital Converter CONFIG_SAM34_ADC12B - 12-bit Analog To Digital Converter
CONFIG_SAM34_DACC - Digital To Analog Converter CONFIG_SAM34_DACC - Digital To Analog Converter
CONFIG_SAM34_DMAC - DMA Controller CONFIG_SAM34_DMAC0 - DMA Controller
CONFIG_SAM34_UOTGHS - USB OTG High Speed CONFIG_SAM34_UOTGHS - USB OTG High Speed
CONFIG_SAM34_TRNG - True Random Number Generator CONFIG_SAM34_TRNG - True Random Number Generator
CONFIG_SAM34_EMAC - Ethernet MAC CONFIG_SAM34_EMAC - Ethernet MAC
+1 -1
View File
@@ -164,7 +164,7 @@ CONFIG_SAM34_UART0=y
# CONFIG_SAM34_CAN1 is not set # CONFIG_SAM34_CAN1 is not set
# CONFIG_SAM34_SMC is not set # CONFIG_SAM34_SMC is not set
# CONFIG_SAM34_SDRAMC is not set # CONFIG_SAM34_SDRAMC is not set
# CONFIG_SAM34_DMAC is not set # CONFIG_SAM34_DMAC0 is not set
# CONFIG_SAM34_UOTGHS is not set # CONFIG_SAM34_UOTGHS is not set
# CONFIG_SAM34_RTC is not set # CONFIG_SAM34_RTC is not set
# CONFIG_SAM34_RTT is not set # CONFIG_SAM34_RTT is not set
+10 -10
View File
@@ -381,7 +381,7 @@ SAM3U-EK-specific Configuration Options
CONFIG_SAM34_PWM - Pulse Width Modulation Controller CONFIG_SAM34_PWM - Pulse Width Modulation Controller
CONFIG_SAM34_ADC12B - 12-bit ADC Controller CONFIG_SAM34_ADC12B - 12-bit ADC Controller
CONFIG_SAM34_ADC - 10-bit ADC Controller CONFIG_SAM34_ADC - 10-bit ADC Controller
CONFIG_SAM34_DMAC - DMA Controller CONFIG_SAM34_DMAC0 - DMA Controller
CONFIG_SAM34_UDPHS - USB Device High Speed CONFIG_SAM34_UDPHS - USB Device High Speed
Some subsystems can be configured to operate in different ways. The drivers Some subsystems can be configured to operate in different ways. The drivers
@@ -646,25 +646,25 @@ Configurations
System Type->ATSAM3/4 Peripheral Support System Type->ATSAM3/4 Peripheral Support
CONFIG_SAM34_HSMCI=y : Enable HSMCI support CONFIG_SAM34_HSMCI=y : Enable HSMCI support
CONFIG_SAM34_DMAC=y : DMAC support is needed by HSMCI CONFIG_SAM34_DMAC0=y : DMAC support is needed by HSMCI
System Type System Type
CONFIG_SAM34_GPIO_IRQ=y : PIO interrupts needed CONFIG_SAM34_GPIO_IRQ=y : PIO interrupts needed
CONFIG_SAM34_GPIOA_IRQ=y : Card detect pin is on PIOA CONFIG_SAM34_GPIOA_IRQ=y : Card detect pin is on PIOA
Device Drivers -> MMC/SD Driver Support Device Drivers -> MMC/SD Driver Support
CONFIG_MMCSD=y : Enable MMC/SD support CONFIG_MMCSD=y : Enable MMC/SD support
CONFIG_MMSCD_NSLOTS=1 : One slot per driver instance CONFIG_MMSCD_NSLOTS=1 : One slot per driver instance
CONFIG_MMCSD_HAVECARDDETECT=y : Supports card-detect PIOs CONFIG_MMCSD_HAVECARDDETECT=y : Supports card-detect PIOs
CONFIG_MMCSD_SDIO=y : SDIO-based MMC/SD support CONFIG_MMCSD_SDIO=y : SDIO-based MMC/SD support
CONFIG_SDIO_DMA=y : Use SDIO DMA CONFIG_SDIO_DMA=y : Use SDIO DMA
CONFIG_SDIO_BLOCKSETUP=y : Needs to know block sizes CONFIG_SDIO_BLOCKSETUP=y : Needs to know block sizes
Library Routines Library Routines
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
Application Configuration -> NSH Library Application Configuration -> NSH Library
CONFIG_NSH_ARCHINIT=y : NSH board-initialization CONFIG_NSH_ARCHINIT=y : NSH board-initialization
STATUS: STATUS:
2013-6-28: The touchscreen is functional. 2013-6-28: The touchscreen is functional.
+1 -1
View File
@@ -191,7 +191,7 @@ CONFIG_SAM34_UART0=y
# CONFIG_SAM34_ADC is not set # CONFIG_SAM34_ADC is not set
# CONFIG_SAM34_SMC is not set # CONFIG_SAM34_SMC is not set
# CONFIG_SAM34_NAND is not set # CONFIG_SAM34_NAND is not set
# CONFIG_SAM34_DMAC is not set # CONFIG_SAM34_DMAC0 is not set
# CONFIG_SAM34_UDPHS is not set # CONFIG_SAM34_UDPHS is not set
# CONFIG_SAM34_UOTGHS is not set # CONFIG_SAM34_UOTGHS is not set
# CONFIG_SAM34_RTC is not set # CONFIG_SAM34_RTC is not set
+1 -1
View File
@@ -185,7 +185,7 @@ CONFIG_SAM34_UART0=y
# CONFIG_SAM34_ADC is not set # CONFIG_SAM34_ADC is not set
# CONFIG_SAM34_SMC is not set # CONFIG_SAM34_SMC is not set
# CONFIG_SAM34_NAND is not set # CONFIG_SAM34_NAND is not set
# CONFIG_SAM34_DMAC is not set # CONFIG_SAM34_DMAC0 is not set
# CONFIG_SAM34_UDPHS is not set # CONFIG_SAM34_UDPHS is not set
# CONFIG_SAM34_UOTGHS is not set # CONFIG_SAM34_UOTGHS is not set
# CONFIG_SAM34_RTC is not set # CONFIG_SAM34_RTC is not set
+1 -1
View File
@@ -185,7 +185,7 @@ CONFIG_SAM34_UART0=y
# CONFIG_SAM34_ADC is not set # CONFIG_SAM34_ADC is not set
# CONFIG_SAM34_SMC is not set # CONFIG_SAM34_SMC is not set
# CONFIG_SAM34_NAND is not set # CONFIG_SAM34_NAND is not set
# CONFIG_SAM34_DMAC is not set # CONFIG_SAM34_DMAC0 is not set
# CONFIG_SAM34_UDPHS is not set # CONFIG_SAM34_UDPHS is not set
# CONFIG_SAM34_UOTGHS is not set # CONFIG_SAM34_UOTGHS is not set
# CONFIG_SAM34_RTC is not set # CONFIG_SAM34_RTC is not set
+1 -1
View File
@@ -185,7 +185,7 @@ CONFIG_SAM34_UART0=y
# CONFIG_SAM34_ADC is not set # CONFIG_SAM34_ADC is not set
# CONFIG_SAM34_SMC is not set # CONFIG_SAM34_SMC is not set
# CONFIG_SAM34_NAND is not set # CONFIG_SAM34_NAND is not set
# CONFIG_SAM34_DMAC is not set # CONFIG_SAM34_DMAC0 is not set
# CONFIG_SAM34_UDPHS is not set # CONFIG_SAM34_UDPHS is not set
# CONFIG_SAM34_UOTGHS is not set # CONFIG_SAM34_UOTGHS is not set
# CONFIG_SAM34_RTC is not set # CONFIG_SAM34_RTC is not set
+10 -10
View File
@@ -610,7 +610,7 @@ SAM4E-EK-specific Configuration Options
CONFIG_SAM34_SMC - Static Memory Controller CONFIG_SAM34_SMC - Static Memory Controller
CONFIG_SAM34_NAND - NAND support CONFIG_SAM34_NAND - NAND support
CONFIG_SAM34_PDCA - Peripheral DMA controller CONFIG_SAM34_PDCA - Peripheral DMA controller
CONFIG_SAM34_DMAC - DMA controller CONFIG_SAM34_DMAC0 - DMA controller
CONFIG_SAM34_UDP - USB 2.0 Full-Speed device CONFIG_SAM34_UDP - USB 2.0 Full-Speed device
CONFIG_SAM34_CHIPID - Chip ID CONFIG_SAM34_CHIPID - Chip ID
CONFIG_SAM34_RTC - Real Time Clock CONFIG_SAM34_RTC - Real Time Clock
@@ -843,25 +843,25 @@ Configurations
System Type->ATSAM3/4 Peripheral Support System Type->ATSAM3/4 Peripheral Support
CONFIG_SAM34_HSMCI=y : Enable HSMCI support CONFIG_SAM34_HSMCI=y : Enable HSMCI support
CONFIG_SAM34_DMAC=y : DMAC support is needed by HSMCI CONFIG_SAM34_DMAC0=y : DMAC support is needed by HSMCI
System Type System Type
CONFIG_SAM34_GPIO_IRQ=y : PIO interrupts needed CONFIG_SAM34_GPIO_IRQ=y : PIO interrupts needed
CONFIG_SAM34_GPIOA_IRQ=y : Card detect pin is on PIOA CONFIG_SAM34_GPIOA_IRQ=y : Card detect pin is on PIOA
Device Drivers -> MMC/SD Driver Support Device Drivers -> MMC/SD Driver Support
CONFIG_MMCSD=y : Enable MMC/SD support CONFIG_MMCSD=y : Enable MMC/SD support
CONFIG_MMSCD_NSLOTS=1 : One slot per driver instance CONFIG_MMSCD_NSLOTS=1 : One slot per driver instance
CONFIG_MMCSD_HAVECARDDETECT=y : Supports card-detect PIOs CONFIG_MMCSD_HAVECARDDETECT=y : Supports card-detect PIOs
CONFIG_MMCSD_SDIO=y : SDIO-based MMC/SD support CONFIG_MMCSD_SDIO=y : SDIO-based MMC/SD support
CONFIG_SDIO_DMA=y : Use SDIO DMA CONFIG_SDIO_DMA=y : Use SDIO DMA
CONFIG_SDIO_BLOCKSETUP=y : Needs to know block sizes CONFIG_SDIO_BLOCKSETUP=y : Needs to know block sizes
Library Routines Library Routines
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
Application Configuration -> NSH Library Application Configuration -> NSH Library
CONFIG_NSH_ARCHINIT=y : NSH board-initialization CONFIG_NSH_ARCHINIT=y : NSH board-initialization
STATUS: STATUS:
2014-3-13: The basic NSH serial console is working. Network support 2014-3-13: The basic NSH serial console is working. Network support
+1 -1
View File
@@ -188,7 +188,7 @@ CONFIG_ARCH_CHIP_SAM4E=y
# CONFIG_SAM34_CMCC is not set # CONFIG_SAM34_CMCC is not set
# CONFIG_SAM34_DACC is not set # CONFIG_SAM34_DACC is not set
# CONFIG_SAM34_EIC is not set # CONFIG_SAM34_EIC is not set
# CONFIG_SAM34_DMAC is not set # CONFIG_SAM34_DMAC0 is not set
CONFIG_SAM34_EMAC=y CONFIG_SAM34_EMAC=y
# CONFIG_SAM34_HSMCI is not set # CONFIG_SAM34_HSMCI is not set
# CONFIG_SAM34_NAND is not set # CONFIG_SAM34_NAND is not set