summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-06 09:17:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-06 09:17:11 -0600
commit97979ae5b3d3dbef49597919392b860ac96578b0 (patch)
treec5b722062f0ceb161ba32d2d7077603aab6c9f08 /nuttx/arch/sh
parenta04430f5dfc0f3f7f29664c2a77b12c3673527ed (diff)
downloadnuttx-97979ae5b3d3dbef49597919392b860ac96578b0.tar.gz
nuttx-97979ae5b3d3dbef49597919392b860ac96578b0.tar.bz2
nuttx-97979ae5b3d3dbef49597919392b860ac96578b0.zip
configs/us7032evb1/ostest: Configuration converted to use the kconfig-frontends tools
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r--nuttx/arch/sh/Kconfig9
-rw-r--r--nuttx/arch/sh/src/sh1/Kconfig61
2 files changed, 67 insertions, 3 deletions
diff --git a/nuttx/arch/sh/Kconfig b/nuttx/arch/sh/Kconfig
index bfb1f5973..15575a9e4 100644
--- a/nuttx/arch/sh/Kconfig
+++ b/nuttx/arch/sh/Kconfig
@@ -4,17 +4,20 @@
#
if ARCH_SH
+
choice
prompt "SH chip selection"
default ARCH_CHIP_SH7032
config ARCH_CHIP_SH7032
bool "SH7032"
+ select ARCH_SH1
---help---
Hitachi/Renesas SH7032 (SH1)
config ARCH_CHIP_M30262F8
bool "M30262F8"
+ select ARCH_M16C
---help---
Renesas M30262F8 (M16C)
@@ -22,11 +25,11 @@ endchoice
config ARCH_SH1
bool
- default y if ARCH_CHIP_SH7032
+ default n
config ARCH_M16C
bool
- default y if ARCH_CHIP_M30262F8
+ default n
config ARCH_CHIP
string
@@ -37,4 +40,4 @@ source arch/sh/src/common/Kconfig
source arch/sh/src/m16c/Kconfig
source arch/sh/src/sh1/Kconfig
-endif
+endif # ARCH_SH
diff --git a/nuttx/arch/sh/src/sh1/Kconfig b/nuttx/arch/sh/src/sh1/Kconfig
index 3fe3ebb7d..560c3d91c 100644
--- a/nuttx/arch/sh/src/sh1/Kconfig
+++ b/nuttx/arch/sh/src/sh1/Kconfig
@@ -6,4 +6,65 @@
if ARCH_SH1
comment "SH-1 Configuration Options"
+menu "SH-1 Peripheral Selections"
+
+config SH1_DMAC0
+ bool "DMAC0"
+ default n
+
+config SH1_DMAC1
+ bool "DMAC1"
+ default n
+
+config SH1_DMAC2
+ bool "DMAC2"
+ default n
+
+config SH1_DMAC3
+ bool "DMAC3"
+ default n
+
+config SH1_ITU1
+ bool "ITU2"
+ default n
+
+config SH1_ITU2
+ bool "ITU2"
+ default n
+
+config SH1_ITU3
+ bool "ITU3"
+ default n
+
+config SH1_ITU4
+ bool "ITU4"
+ default n
+
+config SH1_SCI0
+ bool "SCI0"
+ default n
+ select ARCH_HAVE_SCI0
+
+config SH1_SCI1
+ bool "SCI1"
+ default n
+ select ARCH_HAVE_SCI1
+
+config SH1_PCU
+ bool "PCU"
+ default n
+
+config SH1_AD
+ bool "AD"
+ default n
+
+config SH1_WDT
+ bool "WDT"
+ default n
+
+config SH1_CMI
+ bool "CMI"
+ default n
+
+endmenu # SH-1 Peripheral Selections
endif