mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Move SAM3U header files to arch/arm/src/sam3u/chip. Some renaming of SAM3U to SAM to ssupport SAM4. Convert all configs/sam3u-ek configurations to use the kconfig-frontends tool
This commit is contained in:
+14
-14
@@ -41,12 +41,12 @@ GNU Toolchain Options
|
||||
add one of the following configuration options to your .config (or defconfig)
|
||||
file:
|
||||
|
||||
CONFIG_SAM3U_CODESOURCERYW=y : CodeSourcery under Windows
|
||||
CONFIG_SAM3U_CODESOURCERYL=y : CodeSourcery under Linux
|
||||
CONFIG_SAM3U_DEVKITARM=y : devkitARM under Windows
|
||||
CONFIG_SAM3U_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default)
|
||||
CONFIG_SAM34_CODESOURCERYW=y : CodeSourcery under Windows
|
||||
CONFIG_SAM34_CODESOURCERYL=y : CodeSourcery under Linux
|
||||
CONFIG_SAM34_DEVKITARM=y : devkitARM under Windows
|
||||
CONFIG_SAM34_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default)
|
||||
|
||||
If you are not using CONFIG_SAM3U_BUILDROOT, then you may also have to modify
|
||||
If you are not using CONFIG_SAM34_BUILDROOT, then you may also have to modify
|
||||
the PATH in the setenv.h file if your make cannot find the tools.
|
||||
|
||||
NOTE: the CodeSourcery (for Windows), devkitARM, and Raisonance toolchains are
|
||||
@@ -311,15 +311,15 @@ SAM3U-EK-specific Configuration Options
|
||||
|
||||
Individual subsystems can be enabled:
|
||||
|
||||
CONFIG_SAM3U_DMA
|
||||
CONFIG_SAM3U_HSMCI
|
||||
CONFIG_SAM3U_NAND
|
||||
CONFIG_SAM3U_SPI
|
||||
CONFIG_SAM3U_UART
|
||||
CONFIG_SAM3U_USART0
|
||||
CONFIG_SAM3U_USART1
|
||||
CONFIG_SAM3U_USART2
|
||||
CONFIG_SAM3U_USART3
|
||||
CONFIG_SAM34_DMA
|
||||
CONFIG_SAM34_HSMCI
|
||||
CONFIG_SAM34_NAND
|
||||
CONFIG_SAM34_SPI
|
||||
CONFIG_SAM34_UART
|
||||
CONFIG_SAM34_USART0
|
||||
CONFIG_SAM34_USART1
|
||||
CONFIG_SAM34_USART2
|
||||
CONFIG_SAM34_USART3
|
||||
|
||||
Some subsystems can be configured to operate in different ways. The drivers
|
||||
need to know how to configure the subsystem.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* configs/sam3u-ek/include/board.h
|
||||
* include/arch/board/board.h
|
||||
*
|
||||
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009-2011, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -82,10 +82,10 @@
|
||||
|
||||
/* Resulting frequencies */
|
||||
|
||||
#define SAM3U_MAINOSC_FREQUENCY (12000000)
|
||||
#define SAM3U_MCK_FREQUENCY (48000000)
|
||||
#define SAM3U_PLLA_FREQUENCY (96000000)
|
||||
#define SAM3U_CPU_FREQUENCY (48000000)
|
||||
#define SAM_MAINOSC_FREQUENCY (12000000)
|
||||
#define SAM_MCK_FREQUENCY (48000000)
|
||||
#define SAM_PLLA_FREQUENCY (96000000)
|
||||
#define SAM_CPU_FREQUENCY (48000000)
|
||||
|
||||
/* HSMCI clocking
|
||||
*
|
||||
@@ -97,12 +97,12 @@
|
||||
*/
|
||||
|
||||
/* MCK = 48MHz, CLKDIV = 59, MCI_SPEED = 48MHz / 2 * (59+1) = 400 KHz */
|
||||
|
||||
|
||||
#define HSMCI_INIT_CLKDIV (59 << HSMCI_MR_CLKDIV_SHIFT)
|
||||
|
||||
/* MCK = 48MHz, CLKDIV = 1, MCI_SPEED = 48MHz / 2 * (1+1) = 12 MHz */
|
||||
|
||||
#define HSMCI_MMCXFR_CLKDIV (3 << HSMCI_MR_CLKDIV_SHIFT)
|
||||
#define HSMCI_MMCXFR_CLKDIV (3 << HSMCI_MR_CLKDIV_SHIFT)
|
||||
|
||||
/* MCK = 48MHz, CLKDIV = 0, MCI_SPEED = 48MHz / 2 * (0+1) = 24 MHz */
|
||||
|
||||
|
||||
Executable → Regular
+43
-12
@@ -70,6 +70,7 @@ CONFIG_ARCH="arm"
|
||||
# CONFIG_ARCH_CHIP_DM320 is not set
|
||||
# CONFIG_ARCH_CHIP_IMX is not set
|
||||
# CONFIG_ARCH_CHIP_KINETIS is not set
|
||||
# CONFIG_ARCH_CHIP_KL is not set
|
||||
# CONFIG_ARCH_CHIP_LM is not set
|
||||
# CONFIG_ARCH_CHIP_LPC17XX is not set
|
||||
# CONFIG_ARCH_CHIP_LPC214X is not set
|
||||
@@ -77,7 +78,7 @@ CONFIG_ARCH="arm"
|
||||
# CONFIG_ARCH_CHIP_LPC31XX is not set
|
||||
# CONFIG_ARCH_CHIP_LPC43XX is not set
|
||||
# CONFIG_ARCH_CHIP_NUC1XX is not set
|
||||
CONFIG_ARCH_CHIP_SAM3U=y
|
||||
CONFIG_ARCH_CHIP_SAM34=y
|
||||
# CONFIG_ARCH_CHIP_STM32 is not set
|
||||
# CONFIG_ARCH_CHIP_STR71X is not set
|
||||
CONFIG_ARCH_CORTEXM3=y
|
||||
@@ -86,6 +87,7 @@ CONFIG_ARCH_CHIP="sam3u"
|
||||
# CONFIG_ARMV7M_USEBASEPRI is not set
|
||||
CONFIG_ARCH_HAVE_MPU=y
|
||||
CONFIG_ARMV7M_MPU=y
|
||||
CONFIG_ARMV7M_MPU_NREGIONS=8
|
||||
|
||||
#
|
||||
# ARMV7M Configuration Options
|
||||
@@ -99,21 +101,22 @@ CONFIG_ARMV7M_OABI_TOOLCHAIN=y
|
||||
# CONFIG_SDIO_WIDTH_D1_ONLY is not set
|
||||
|
||||
#
|
||||
# AT91SAM3 Configuration Options
|
||||
# AT91SAM3/SAM4 Configuration Options
|
||||
#
|
||||
CONFIG_ARCH_CHIP_AT91SAM3U4E=y
|
||||
CONFIG_ARCH_CHIP_SAM3U=y
|
||||
|
||||
#
|
||||
# AT91SAM3 Peripheral Support
|
||||
#
|
||||
# CONFIG_SAM3U_DMA is not set
|
||||
# CONFIG_SAM3U_NAND is not set
|
||||
# CONFIG_SAM3U_HSMCI is not set
|
||||
CONFIG_SAM3U_UART=y
|
||||
# CONFIG_SAM3U_USART0 is not set
|
||||
# CONFIG_SAM3U_USART1 is not set
|
||||
# CONFIG_SAM3U_USART2 is not set
|
||||
# CONFIG_SAM3U_USART3 is not set
|
||||
# CONFIG_SAM34_DMA is not set
|
||||
# CONFIG_SAM34_NAND is not set
|
||||
# CONFIG_SAM34_HSMCI is not set
|
||||
CONFIG_SAM34_UART=y
|
||||
# CONFIG_SAM34_USART0 is not set
|
||||
# CONFIG_SAM34_USART1 is not set
|
||||
# CONFIG_SAM34_USART2 is not set
|
||||
# CONFIG_SAM34_USART3 is not set
|
||||
|
||||
#
|
||||
# AT91SAM3 UART Configuration
|
||||
@@ -143,6 +146,8 @@ CONFIG_ARCH_HAVE_VFORK=y
|
||||
CONFIG_ARCH_STACKDUMP=y
|
||||
# CONFIG_ENDIAN_BIG is not set
|
||||
# CONFIG_ARCH_HAVE_RAMFUNCS is not set
|
||||
CONFIG_ARCH_HAVE_RAMVECTORS=y
|
||||
# CONFIG_ARCH_RAMVECTORS is not set
|
||||
|
||||
#
|
||||
# Board Settings
|
||||
@@ -249,7 +254,12 @@ CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||
CONFIG_USERMAIN_STACKSIZE=2048
|
||||
CONFIG_PTHREAD_STACK_MIN=256
|
||||
CONFIG_PTHREAD_STACK_DEFAULT=2048
|
||||
|
||||
#
|
||||
# System call configuration
|
||||
#
|
||||
CONFIG_SYS_RESERVED=8
|
||||
CONFIG_SYS_NNEST=2
|
||||
|
||||
#
|
||||
# Device Drivers
|
||||
@@ -266,6 +276,7 @@ CONFIG_DEV_NULL=y
|
||||
# CONFIG_RTC is not set
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_ANALOG is not set
|
||||
# CONFIG_AUDIO_DEVICES is not set
|
||||
# CONFIG_BCH is not set
|
||||
# CONFIG_INPUT is not set
|
||||
# CONFIG_LCD is not set
|
||||
@@ -283,7 +294,6 @@ CONFIG_SDIO_BLOCKSETUP=y
|
||||
# CONFIG_PM is not set
|
||||
# CONFIG_POWER is not set
|
||||
# CONFIG_SENSORS is not set
|
||||
# CONFIG_SERCOMM_CONSOLE is not set
|
||||
CONFIG_SERIAL=y
|
||||
# CONFIG_DEV_LOWCONSOLE is not set
|
||||
# CONFIG_16550_UART is not set
|
||||
@@ -336,6 +346,7 @@ CONFIG_FS_FAT=y
|
||||
# CONFIG_FAT_DMAMEMORY is not set
|
||||
# CONFIG_FS_NXFFS is not set
|
||||
# CONFIG_FS_ROMFS is not set
|
||||
# CONFIG_FS_SMARTFS is not set
|
||||
|
||||
#
|
||||
# System Logging
|
||||
@@ -358,6 +369,11 @@ CONFIG_MM_KERNEL_HEAPSIZE=8192
|
||||
CONFIG_MM_REGIONS=3
|
||||
# CONFIG_GRAN is not set
|
||||
|
||||
#
|
||||
# Audio Support
|
||||
#
|
||||
# CONFIG_AUDIO is not set
|
||||
|
||||
#
|
||||
# Binary Formats
|
||||
#
|
||||
@@ -383,6 +399,7 @@ CONFIG_LIB_HOMEDIR="/"
|
||||
# CONFIG_LIBM is not set
|
||||
# CONFIG_NOPRINTF_FIELDWIDTH is not set
|
||||
# CONFIG_LIBC_FLOATINGPOINT is not set
|
||||
CONFIG_LIB_RAND_ORDER=1
|
||||
# CONFIG_EOL_IS_CR is not set
|
||||
# CONFIG_EOL_IS_LF is not set
|
||||
# CONFIG_EOL_IS_BOTH_CRLF is not set
|
||||
@@ -408,6 +425,7 @@ CONFIG_SCHED_WORKSTACKSIZE=1024
|
||||
# CONFIG_SCHED_LPWORK is not set
|
||||
# CONFIG_SCHED_USRWORK is not set
|
||||
# CONFIG_LIB_KBDCODEC is not set
|
||||
# CONFIG_LIB_SLCDCODEC is not set
|
||||
|
||||
#
|
||||
# Basic CXX Support
|
||||
@@ -441,8 +459,9 @@ CONFIG_SCHED_WORKSTACKSIZE=1024
|
||||
# CONFIG_EXAMPLES_IGMP is not set
|
||||
# CONFIG_EXAMPLES_LCDRW is not set
|
||||
# CONFIG_EXAMPLES_MM is not set
|
||||
# CONFIG_EXAMPLES_MOUNT is not set
|
||||
# CONFIG_EXAMPLES_MODBUS is not set
|
||||
# CONFIG_EXAMPLES_MOUNT is not set
|
||||
# CONFIG_EXAMPLES_NRF24L01TERM is not set
|
||||
CONFIG_EXAMPLES_NSH=y
|
||||
# CONFIG_EXAMPLES_NULL is not set
|
||||
# CONFIG_EXAMPLES_NX is not set
|
||||
@@ -463,6 +482,9 @@ CONFIG_EXAMPLES_NSH=y
|
||||
# CONFIG_EXAMPLES_ROMFS is not set
|
||||
# CONFIG_EXAMPLES_SENDMAIL is not set
|
||||
# CONFIG_EXAMPLES_SERLOOP is not set
|
||||
# CONFIG_EXAMPLES_SLCD is not set
|
||||
# CONFIG_EXAMPLES_SMART is not set
|
||||
# CONFIG_EXAMPLES_TCPECHO is not set
|
||||
# CONFIG_EXAMPLES_TELNETD is not set
|
||||
# CONFIG_EXAMPLES_THTTPD is not set
|
||||
# CONFIG_EXAMPLES_TIFF is not set
|
||||
@@ -558,6 +580,11 @@ CONFIG_NSH_DISABLE_PS=y
|
||||
# CONFIG_NSH_DISABLE_USLEEP is not set
|
||||
# CONFIG_NSH_DISABLE_WGET is not set
|
||||
# CONFIG_NSH_DISABLE_XD is not set
|
||||
|
||||
#
|
||||
# Configure Command Options
|
||||
#
|
||||
# CONFIG_NSH_CMDOPT_DF_H is not set
|
||||
CONFIG_NSH_CODECS_BUFSIZE=128
|
||||
CONFIG_NSH_FILEIOSIZE=512
|
||||
CONFIG_NSH_LINELEN=64
|
||||
@@ -594,6 +621,10 @@ CONFIG_NSH_CONSOLE=y
|
||||
#
|
||||
# CONFIG_SYSTEM_INSTALL is not set
|
||||
|
||||
#
|
||||
# FLASH Erase-all Command
|
||||
#
|
||||
|
||||
#
|
||||
# readline()
|
||||
#
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
############################################################################
|
||||
# configs/sam3u-ek/nsh/appconfig
|
||||
#
|
||||
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||
# 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
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in
|
||||
# the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||
# used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/nsh
|
||||
|
||||
# The NSH library
|
||||
|
||||
CONFIGURED_APPS += system/readline
|
||||
CONFIGURED_APPS += nshlib
|
||||
|
||||
Executable → Regular
+576
-413
File diff suppressed because it is too large
Load Diff
@@ -1,39 +0,0 @@
|
||||
############################################################################
|
||||
# configs/sam3u-ek/nx/appconfig
|
||||
#
|
||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
# 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
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in
|
||||
# the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||
# used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/nx
|
||||
|
||||
Executable → Regular
+530
-368
File diff suppressed because it is too large
Load Diff
@@ -1,39 +0,0 @@
|
||||
############################################################################
|
||||
# configs/sam3u-ek/ostest/appconfig
|
||||
#
|
||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
# 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
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in
|
||||
# the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||
# used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/ostest
|
||||
|
||||
Executable → Regular
+507
-412
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
############################################################################
|
||||
# configs/sam3u-ek/src/Makefile
|
||||
#
|
||||
# Copyright (C) 2009-2010, 2012 Gregory Nutt. All rights reserved.
|
||||
# Copyright (C) 2009-2010, 2012-2013 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -37,12 +37,12 @@
|
||||
|
||||
CFLAGS += -I$(TOPDIR)/sched
|
||||
|
||||
ASRCS =
|
||||
ASRCS =
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
|
||||
CSRCS = up_boot.c up_leds.c up_buttons.c up_spi.c up_usbdev.c
|
||||
|
||||
ifeq ($(CONFIG_SAM3U_HSMCI),y)
|
||||
ifeq ($(CONFIG_SAM34_HSMCI),y)
|
||||
CSRCS += up_lcd.c
|
||||
endif
|
||||
|
||||
@@ -50,7 +50,7 @@ ifeq ($(CONFIG_NSH_ARCHINIT),y)
|
||||
CSRCS += up_nsh.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SAM3U_HSMCI),y)
|
||||
ifeq ($(CONFIG_SAM34_HSMCI),y)
|
||||
CSRCS += up_mmcsd.c
|
||||
endif
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* configs/sam3uek_eval/src/sam3uek_internal.h
|
||||
* arch/arm/src/board/sam3uek_internal.n
|
||||
*
|
||||
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009-2011, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -56,7 +56,7 @@
|
||||
/* External Memory Usage ************************************************************/
|
||||
/* LCD on CS2 */
|
||||
|
||||
#define LCD_BASE SAM3U_EXTCS2_BASE
|
||||
#define LCD_BASE SAM_EXTCS2_BASE
|
||||
|
||||
/* Touchscreen controller (TSC) */
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
#define GPIO_TCS_IRQ (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_PORT_PIOA|GPIO_PIN24)
|
||||
#define GPIO_TCS_BUSY (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_PORT_PIOA|GPIO_PIN2)
|
||||
|
||||
#define SAM3U_TCS_IRQ SAM3U_IRQ_PA24
|
||||
#define SAM_TCS_IRQ SAM_IRQ_PA24
|
||||
|
||||
/* LEDs */
|
||||
|
||||
@@ -155,8 +155,8 @@
|
||||
#define GPIO_BUTTON1 (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_CFG_DEGLITCH|GPIO_PORT_PIOA|GPIO_PIN18)
|
||||
#define GPIO_BUTTON2 (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_CFG_DEGLITCH|GPIO_PORT_PIOA|GPIO_PIN19)
|
||||
|
||||
#define IRQ_BUTTON1 SAM3U_IRQ_PA18
|
||||
#define IRQ_BUTTON2 SAM3U_IRQ_PA19
|
||||
#define IRQ_BUTTON1 SAM_IRQ_PA18
|
||||
#define IRQ_BUTTON2 SAM_IRQ_PA19
|
||||
|
||||
/* SD Card Detect */
|
||||
|
||||
@@ -214,11 +214,11 @@ extern void weak_function sam3u_usbinitialize(void);
|
||||
* Name: sam3u_hsmciinit
|
||||
*
|
||||
* Description:
|
||||
* Initialize HSMCI support
|
||||
* Initialize HSMCI support
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SAM3U_HSMCI
|
||||
#ifdef CONFIG_SAM34_HSMCI
|
||||
extern int weak_function sam3u_hsmciinit(void);
|
||||
#else
|
||||
# define sam3u_hsmciinit()
|
||||
@@ -232,7 +232,7 @@ extern int weak_function sam3u_hsmciinit(void);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SAM3U_HSMCI
|
||||
#ifdef CONFIG_SAM34_HSMCI
|
||||
extern bool sam3u_cardinserted(unsigned char slot);
|
||||
#else
|
||||
# define sam3u_cardinserted(slot) (false)
|
||||
@@ -246,7 +246,7 @@ extern bool sam3u_cardinserted(unsigned char slot);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SAM3U_HSMCI
|
||||
#ifdef CONFIG_SAM34_HSMCI
|
||||
extern bool sam3u_writeprotected(unsigned char slot);
|
||||
#else
|
||||
# define sam3u_writeprotected(slot) (false)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* configs/sam3u-ek/src/up_boot.c
|
||||
* arch/arm/src/board/up_boot.c
|
||||
*
|
||||
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009-2011, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -75,7 +75,7 @@ void sam3u_boardinitialize(void)
|
||||
* sam3u_spiinitialize() has been brought into the link.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_SAM3U_SPI
|
||||
#ifdef CONFIG_SAM34_SPI
|
||||
if (sam3u_spiinitialize)
|
||||
{
|
||||
sam3u_spiinitialize();
|
||||
@@ -87,7 +87,7 @@ void sam3u_boardinitialize(void)
|
||||
* into the build.
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_USBDEV) && defined(CONFIG_SAM3U_USB)
|
||||
#if defined(CONFIG_USBDEV) && defined(CONFIG_SAM34_USB)
|
||||
if (sam3u_usbinitialize)
|
||||
{
|
||||
sam3u_usbinitialize();
|
||||
@@ -104,7 +104,7 @@ void sam3u_boardinitialize(void)
|
||||
* function sam3u_hsmciinit() has been brought into the build.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_SAM3U_HSMCI
|
||||
#ifdef CONFIG_SAM34_HSMCI
|
||||
if (sam3u_hsmciinit)
|
||||
{
|
||||
sam3u_hsmciinit();
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* configs/sam3u-ek/src/up_lcd.c
|
||||
* arch/arm/src/board/up_lcd.c
|
||||
*
|
||||
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2010-2011, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -125,8 +125,8 @@
|
||||
#include <arch/irq.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "sam3u_pmc.h"
|
||||
#include "sam3u_smc.h"
|
||||
#include "chip/sam_pmc.h"
|
||||
#include "chip/sam_smc.h"
|
||||
#include "sam3u_internal.h"
|
||||
#include "sam3uek_internal.h"
|
||||
|
||||
@@ -385,7 +385,7 @@ static const struct fb_videoinfo_s g_videoinfo =
|
||||
|
||||
/* This is the standard, NuttX Plane information object */
|
||||
|
||||
static const struct lcd_planeinfo_s g_planeinfo =
|
||||
static const struct lcd_planeinfo_s g_planeinfo =
|
||||
{
|
||||
.putrun = sam3u_putrun, /* Put a run into LCD memory */
|
||||
.getrun = sam3u_getrun, /* Get a run from LCD memory */
|
||||
@@ -395,12 +395,12 @@ static const struct lcd_planeinfo_s g_planeinfo =
|
||||
|
||||
/* This is the standard, NuttX LCD driver object */
|
||||
|
||||
static struct sam3u_dev_s g_lcddev_s =
|
||||
static struct sam3u_dev_s g_lcddev_s =
|
||||
{
|
||||
.dev =
|
||||
{
|
||||
/* LCD Configuration */
|
||||
|
||||
|
||||
.getvideoinfo = sam3u_getvideoinfo,
|
||||
.getplaneinfo = sam3u_getplaneinfo,
|
||||
|
||||
@@ -901,33 +901,33 @@ int up_lcdinitialize(void)
|
||||
|
||||
/* Enable SMC peripheral clock */
|
||||
|
||||
putreg32((1 << SAM3U_PID_SMC), SAM3U_PMC_PCER);
|
||||
regdbg("PMC PCSR: %08x SMC: %08x\n", getreg32(SAM3U_PMC_PCSR), (1 << SAM3U_PID_SMC));
|
||||
putreg32((1 << SAM_PID_SMC), SAM_PMC_PCER);
|
||||
regdbg("PMC PCSR: %08x SMC: %08x\n", getreg32(SAM_PMC_PCSR), (1 << SAM_PID_SMC));
|
||||
|
||||
/* Configure SMC CS2 */
|
||||
|
||||
regval = (4 << SMCCS_SETUP_NWESETUP_SHIFT) | (2 << SMCCS_SETUP_NCSWRSETUP_SHIFT) |
|
||||
(4 << SMCCS_SETUP_NRDSETUP_SHIFT) | (2 << SMCCS_SETUP_NCSRDSETUP_SHIFT);
|
||||
putreg32(regval, SAM3U_SMCCS_SETUP(2));
|
||||
putreg32(regval, SAM_SMCCS_SETUP(2));
|
||||
|
||||
regval = (5 << SMCCS_PULSE_NWEPULSE_SHIFT) | (18 << SMCCS_PULSE_NCSWRPULSE_SHIFT) |
|
||||
(5 << SMCCS_PULSE_RDPULSE_SHIFT) | (18 << SMCCS_PULSE_NCSRDPULSE_SHIFT);
|
||||
putreg32(regval, SAM3U_SMCCS_PULSE(2));
|
||||
putreg32(regval, SAM_SMCCS_PULSE(2));
|
||||
|
||||
regval = (22 << SMCCS_CYCLE_NWECYCLE_SHIFT) | (22 << SMCCS_CYCLE_NRDCYCLE_SHIFT);
|
||||
putreg32(regval, SAM3U_SMCCS_CYCLE(2));
|
||||
putreg32(regval, SAM_SMCCS_CYCLE(2));
|
||||
|
||||
regval = getreg32(SAM3U_SMCCS_MODE(2));
|
||||
regval = getreg32(SAM_SMCCS_MODE(2));
|
||||
regval &= ~(SMCCS_MODE_DBW_MASK | SMCCS_MODE_PMEN);
|
||||
regval |= (SMCCS_MODE_READMODE) | (SMCCS_MODE_WRITEMODE) | (SMCCS_MODE_DBW_16BITS);
|
||||
putreg32(regval, SAM3U_SMCCS_MODE(2));
|
||||
putreg32(regval, SAM_SMCCS_MODE(2));
|
||||
|
||||
regdbg("SMC SETUP[%08x]: %08x PULSE[%08x]: %08x\n",
|
||||
SAM3U_SMCCS_SETUP(2), getreg32(SAM3U_SMCCS_SETUP(2)),
|
||||
SAM3U_SMCCS_PULSE(2), getreg32(SAM3U_SMCCS_PULSE(2)));
|
||||
SAM_SMCCS_SETUP(2), getreg32(SAM_SMCCS_SETUP(2)),
|
||||
SAM_SMCCS_PULSE(2), getreg32(SAM_SMCCS_PULSE(2)));
|
||||
regdbg(" CYCLE[%08x]: %08x MODE[%08x]: %08x\n",
|
||||
SAM3U_SMCCS_CYCLE(2), getreg32(SAM3U_SMCCS_CYCLE(2)),
|
||||
SAM3U_SMCCS_MODE(2), getreg32(SAM3U_SMCCS_MODE(2)));
|
||||
SAM_SMCCS_CYCLE(2), getreg32(SAM_SMCCS_CYCLE(2)),
|
||||
SAM_SMCCS_MODE(2), getreg32(SAM_SMCCS_MODE(2)));
|
||||
|
||||
/* Check HX8347 Chip ID */
|
||||
|
||||
@@ -989,7 +989,7 @@ int up_lcdinitialize(void)
|
||||
sam3u_putreg(HX8347_R09H, 0x3f); /* Row address end1 */
|
||||
|
||||
/* Display Setting */
|
||||
|
||||
|
||||
sam3u_putreg(HX8347_R01H, 0x06); /* IDMON=0 INVON=1 NORON=1 PTLON=0 */
|
||||
sam3u_putreg(HX8347_R16H, 0xc8); /* MY=1 MX=1 MV=0 BGR=1 */
|
||||
sam3u_putreg(HX8347_R23H, 0x95); /* N_DC=1001 0101 */
|
||||
@@ -1063,7 +1063,7 @@ void up_lcduninitialize(void)
|
||||
|
||||
/* Disable SMC peripheral clock */
|
||||
|
||||
putreg32((1 << SAM3U_PID_SMC), SAM3U_PMC_PCDR);
|
||||
putreg32((1 << SAM_PID_SMC), SAM_PMC_PCDR);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* configs/sam3u-ek/src/up_mmcsd.c
|
||||
* arch/arm/src/board/up_mmcsd.c
|
||||
*
|
||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2010, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "sam3u_internal.h"
|
||||
#include "sam3uek_internal.h"
|
||||
|
||||
#ifdef CONFIG_SAM3U_HSMCI
|
||||
#ifdef CONFIG_SAM34_HSMCI
|
||||
|
||||
/************************************************************************************
|
||||
* Definitions
|
||||
@@ -136,4 +136,4 @@ bool sam3u_writeprotected(unsigned char slot)
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SAM3U_HSMCI */
|
||||
#endif /* CONFIG_SAM34_HSMCI */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* config/sam3u-ek/src/up_nsh.c
|
||||
* arch/arm/src/board/up_nsh.c
|
||||
*
|
||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2010, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -51,7 +51,7 @@
|
||||
#include "sam3u_internal.h"
|
||||
#include "sam3uek_internal.h"
|
||||
|
||||
#ifdef CONFIG_SAM3U_HSMCI
|
||||
#ifdef CONFIG_SAM34_HSMCI
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-Processor Definitions
|
||||
@@ -83,7 +83,7 @@
|
||||
* is not enabled.
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_SAM3U_HSMCI)
|
||||
#if defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_SAM34_HSMCI)
|
||||
# undef NSH_HAVE_MMCSD
|
||||
#endif
|
||||
|
||||
@@ -149,7 +149,7 @@ int nsh_archinitialize(void)
|
||||
return ret;
|
||||
}
|
||||
message("nsh_archinitialize: Successfully bound SDIO to the MMC/SD driver\n");
|
||||
|
||||
|
||||
/* Then inform the HSMCI driver if there is or is not a card in the slot. */
|
||||
|
||||
sdio_mediachange(sdio, sam3u_cardinserted(0));
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* configs/sam3u-ek/src/up_spi.c
|
||||
* arch/arm/src/board/up_spi.c
|
||||
*
|
||||
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -53,7 +53,7 @@
|
||||
#include "sam3u_internal.h"
|
||||
#include "sam3uek_internal.h"
|
||||
|
||||
#ifdef CONFIG_SAM3U_SPI
|
||||
#ifdef CONFIG_SAM34_SPI
|
||||
|
||||
/************************************************************************************
|
||||
* Definitions
|
||||
@@ -137,7 +137,7 @@ void weak_function sam3u_spiinitialize(void)
|
||||
* 3. Add a call to up_spiinitialize() in your low level application
|
||||
* initialization logic
|
||||
* 4. The handle returned by up_spiinitialize() may then be used to bind the
|
||||
* SPI driver to higher level logic (e.g., calling
|
||||
* SPI driver to higher level logic (e.g., calling
|
||||
* mmcsd_spislotinitialize(), for example, will bind the SPI driver to
|
||||
* the SPI MMC/SD driver).
|
||||
*
|
||||
@@ -240,4 +240,4 @@ uint8_t sam3u_spistatus(FAR struct spi_dev_s *dev, enum spi_dev_e devid)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SAM3U_SPI */
|
||||
#endif /* CONFIG_SAM34_SPI */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* configs/sam3u-ek/src/up_touchscreen.c
|
||||
* arch/arm/src/board/up_touchscreen.c
|
||||
*
|
||||
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2011-2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -63,8 +63,8 @@
|
||||
# error "Touchscreen support requires CONFIG_INPUT"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SAM3U_SPI
|
||||
# error "Touchscreen support requires CONFIG_SAM3U_SPI"
|
||||
#ifndef CONFIG_SAM34_SPI
|
||||
# error "Touchscreen support requires CONFIG_SAM34_SPI"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_GPIOA_IRQ
|
||||
@@ -154,22 +154,22 @@ static int tsc_attach(FAR struct ads7843e_config_s *state, xcpt_t isr)
|
||||
{
|
||||
/* Attach the ADS7843E interrupt */
|
||||
|
||||
ivdbg("Attaching %p to IRQ %d\n", isr, SAM3U_TCS_IRQ);
|
||||
return irq_attach(SAM3U_TCS_IRQ, isr);
|
||||
ivdbg("Attaching %p to IRQ %d\n", isr, SAM_TCS_IRQ);
|
||||
return irq_attach(SAM_TCS_IRQ, isr);
|
||||
}
|
||||
|
||||
static void tsc_enable(FAR struct ads7843e_config_s *state, bool enable)
|
||||
{
|
||||
/* Attach and enable, or detach and disable */
|
||||
|
||||
ivdbg("IRQ:%d enable:%d\n", SAM3U_TCS_IRQ, enable);
|
||||
ivdbg("IRQ:%d enable:%d\n", SAM_TCS_IRQ, enable);
|
||||
if (enable)
|
||||
{
|
||||
sam3u_gpioirqenable(SAM3U_TCS_IRQ);
|
||||
sam3u_gpioirqenable(SAM_TCS_IRQ);
|
||||
}
|
||||
else
|
||||
{
|
||||
sam3u_gpioirqdisable(SAM3U_TCS_IRQ);
|
||||
sam3u_gpioirqdisable(SAM_TCS_IRQ);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* configs/sam3u-ek/src/up_usbmsc.c
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Configure and register the SAM3U MMC/SD SDIO block driver.
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
#include "sam3u_internal.h"
|
||||
|
||||
#ifdef CONFIG_SAM3U_SDIO
|
||||
#ifdef CONFIG_SAM34_SDIO
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-Processor Definitions
|
||||
@@ -65,8 +65,8 @@
|
||||
/* SLOT number(s) could depend on the board configuration */
|
||||
|
||||
#ifdef CONFIG_ARCH_BOARD_SAM3U10E_EVAL
|
||||
# undef SAM3U_MMCSDSLOTNO
|
||||
# define SAM3U_MMCSDSLOTNO 0
|
||||
# undef SAM_MMCSDSLOTNO
|
||||
# define SAM_MMCSDSLOTNO 0
|
||||
#else
|
||||
/* Add configuration for new SAM3U boards here */
|
||||
# error "Unrecognized SAM3U board"
|
||||
@@ -113,13 +113,13 @@ int usbmsc_archinitialize(void)
|
||||
|
||||
message("usbmsc_archinitialize: "
|
||||
"Initializing SDIO slot %d\n",
|
||||
SAM3U_MMCSDSLOTNO);
|
||||
SAM_MMCSDSLOTNO);
|
||||
|
||||
sdio = sdio_initialize(SAM3U_MMCSDSLOTNO);
|
||||
sdio = sdio_initialize(SAM_MMCSDSLOTNO);
|
||||
if (!sdio)
|
||||
{
|
||||
message("usbmsc_archinitialize: Failed to initialize SDIO slot %d\n",
|
||||
SAM3U_MMCSDSLOTNO);
|
||||
SAM_MMCSDSLOTNO);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ int usbmsc_archinitialize(void)
|
||||
}
|
||||
message("usbmsc_archinitialize: "
|
||||
"Successfully bound SDIO to the MMC/SD driver\n");
|
||||
|
||||
|
||||
/* Then let's guess and say that there is a card in the slot. I need to check to
|
||||
* see if the SAM3U10E-EVAL board supports a GPIO to detect if there is a card in
|
||||
* the slot.
|
||||
@@ -149,4 +149,4 @@ int usbmsc_archinitialize(void)
|
||||
return OK;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SAM3U_SDIO */
|
||||
#endif /* CONFIG_SAM34_SDIO */
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
############################################################################
|
||||
# configs/sam3u-ek/touchscreen/appconfig
|
||||
#
|
||||
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||
# 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
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in
|
||||
# the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||
# used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/nsh
|
||||
|
||||
# The NSH application library
|
||||
|
||||
CONFIGURED_APPS += system/readline
|
||||
CONFIGURED_APPS += nshlib
|
||||
|
||||
# The NX and NXHELLO examples configured as an NX built-in commands
|
||||
|
||||
CONFIGURED_APPS += examples/nx
|
||||
CONFIGURED_APPS += examples/nxhello
|
||||
CONFIGURED_APPS += examples/touchscreen
|
||||
Executable → Regular
+654
-457
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user