mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 14:41:29 +08:00
configs/ne64badge/ostest and demo9s12nec64/ostest: Configurations onverted to use the kconfig-frontends tools
This commit is contained in:
@@ -6893,6 +6893,6 @@
|
||||
kconfig-frontends tools (2014-3-5)
|
||||
* Many files: Use common naming for all buildroot toolchains
|
||||
(2014-3-5).
|
||||
* Many files: Use common naming for all CodeSourcery toolchains
|
||||
(2014-3-5).
|
||||
* Many files: Use common naming for rest of the toolcahins (2014-3-5).
|
||||
* Many files: Use common naming for rest of the toolchains (2014-3-5).
|
||||
* configs/ne64badge/ostest and demo9s12nec64/ostest: Configurations
|
||||
converted to use the kconfig-frontends tools (2014-3-5)
|
||||
|
||||
+4
-2
@@ -4,12 +4,14 @@
|
||||
#
|
||||
|
||||
if ARCH_HC
|
||||
|
||||
choice
|
||||
prompt "HC chip selection"
|
||||
default ARCH_CHIP_MCS92S12NEC64
|
||||
|
||||
config ARCH_CHIP_MCS92S12NEC64
|
||||
bool "MCS92S12NEC64"
|
||||
select ARCH_HSC12
|
||||
---help---
|
||||
Motorola/Freescale MCS92S12NEC64 (M9S12)
|
||||
|
||||
@@ -17,7 +19,7 @@ endchoice
|
||||
|
||||
config ARCH_HSC12
|
||||
bool
|
||||
default y if ARCH_CHIP_MCS92S12NEC64
|
||||
default n
|
||||
|
||||
config ARCH_CHIP
|
||||
string
|
||||
@@ -25,4 +27,4 @@ config ARCH_CHIP
|
||||
|
||||
source arch/hc/src/m9s12/Kconfig
|
||||
|
||||
endif
|
||||
endif # ARCH_HC
|
||||
|
||||
+139
-1
@@ -6,4 +6,142 @@
|
||||
if ARCH_HSC12
|
||||
comment "M9S12 Configuration Options"
|
||||
|
||||
endif
|
||||
menu "M9S12 Peripheral Selection"
|
||||
|
||||
config HCS12_SCI0
|
||||
bool "SCI0"
|
||||
default n
|
||||
|
||||
config HCS12_SCI1
|
||||
bool "SCI1"
|
||||
default n
|
||||
|
||||
endmenu # M9S12 Peripheral Selection
|
||||
|
||||
menu "SCI Configuration"
|
||||
depends on HCS12_SCI0 || HCS12_SCI1
|
||||
|
||||
if HCS12_SCI0
|
||||
|
||||
config SCI0_RXBUFSIZE
|
||||
int "SCI0 receive buffer size"
|
||||
default 256
|
||||
---help---
|
||||
Characters are buffered as they are received. This specifies
|
||||
the size of the receive buffer.
|
||||
|
||||
config SCI0_TXBUFSIZE
|
||||
int "SCI0 transmit buffer size"
|
||||
default 256
|
||||
---help---
|
||||
Characters are buffered before being sent. This specifies
|
||||
the size of the transmit buffer.
|
||||
|
||||
config SCI0_BAUD
|
||||
int "SCI0 BAUD rate"
|
||||
default 115200
|
||||
---help---
|
||||
The configured BAUD of the SCI.
|
||||
|
||||
config SCI0_BITS
|
||||
int "SCI0 character size"
|
||||
default 8
|
||||
---help---
|
||||
The number of bits. Must be either 7 or 8.
|
||||
|
||||
config SCI0_PARITY
|
||||
int "Parity setting"
|
||||
default 0
|
||||
---help---
|
||||
0=no parity, 1=odd parity, 2=even parity
|
||||
|
||||
config SCI0_2STOP
|
||||
int "SCI0 use 2 stop bits"
|
||||
default 0
|
||||
---help---
|
||||
1=Two stop bits
|
||||
|
||||
endif # HCS12_SCI0
|
||||
|
||||
if HCS12_SCI1
|
||||
|
||||
config SCI1_RXBUFSIZE
|
||||
int "SCI1 receive buffer size"
|
||||
default 256
|
||||
---help---
|
||||
Characters are buffered as they are received. This specifies
|
||||
the size of the receive buffer.
|
||||
|
||||
config SCI1_TXBUFSIZE
|
||||
int "SCI1 transmit buffer size"
|
||||
default 256
|
||||
---help---
|
||||
Characters are buffered before being sent. This specifies
|
||||
the size of the transmit buffer.
|
||||
|
||||
config SCI1_BAUD
|
||||
int "SCI1 BAUD rate"
|
||||
default 115200
|
||||
---help---
|
||||
The configured BAUD of the SCI.
|
||||
|
||||
config SCI1_BITS
|
||||
int "SCI1 character size"
|
||||
default 8
|
||||
---help---
|
||||
The number of bits. Must be either 7 or 8.
|
||||
|
||||
config SCI1_PARITY
|
||||
int "Parity setting"
|
||||
default 0
|
||||
---help---
|
||||
0=no parity, 1=odd parity, 2=even parity
|
||||
|
||||
config SCI1_2STOP
|
||||
int "SCI1 use 2 stop bits"
|
||||
default 0
|
||||
---help---
|
||||
1=Two stop bits
|
||||
|
||||
endif # HCS12_SCI1
|
||||
|
||||
choice
|
||||
prompt "SCI Serial Console"
|
||||
default SCI0_SERIAL_CONSOLE if HCS12_SCI0
|
||||
default SCI1_SERIAL_CONSOLE if !HCS12_SCI0
|
||||
|
||||
config NOSCI_SERIAL_CONSOLE
|
||||
bool "No SCI serial console"
|
||||
|
||||
config SCI0_SERIAL_CONSOLE
|
||||
bool "SCI0 serial console"
|
||||
depends on HCS12_SCI0
|
||||
|
||||
config SCI1_SERIAL_CONSOLE
|
||||
bool "SCI1 serial console"
|
||||
depends on HCS12_SCI1
|
||||
|
||||
endchoice
|
||||
endmenu # SCI Configuration
|
||||
|
||||
menu "HSC12 Build Options"
|
||||
|
||||
config HCS12_SERIALMON
|
||||
bool "Freescale serial bootloader"
|
||||
default n
|
||||
---help---
|
||||
Indicates that the target systems uses the Freescale serial
|
||||
bootloader.
|
||||
|
||||
config HCS12_NONBANKED
|
||||
bool "Non-banked"
|
||||
default n
|
||||
---help---
|
||||
Indicates that the target systems does not support banking.
|
||||
Only short calls are made; one fixed page is presented in the
|
||||
paging window. Only 48Kb of FLASH is usable in this configuration:
|
||||
pages 3e, 3d, then 3f will appear as a contiguous address space
|
||||
in memory.
|
||||
|
||||
endmenu # HSC12 Build Options
|
||||
endif # ARCH_HSC12
|
||||
|
||||
@@ -358,17 +358,40 @@ HCS12/DEMO9S12NEC64-specific Configuration Options
|
||||
Configurations
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
Each Freescale HCS12 configuration is maintained in a sub-directory and
|
||||
can be selected as follow:
|
||||
Common Configuration Notes
|
||||
--------------------------
|
||||
|
||||
cd tools
|
||||
./configure.sh demo9s12nec64/<subdir>
|
||||
cd -
|
||||
. ./setenv.sh
|
||||
1. Each Freescale HCS12 configuration is maintained in a sub-directory and
|
||||
can be selected as follow:
|
||||
|
||||
Where <subdir> is one of the following:
|
||||
cd tools
|
||||
./configure.sh demo9s12nec64/<subdir>
|
||||
cd -
|
||||
. ./setenv.sh
|
||||
|
||||
ostest:
|
||||
This configuration directory, performs a simple OS test using
|
||||
examples/ostest.
|
||||
Where <subdir> is one of the configuration sub-directories described in
|
||||
the following paragraph.
|
||||
|
||||
2. These configurations use the mconf-based configuration tool. To
|
||||
change a configurations using that tool, you should:
|
||||
|
||||
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
||||
and misc/tools/
|
||||
|
||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||
reconfiguration process.
|
||||
|
||||
3. By default, all configurations assume the that you are building under
|
||||
under Linux (should work under Windows with Cygwin as well). This
|
||||
is easily reconfigured:
|
||||
|
||||
CONFIG_HOST_LINUX=y
|
||||
|
||||
Configuration Sub-Directories
|
||||
-----------------------------
|
||||
|
||||
ostest
|
||||
|
||||
This configuration directory, performs a simple OS test using
|
||||
examples/ostest.
|
||||
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
############################################################################
|
||||
# configs/demo9s12ne64/ostest/appconfig
|
||||
#
|
||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in
|
||||
# the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||
# used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/ostest
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -465,17 +465,40 @@ HCS12/NE64BADGE-specific Configuration Options
|
||||
Configurations
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
Each Freescale HCS12 configuration is maintained in a sub-directory and
|
||||
can be selected as follow:
|
||||
Common Configuration Notes
|
||||
--------------------------
|
||||
|
||||
cd tools
|
||||
./configure.sh ne64badge/<subdir>
|
||||
cd -
|
||||
. ./setenv.sh
|
||||
1. Each Freescale HCS12 configuration is maintained in a sub-directory and
|
||||
can be selected as follow:
|
||||
|
||||
Where <subdir> is one of the following:
|
||||
cd tools
|
||||
./configure.sh ne64badge/<subdir>
|
||||
cd -
|
||||
. ./setenv.sh
|
||||
|
||||
ostest:
|
||||
This configuration directory, performs a simple OS test using
|
||||
examples/ostest.
|
||||
Where <subdir> is one of the configuration sub-directories described in
|
||||
the following paragraph.
|
||||
|
||||
2. These configurations use the mconf-based configuration tool. To
|
||||
change a configurations using that tool, you should:
|
||||
|
||||
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
||||
and misc/tools/
|
||||
|
||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||
reconfiguration process.
|
||||
|
||||
3. By default, all configurations assume the that you are building under
|
||||
under Linux (should work under Windows with Cygwin as well). This
|
||||
is easily reconfigured:
|
||||
|
||||
CONFIG_HOST_LINUX=y
|
||||
|
||||
Configuration Sub-Directories
|
||||
-----------------------------
|
||||
|
||||
ostest
|
||||
|
||||
This configuration directory, performs a simple OS test using
|
||||
examples/ostest.
|
||||
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
############################################################################
|
||||
# configs/ne64badge/ostest/appconfig
|
||||
#
|
||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in
|
||||
# the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||
# used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/ostest
|
||||
|
||||
+508
-334
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user