mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
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:
Executable → Regular
+4
-1
@@ -2,7 +2,7 @@
|
|||||||
# arch/arm/src/sam3u/Make.defs
|
# arch/arm/src/sam3u/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
|
# 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
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@@ -75,3 +75,6 @@ ifeq ($(CONFIG_SAM3U_HSMCI),y)
|
|||||||
CHIP_CSRCS += sam3u_hsmci.c
|
CHIP_CSRCS += sam3u_hsmci.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_SAM3U_SPI),y)
|
||||||
|
CHIP_CSRCS += sam3u_spi.c
|
||||||
|
endif
|
||||||
|
|||||||
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
File diff suppressed because it is too large
Load Diff
Executable → Regular
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* arch/arm/src/sam3u/sam3u_spi.h
|
* arch/arm/src/sam3u/sam3u_spi.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
* 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
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
|||||||
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
@@ -263,8 +263,9 @@ SAM3U-EK-specific Configuration Options
|
|||||||
Individual subsystems can be enabled:
|
Individual subsystems can be enabled:
|
||||||
|
|
||||||
CONFIG_SAM3U_DMA
|
CONFIG_SAM3U_DMA
|
||||||
CONFIG_SAM3U_NAND
|
|
||||||
CONFIG_SAM3U_HSMCI
|
CONFIG_SAM3U_HSMCI
|
||||||
|
CONFIG_SAM3U_NAND
|
||||||
|
CONFIG_SAM3U_SPI
|
||||||
CONFIG_SAM3U_UART
|
CONFIG_SAM3U_UART
|
||||||
CONFIG_SAM3U_USART0
|
CONFIG_SAM3U_USART0
|
||||||
CONFIG_SAM3U_USART1
|
CONFIG_SAM3U_USART1
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# configs/sam3u-ek/touchscreen/defconfig
|
# configs/sam3u-ek/touchscreen/defconfig
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# 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
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@@ -101,8 +101,9 @@ CONFIG_SAM3U_BUILDROOT=y
|
|||||||
# Individual subsystems can be enabled:
|
# Individual subsystems can be enabled:
|
||||||
#
|
#
|
||||||
CONFIG_SAM3U_DMA=n
|
CONFIG_SAM3U_DMA=n
|
||||||
CONFIG_SAM3U_NAND=n
|
|
||||||
CONFIG_SAM3U_HSMCI=n
|
CONFIG_SAM3U_HSMCI=n
|
||||||
|
CONFIG_SAM3U_NAND=n
|
||||||
|
CONFIG_SAM3U_SPI=y
|
||||||
CONFIG_SAM3U_UART=y
|
CONFIG_SAM3U_UART=y
|
||||||
CONFIG_SAM3U_USART0=n
|
CONFIG_SAM3U_USART0=n
|
||||||
CONFIG_SAM3U_USART1=n
|
CONFIG_SAM3U_USART1=n
|
||||||
|
|||||||
Reference in New Issue
Block a user