From 942056a7ad6f83137c05c73ecfc1a89fc6deed95 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 17 Apr 2012 21:23:10 +0000 Subject: More Kconfig git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4625 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/sh/Kconfig | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'nuttx/arch/sh/Kconfig') diff --git a/nuttx/arch/sh/Kconfig b/nuttx/arch/sh/Kconfig index ae2bf3130..8735dc238 100644 --- a/nuttx/arch/sh/Kconfig +++ b/nuttx/arch/sh/Kconfig @@ -2,3 +2,35 @@ # For a description of the syntax of this configuration file, # see misc/tools/kconfig-language.txt. # + +if ARCH_SH +choice + prompt "SH chip selection" + default ARCH_CHIP_SH7032 + +config ARCH_CHIP_SH7032 + bool "SH7032" + ---help--- + Hitachi/Renesas SH7032 (SH1) + +config ARCH_CHIP_M30262F8 + bool "M30262F8" + ---help--- + Renesas M30262F8 (M16C) + +endchoice + +config ARCH_SH1 + bool + default y if ARCH_CHIP_SH7032 + +config ARCH_M16C + bool + default y if ARCH_CHIP_M30262F8 + +config ARCH_CHIP + string + default "sh1" if ARCH_SH1 + default "m16c" if ARCH_M16C + +endif -- cgit v1.2.3