summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/Kconfig
blob: bfb1f5973aeb44150562ffde97bd3adab400fd49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# 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

source arch/sh/src/common/Kconfig
source arch/sh/src/m16c/Kconfig
source arch/sh/src/sh1/Kconfig

endif