mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:04:17 +08:00
Add Nuvoton chip selection logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5656 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -318,6 +318,15 @@ config ARCH_BOARD_MIRTOO
|
|||||||
This is the port to the DTX1-4000L "Mirtoo" module. This module uses MicroChip
|
This is the port to the DTX1-4000L "Mirtoo" module. This module uses MicroChip
|
||||||
PIC32MX250F128D. See http://www.dimitech.com/ for further information.
|
PIC32MX250F128D. See http://www.dimitech.com/ for further information.
|
||||||
|
|
||||||
|
config ARCH_BOARD_NUTINY_NUC120
|
||||||
|
bool "Nuvoton NuTiny NUC120"
|
||||||
|
depends on ARCH_CHIP_NUC120LE3AN
|
||||||
|
select ARCH_HAVE_LEDS
|
||||||
|
---help---
|
||||||
|
This is the port to the Nuvoton NuTiny EVB 120 board. This board uses a
|
||||||
|
Nuvoton NUC120 chip, specifically the NUC120LE3AN. See http://www.nuvoton.com/
|
||||||
|
for further information.
|
||||||
|
|
||||||
config ARCH_BOARD_OLIMEXLPC2378
|
config ARCH_BOARD_OLIMEXLPC2378
|
||||||
bool "Olimex-lpc2378 board"
|
bool "Olimex-lpc2378 board"
|
||||||
depends on ARCH_CHIP_LPC2378
|
depends on ARCH_CHIP_LPC2378
|
||||||
@@ -695,6 +704,7 @@ config ARCH_BOARD
|
|||||||
default "ne64badge" if ARCH_BOARD_NE64BADGE
|
default "ne64badge" if ARCH_BOARD_NE64BADGE
|
||||||
default "ntosd-dm320" if ARCH_BOARD_NTOSD_DM320
|
default "ntosd-dm320" if ARCH_BOARD_NTOSD_DM320
|
||||||
default "nucleus2g" if ARCH_BOARD_NUCLEUS2G
|
default "nucleus2g" if ARCH_BOARD_NUCLEUS2G
|
||||||
|
default "nutiny-nuc120" if ARCH_BOARD_NUTINY_NUC120
|
||||||
default "olimex-lpc1766stk" if ARCH_BOARD_LPC1766STK
|
default "olimex-lpc1766stk" if ARCH_BOARD_LPC1766STK
|
||||||
default "olimex-lpc2378" if ARCH_BOARD_OLIMEXLPC2378
|
default "olimex-lpc2378" if ARCH_BOARD_OLIMEXLPC2378
|
||||||
default "olimex-stm32-p107" if ARCH_BOARD_OLIMEX_STM32P107
|
default "olimex-stm32-p107" if ARCH_BOARD_OLIMEX_STM32P107
|
||||||
@@ -876,6 +886,9 @@ endif
|
|||||||
if ARCH_BOARD_NUCLEUS2G
|
if ARCH_BOARD_NUCLEUS2G
|
||||||
source "configs/nucleus2g/Kconfig"
|
source "configs/nucleus2g/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
if ARCH_BOARD_NUTINY_NUC120
|
||||||
|
source "configs/nutiny-nuc120/Kconfig"
|
||||||
|
endif
|
||||||
if ARCH_BOARD_LPC1766STK
|
if ARCH_BOARD_LPC1766STK
|
||||||
source "configs/olimex-lpc1766stk/Kconfig"
|
source "configs/olimex-lpc1766stk/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -76,7 +76,8 @@ CONFIG_ARCH="arm"
|
|||||||
# CONFIG_ARCH_CHIP_LPC31XX is not set
|
# CONFIG_ARCH_CHIP_LPC31XX is not set
|
||||||
# CONFIG_ARCH_CHIP_LPC43XX is not set
|
# CONFIG_ARCH_CHIP_LPC43XX is not set
|
||||||
# CONFIG_ARCH_CHIP_SAM3U is not set
|
# CONFIG_ARCH_CHIP_SAM3U is not set
|
||||||
CONFIG_ARCH_CHIP_NUC120=y
|
CONFIG_ARCH_CHIP_NUC1XX=y
|
||||||
|
CONFIG_ARCH_CHIP_NUC120LE3AN=y
|
||||||
# CONFIG_ARCH_CHIP_STR71X is not set
|
# CONFIG_ARCH_CHIP_STR71X is not set
|
||||||
CONFIG_ARCH_CORTEXM0=y
|
CONFIG_ARCH_CORTEXM0=y
|
||||||
CONFIG_ARCH_FAMILY="armv6-m"
|
CONFIG_ARCH_FAMILY="armv6-m"
|
||||||
@@ -244,7 +245,7 @@ CONFIG_BOOT_RUNFROMFLASH=y
|
|||||||
#
|
#
|
||||||
# Board Selection
|
# Board Selection
|
||||||
#
|
#
|
||||||
CONFIG_ARCH_BOARD_STM32F3_DISCOVERY=y
|
CONFIG_ARCH_BOARD_NUTINY_NUC120=y
|
||||||
# CONFIG_ARCH_BOARD_CUSTOM is not set
|
# CONFIG_ARCH_BOARD_CUSTOM is not set
|
||||||
CONFIG_ARCH_BOARD="nutiny-nuc120"
|
CONFIG_ARCH_BOARD="nutiny-nuc120"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user