Add framework for a SAM3U SPI driver

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4010 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-10-03 14:06:06 +00:00
parent 387d4afebd
commit 6d36784cd4
44 changed files with 558 additions and 5 deletions
Executable → Regular
+4 -1
View File
@@ -2,7 +2,7 @@
# arch/arm/src/sam3u/Make.defs
#
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -75,3 +75,6 @@ ifeq ($(CONFIG_SAM3U_HSMCI),y)
CHIP_CSRCS += sam3u_hsmci.c
endif
ifeq ($(CONFIG_SAM3U_SPI),y)
CHIP_CSRCS += sam3u_spi.c
endif
Executable → Regular
View File
Executable → Regular
View File
View File
View File
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
View File
Executable → Regular
View File
Executable → Regular
View File
View File
Executable → Regular
View File
View File
View File
View File
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
View File
Executable → Regular
View File
File diff suppressed because it is too large Load Diff
Executable → Regular
+1 -1
View File
@@ -2,7 +2,7 @@
* arch/arm/src/sam3u/sam3u_spi.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
View File
View File
Executable → Regular
View File
+2 -1
View File
@@ -263,8 +263,9 @@ SAM3U-EK-specific Configuration Options
Individual subsystems can be enabled:
CONFIG_SAM3U_DMA
CONFIG_SAM3U_NAND
CONFIG_SAM3U_HSMCI
CONFIG_SAM3U_NAND
CONFIG_SAM3U_SPI
CONFIG_SAM3U_UART
CONFIG_SAM3U_USART0
CONFIG_SAM3U_USART1
+3 -2
View File
@@ -2,7 +2,7 @@
# configs/sam3u-ek/touchscreen/defconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -101,8 +101,9 @@ CONFIG_SAM3U_BUILDROOT=y
# Individual subsystems can be enabled:
#
CONFIG_SAM3U_DMA=n
CONFIG_SAM3U_NAND=n
CONFIG_SAM3U_HSMCI=n
CONFIG_SAM3U_NAND=n
CONFIG_SAM3U_SPI=y
CONFIG_SAM3U_UART=y
CONFIG_SAM3U_USART0=n
CONFIG_SAM3U_USART1=n