Browse Source

Update LPC43 Kconfig

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5103 7fd9a85b-ad96-42d3-883c-3090e2eb8679
sbg
patacongo 13 years ago
parent
commit
dcd68236b1
  1. 5
      nuttx/ChangeLog
  2. 6
      nuttx/arch/arm/Kconfig
  3. 30
      nuttx/arch/arm/src/lpc43xx/Kconfig
  4. 6
      nuttx/arch/arm/src/lpc43xx/lpc43_usb0dev.h
  5. 8
      nuttx/configs/lpc4330-xplorer/README.txt
  6. 2
      nuttx/configs/lpc4330-xplorer/nsh/Make.defs
  7. 3
      nuttx/configs/lpc4330-xplorer/nsh/defconfig
  8. 2
      nuttx/configs/lpc4330-xplorer/ostest/Make.defs
  9. 3
      nuttx/configs/lpc4330-xplorer/ostest/defconfig

5
nuttx/ChangeLog

@ -3264,11 +3264,14 @@ @@ -3264,11 +3264,14 @@
AVR "teensy" now builds with Kconfig (contributed by Richard Cochran).
* Kconfig: Add configuration settings for the LPC17xx
* Kconfig: Add configuration settings for the LM3S (from Richard Cochran).
* Kconfig: Verify configuration settings for the STM32. This include
* Kconfig: Verify configuration settings for the STM32. This includes
changes in the way that the external SRAM is configured: Define
CONFIG_HEAP2_SIZE (decimal) instead of CONFIG_HEAP2_END (hex).
* tools/configure.sh: Don't append the apps directory path setting
if the correct setting is already in defined in the defconfig file.
* fs/fat/fs_utils.c: Improper constructed bool expression. This
would cause many unnecessary writes to FLASH (Thanks Ronen Vainish).
* Kconfig: Verify configuration settings for the LPC432xx. This includes
some corrections to configuration variable names and defconfig settings.

6
nuttx/arch/arm/Kconfig

@ -75,8 +75,8 @@ config ARCH_CHIP_LPC31XX @@ -75,8 +75,8 @@ config ARCH_CHIP_LPC31XX
config ARCH_CHIP_LPC43XX
bool "NXP LPC43XX"
select ARCH_CORTEXM
select ARCH_CORTEXM4
select ARMV7M_CMNVECTOR
---help---
NPX LPC43XX architectures (ARM Cortex-M4).
@ -115,6 +115,10 @@ config ARCH_CORTEXM3 @@ -115,6 +115,10 @@ config ARCH_CORTEXM3
config ARCH_CORTEXM4
bool
config ARMV7M_CMNVECTOR
bool
default n
config ARCH_FPU
bool "FPU support"
default y

30
nuttx/arch/arm/src/lpc43xx/Kconfig

@ -85,9 +85,37 @@ config ARCH_FAMILY_LPC4357 @@ -85,9 +85,37 @@ config ARCH_FAMILY_LPC4357
bool
default y if ARCH_CHIP_LPC4357FET180 || ARCH_CHIP_LPC4357FBD208 || ARCH_CHIP_LPC4357FET256
choice
prompt "Toolchain Selection"
default LPC43_CODEREDW
depends on ARCH_CHIP_LPC43XX
config LPC43_CODEREDW
bool "CodeRed for Windows"
config LPC43_CODESOURCERYW
bool "CodeSourcery for Windows"
config LPC43_CODESOURCERYL
bool "CodeSourcery for Linux"
config LPC43_ATOLLIC_LITE
bool "Atollic Lite for Windows"
config LPC43_ATOLLIC_PRO
bool "Atollic Pro for Windows"
config LPC43_DEVKITARM
bool "DevkitARM (Windows)"
config LPC43_BUILDROOT
bool "NuttX buildroot (Cygwin or Linux)"
endchoice
choice
prompt "LPC43XX Boot Configuration"
default CONFIG_BOOT_SRAM
default BOOT_SRAM
depends on ARCH_CHIP_LPC43XX
---help---
The startup code needs to know if the code is running from internal FLASH,

6
nuttx/arch/arm/src/lpc43xx/lpc43_usb0dev.h

@ -33,8 +33,8 @@ @@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC43XX_LPC32_USB0DEV_H
#define __ARCH_ARM_SRC_LPC43XX_LPC32_USB0DEV_H
#ifndef __ARCH_ARM_SRC_LPC43XX_LPC43_USB0DEV_H
#define __ARCH_ARM_SRC_LPC43XX_LPC43_USB0DEV_H
/************************************************************************************
* Included Files
@ -94,5 +94,5 @@ EXTERN void lpc43_usbsuspend(FAR struct usbdev_s *dev, bool resume); @@ -94,5 +94,5 @@ EXTERN void lpc43_usbsuspend(FAR struct usbdev_s *dev, bool resume);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_SRC_LPC43XX_LPC32_USB0DEV_H */
#endif /* __ARCH_ARM_SRC_LPC43XX_LPC43_USB0DEV_H */

8
nuttx/configs/lpc4330-xplorer/README.txt

@ -146,7 +146,7 @@ GNU Toolchain Options @@ -146,7 +146,7 @@ GNU Toolchain Options
the CodeSourcery or devkitARM toolchain, you simply need add one of the
following configuration options to your .config (or defconfig) file:
CONFIG_LPC32_CODEREDW=y : Code Red "RedSuite" under Windows
CONFIG_LPC43_CODEREDW=y : Code Red "RedSuite" under Windows
CONFIG_LPC43_CODESOURCERYW=y : CodeSourcery under Windows
CONFIG_LPC43_CODESOURCERYL=y : CodeSourcery under Linux
CONFIG_LPC43_ATOLLIC_LITE=y : The free, "Lite" version of Atollic toolchain under Windows
@ -431,7 +431,7 @@ Code Red IDE/Tools @@ -431,7 +431,7 @@ Code Red IDE/Tools
from SRAM.
CONFIG_BOOT_SRAM=y : Executing in SRAM
CONFIG_LPC32_CODEREDW=y : Code Red under Windows
CONFIG_LPC43_CODEREDW=y : Code Red under Windows
To execute from SPIFI, you would need to set:
@ -859,7 +859,7 @@ Where <subdir> is one of the following: @@ -859,7 +859,7 @@ Where <subdir> is one of the following:
executing directly from SRAM.
CONFIG_BOOT_SRAM=y : Executing in SRAM
CONFIG_LPC32_CODEREDW=y : Code Red under Windows
CONFIG_LPC43_CODEREDW=y : Code Red under Windows
This configuration directory, performs a simple test of the USB host
HID keyboard class driver using the test logic in examples/hidkbd.
@ -899,7 +899,7 @@ Where <subdir> is one of the following: @@ -899,7 +899,7 @@ Where <subdir> is one of the following:
executing directly from SRAM.
CONFIG_BOOT_SRAM=y : Executing in SRAM
CONFIG_LPC32_CODEREDW=y : Code Red under Windows
CONFIG_LPC43_CODEREDW=y : Code Red under Windows
To execute from SPIFI, you would need to set:

2
nuttx/configs/lpc4330-xplorer/nsh/Make.defs

@ -38,7 +38,7 @@ include ${TOPDIR}/tools/Config.mk @@ -38,7 +38,7 @@ include ${TOPDIR}/tools/Config.mk
# Setup for the selected toolchain
ifeq ($(CONFIG_LPC32_CODEREDW),y)
ifeq ($(CONFIG_LPC43_CODEREDW),y)
# Code Red RedSuite under Windows
CROSSDEV = arm-none-eabi-
ARCROSSDEV = arm-none-eabi-

3
nuttx/configs/lpc4330-xplorer/nsh/defconfig

@ -39,6 +39,7 @@ CONFIG_ARCH="arm" @@ -39,6 +39,7 @@ CONFIG_ARCH="arm"
CONFIG_ARCH_ARM=y
CONFIG_ARCH_CORTEXM4=y
CONFIG_ARCH_CHIP="lpc43xx"
CONFIG_ARCH_CHIP_LPC43XX=y
CONFIG_ARCH_CHIP_LPC4330FET100=y
CONFIG_ARCH_BOARD="lpc4330-xplorer"
CONFIG_ARCH_BOARD_LPC4330_XPLORER=y
@ -71,7 +72,7 @@ CONFIG_BOOT_CS3FLASH=n @@ -71,7 +72,7 @@ CONFIG_BOOT_CS3FLASH=n
#
# Identify toolchain and linker options
#
CONFIG_LPC32_CODEREDW=y
CONFIG_LPC43_CODEREDW=y
CONFIG_LPC43_CODESOURCERYW=n
CONFIG_LPC43_CODESOURCERYL=n
CONFIG_LPC43_ATOLLIC_LITE=n

2
nuttx/configs/lpc4330-xplorer/ostest/Make.defs

@ -38,7 +38,7 @@ include ${TOPDIR}/tools/Config.mk @@ -38,7 +38,7 @@ include ${TOPDIR}/tools/Config.mk
# Setup for the selected toolchain
ifeq ($(CONFIG_LPC32_CODEREDW),y)
ifeq ($(CONFIG_LPC43_CODEREDW),y)
# Code Red RedSuite under Windows
CROSSDEV = arm-none-eabi-
ARCROSSDEV = arm-none-eabi-

3
nuttx/configs/lpc4330-xplorer/ostest/defconfig

@ -39,6 +39,7 @@ CONFIG_ARCH="arm" @@ -39,6 +39,7 @@ CONFIG_ARCH="arm"
CONFIG_ARCH_ARM=y
CONFIG_ARCH_CORTEXM4=y
CONFIG_ARCH_CHIP="lpc43xx"
CONFIG_ARCH_CHIP_LPC43XX=y
CONFIG_ARCH_CHIP_LPC4330FET100=y
CONFIG_ARCH_BOARD="lpc4330-xplorer"
CONFIG_ARCH_BOARD_LPC4330_XPLORER=y
@ -71,7 +72,7 @@ CONFIG_BOOT_CS3FLASH=n @@ -71,7 +72,7 @@ CONFIG_BOOT_CS3FLASH=n
#
# Identify toolchain and linker options
#
CONFIG_LPC32_CODEREDW=y
CONFIG_LPC43_CODEREDW=y
CONFIG_LPC43_CODESOURCERYW=n
CONFIG_LPC43_CODESOURCERYL=n
CONFIG_LPC43_ATOLLIC_LITE=n

Loading…
Cancel
Save