Rename configs/teensy to configs/teensy-2.0 to distinguish teensy-lc and teensy-3.1

This commit is contained in:
Gregory Nutt 2015-05-25 18:29:43 -06:00
parent f15ed79456
commit a00d114f0a
25 changed files with 45 additions and 45 deletions

View File

@ -277,8 +277,8 @@ config ARCH_BOARD_LPCXPRESSO_LPC1115
depends on ARCH_CHIP_LPC1115 depends on ARCH_CHIP_LPC1115
select ARCH_HAVE_LEDS select ARCH_HAVE_LEDS
---help--- ---help---
The NXP LPCXpresso daughter board. This board is based on the NXP The Embedded Artists LPCXpresso LPC1115 board featuring the NXP
LPC1115. LPC1115 MCU.
config ARCH_BOARD_LPCXPRESSO config ARCH_BOARD_LPCXPRESSO
bool "NXP LPCExpresso LPC1768" bool "NXP LPCExpresso LPC1768"
@ -899,7 +899,7 @@ config ARCH_BOARD_SUREPIC32MX
http://www.sureelectronics.net/goods.php?id=1168 for further http://www.sureelectronics.net/goods.php?id=1168 for further
information about the Sure DB-DP11215 board. information about the Sure DB-DP11215 board.
config ARCH_BOARD_TEENSY config ARCH_BOARD_TEENSY_20
bool "PJRC Teensy++ 2.0 board" bool "PJRC Teensy++ 2.0 board"
depends on ARCH_CHIP_AT90USB1286 depends on ARCH_CHIP_AT90USB1286
select ARCH_HAVE_LEDS select ARCH_HAVE_LEDS
@ -1237,7 +1237,7 @@ config ARCH_BOARD
default "stm32vldiscovery" if ARCH_BOARD_STM32VL_DISCOVERY default "stm32vldiscovery" if ARCH_BOARD_STM32VL_DISCOVERY
default "mikroe-stm32f4" if ARCH_BOARD_MIKROE_STM32F4 default "mikroe-stm32f4" if ARCH_BOARD_MIKROE_STM32F4
default "sure-pic32mx" if ARCH_BOARD_SUREPIC32MX default "sure-pic32mx" if ARCH_BOARD_SUREPIC32MX
default "teensy" if ARCH_BOARD_TEENSY default "teensy-2.0" if ARCH_BOARD_TEENSY_20
default "teensy-lc" if ARCH_BOARD_TEENSY_LC default "teensy-lc" if ARCH_BOARD_TEENSY_LC
default "tm4c123g-launchpad" if ARCH_BOARD_TM4C123G_LAUNCHPAD default "tm4c123g-launchpad" if ARCH_BOARD_TM4C123G_LAUNCHPAD
default "tm4c1294-launchpad" if ARCH_BOARD_TM4C1294_LAUNCHPAD default "tm4c1294-launchpad" if ARCH_BOARD_TM4C1294_LAUNCHPAD
@ -1566,8 +1566,8 @@ endif
if ARCH_BOARD_SUREPIC32MX if ARCH_BOARD_SUREPIC32MX
source "configs/sure-pic32mx/Kconfig" source "configs/sure-pic32mx/Kconfig"
endif endif
if ARCH_BOARD_TEENSY if ARCH_BOARD_TEENSY_20
source "configs/teensy/Kconfig" source "configs/teensy-2.0/Kconfig"
endif endif
if ARCH_BOARD_TEENSY_LC if ARCH_BOARD_TEENSY_LC
source "configs/teensy-lc/Kconfig" source "configs/teensy-lc/Kconfig"

View File

@ -286,8 +286,8 @@ configs/lm4f120-launchpad
Instruments. Instruments.
configs/lpcxpresso-lpc1115 configs/lpcxpresso-lpc1115
NuttX board support for the NXP LPCXpresso daughter board. This board NuttX board support for the Embedded Artists LPCXpresso LPC1115 board
is based on the NXP LPC1115. featuring the NXP LPC1115 MCU.
configs/lpcxpresso-lpc1768 configs/lpcxpresso-lpc1768
Embedded Artists base board with NXP LPCExpresso LPC1768. This board Embedded Artists base board with NXP LPCExpresso LPC1768. This board
@ -602,7 +602,7 @@ configs/sure-pic32mx
http://www.sureelectronics.net/goods.php?id=1168 for further http://www.sureelectronics.net/goods.php?id=1168 for further
information about the Sure DB-DP11215 board. information about the Sure DB-DP11215 board.
configs/teensy configs/teensy-2.0
This is the port of NuttX to the PJRC Teensy++ 2.0 board. This board is This is the port of NuttX to the PJRC Teensy++ 2.0 board. This board is
developed by http://pjrc.com/teensy/. The Teensy++ 2.0 is based developed by http://pjrc.com/teensy/. The Teensy++ 2.0 is based
on an Atmel AT90USB1286 MCU. on an Atmel AT90USB1286 MCU.

View File

@ -1,7 +1,8 @@
README README
^^^^^^ ^^^^^^
README for NuttX port to the NXP the LPCXpresso board. README for NuttX port to the Embedded Artists LPCXpresso LPC1115 board
featuring the NXP LPC1115 MCU.
Contents Contents
^^^^^^^^ ^^^^^^^^

View File

@ -3,5 +3,5 @@
# see misc/tools/kconfig-language.txt. # see misc/tools/kconfig-language.txt.
# #
if ARCH_BOARD_TEENSY if ARCH_BOARD_TEENSY_20
endif endif

View File

@ -415,11 +415,11 @@ Teensy++ Configuration Options
CONFIG_ARCH_BOARD - Identifies the configs subdirectory and CONFIG_ARCH_BOARD - Identifies the configs subdirectory and
hence, the board that supports the particular chip or SoC. hence, the board that supports the particular chip or SoC.
CONFIG_ARCH_BOARD=teensy CONFIG_ARCH_BOARD=teensy-2.0
CONFIG_ARCH_BOARD_name - For use in C code CONFIG_ARCH_BOARD_name - For use in C code
CONFIG_ARCH_BOARD_TEENSY=y CONFIG_ARCH_BOARD_TEENSY_20=y
CONFIG_ARCH_LOOPSPERMSEC - Must be calibrated for correct operation CONFIG_ARCH_LOOPSPERMSEC - Must be calibrated for correct operation
of delay loops of delay loops
@ -520,7 +520,7 @@ Common Configuration Notes
can be selected as follow: can be selected as follow:
cd tools cd tools
./configure.sh teensy/<subdir> ./configure.sh teensy-2.0/<subdir>
cd - cd -
. ./setenv.sh . ./setenv.sh
@ -569,7 +569,7 @@ Configuration Sub-Directories
IS UNTESTED, AND (3) THE RAM USAGE MIGHT BE EXCESSIVE. IS UNTESTED, AND (3) THE RAM USAGE MIGHT BE EXCESSIVE.
Update 7/11: (1) The SPI/SD driver has been verified, however, (2) I Update 7/11: (1) The SPI/SD driver has been verified, however, (2) I
believe that the current teensy/usbmsc configuration uses too believe that the current teensy-2.0/usbmsc configuration uses too
much SRAM for the system to behave sanely. A lower memory footprint much SRAM for the system to behave sanely. A lower memory footprint
version of the mass storage driver will be required before this can version of the mass storage driver will be required before this can
be debugged. be debugged.

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# configs/teensy/hello/Make.defs # configs/teensy-2.0/hello/Make.defs
# #
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -146,9 +146,9 @@ CONFIG_RAM_SIZE=8192
# Board Selection # Board Selection
# #
# CONFIG_ARCH_BOARD_MICROPENDOUS3 is not set # CONFIG_ARCH_BOARD_MICROPENDOUS3 is not set
CONFIG_ARCH_BOARD_TEENSY=y CONFIG_ARCH_BOARD_TEENSY_20=y
# CONFIG_ARCH_BOARD_CUSTOM is not set # CONFIG_ARCH_BOARD_CUSTOM is not set
CONFIG_ARCH_BOARD="teensy" CONFIG_ARCH_BOARD="teensy-2.0"
# #
# Common Board Options # Common Board Options

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/teensy/hello/ld.script * configs/teensy-2.0/hello/ld.script
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# configs/teensy/nsh/setenv.sh # configs/teensy-2.0/hello/setenv.sh
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/teensy/include/board.h * configs/teensy-2.0/include/board.h
* include/arch/board/board.h
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +33,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __CONFIGS_TEENSY_INCLUDE_BOARD_H #ifndef __CONFIGS_TEENSY_20_INCLUDE_BOARD_H
#define __CONFIGS_TEENSY_INCLUDE_BOARD_H #define __CONFIGS_TEENSY_20_INCLUDE_BOARD_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -96,4 +95,4 @@ extern "C" {
#endif #endif
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_TEENSY_INCLUDE_BOARD_H */ #endif /* __CONFIGS_TEENSY_20_INCLUDE_BOARD_H */

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# configs/teensy/nsh/Make.defs # configs/teensy-2.0/nsh/Make.defs
# #
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -146,9 +146,9 @@ CONFIG_RAM_SIZE=8192
# Board Selection # Board Selection
# #
# CONFIG_ARCH_BOARD_MICROPENDOUS3 is not set # CONFIG_ARCH_BOARD_MICROPENDOUS3 is not set
CONFIG_ARCH_BOARD_TEENSY=y CONFIG_ARCH_BOARD_TEENSY_20=y
# CONFIG_ARCH_BOARD_CUSTOM is not set # CONFIG_ARCH_BOARD_CUSTOM is not set
CONFIG_ARCH_BOARD="teensy" CONFIG_ARCH_BOARD="teensy-2.0"
# #
# Common Board Options # Common Board Options

View File

@ -1,5 +1,5 @@
/************************************************************************************** /**************************************************************************************
* configs/teensy/usbmsc/ld.script * configs/teensy-2.0/nsh/ld.script
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# configs/teensy/usbmsc/setenv.sh # configs/teensy-2.0/nsh/setenv.sh
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# configs/teensy/src/Makefile # configs/teensy-2.0/src/Makefile
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/teensy/src/at90usb_boot.c * configs/teensy-2.0/src/at90usb_boot.c
* *
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/teensy/src/at90usb_leds.c * configs/teensy-2.0/src/at90usb_leds.c
* *
* Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/teensy/src/at90usb_spi.c * configs/teensy-2.0/src/at90usb_spi.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/teensy/src/at90usb_usbmsc.c * configs/teens-2.0/src/at90usb_usbmsc.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -63,7 +63,7 @@
/* PORT and SLOT number probably depend on the board configuration */ /* PORT and SLOT number probably depend on the board configuration */
#ifdef CONFIG_ARCH_BOARD_TEENSY #ifdef CONFIG_ARCH_BOARD_TEENSY_20
# undef AVR_MMCSDSPIPORTNO # undef AVR_MMCSDSPIPORTNO
# define AVR_MMCSDSPIPORTNO 0 # define AVR_MMCSDSPIPORTNO 0
# undef AVR_MMCSDSLOTNO # undef AVR_MMCSDSLOTNO

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/teensy/src/pcblogic-internal.h * configs/teensy-2.0/src/pcblogic-internal.h
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __CONFIGS_TEENSY_SRC_TEENSY_INTERNAL_H #ifndef __CONFIGS_TEENSY_20_SRC_TEENSY_INTERNAL_H
#define __CONFIGS_TEENSY_SRC_TEENSY_INTERNAL_H #define __CONFIGS_TEENSY_20_SRC_TEENSY_INTERNAL_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -99,4 +99,4 @@ void at90usb_ledinit(void);
#endif #endif
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_TEENSY_SRC_TEENSY_INTERNAL_H */ #endif /* __CONFIGS_TEENSY_20_SRC_TEENSY_INTERNAL_H */

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# configs/teensy/usbmsc/Make.defs # configs/teensy-2.0/usbmsc/Make.defs
# #
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. # Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -145,9 +145,9 @@ CONFIG_RAM_SIZE=8192
# Board Selection # Board Selection
# #
# CONFIG_ARCH_BOARD_MICROPENDOUS3 is not set # CONFIG_ARCH_BOARD_MICROPENDOUS3 is not set
CONFIG_ARCH_BOARD_TEENSY=y CONFIG_ARCH_BOARD_TEENSY_20=y
# CONFIG_ARCH_BOARD_CUSTOM is not set # CONFIG_ARCH_BOARD_CUSTOM is not set
CONFIG_ARCH_BOARD="teensy" CONFIG_ARCH_BOARD="teensy-2.0"
# #
# Common Board Options # Common Board Options

View File

@ -1,5 +1,5 @@
/************************************************************************************** /**************************************************************************************
* configs/teensy/nsh/ld.script * configs/teensy-2.0/usbmsc/ld.script
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# configs/teensy/hello/setenv.sh # configs/teensy-2.0/usbmsc/setenv.sh
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>