mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 05:51:36 +08:00
More Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4625 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -2,3 +2,27 @@
|
|||||||
# For a description of the syntax of this configuration file,
|
# For a description of the syntax of this configuration file,
|
||||||
# see misc/tools/kconfig-language.txt.
|
# see misc/tools/kconfig-language.txt.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if ARCH_RGMP
|
||||||
|
choice
|
||||||
|
prompt "RGMP Architecture"
|
||||||
|
default RGMP_SUBARCH_X86
|
||||||
|
|
||||||
|
config RGMP_SUBARCH_ARM
|
||||||
|
bool "ARM"
|
||||||
|
---help---
|
||||||
|
RGMP ARM architecture"
|
||||||
|
|
||||||
|
config RGMP_SUBARCH_X86
|
||||||
|
bool "x86"
|
||||||
|
---help---
|
||||||
|
RGMP x86 architecture"
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config RGMP_SUBARCH
|
||||||
|
string
|
||||||
|
default "arm" if RGMP_SUBARCH_ARM
|
||||||
|
default "x86" if RGMP_SUBARCH_X86
|
||||||
|
|
||||||
|
endif
|
||||||
|
|||||||
@@ -2,3 +2,35 @@
|
|||||||
# For a description of the syntax of this configuration file,
|
# For a description of the syntax of this configuration file,
|
||||||
# see misc/tools/kconfig-language.txt.
|
# 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
|
||||||
|
|||||||
@@ -4,29 +4,4 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
if ARCH_SIM
|
if ARCH_SIM
|
||||||
choice
|
|
||||||
prompt "Simulator board type"
|
|
||||||
default ARCH_BOARD_SIM
|
|
||||||
|
|
||||||
config ARCH_BOARD_SIM
|
|
||||||
bool "x86 Linux user-mode"
|
|
||||||
depends on ARCH_SIM
|
|
||||||
---help---
|
|
||||||
A user-mode port of NuttX to the x86 Linux platform is available.
|
|
||||||
The purpose of this port is primarily to support OS feature development.
|
|
||||||
This port does not support interrupts or a real timer (and hence no
|
|
||||||
round robin scheduler) Otherwise, it is complete.
|
|
||||||
|
|
||||||
config ARCH_BOARD_WIN32
|
|
||||||
bool "x86 Win32 user-mode(NOT SUPPORTED)"
|
|
||||||
depends on ARCH_SIM
|
|
||||||
---help---
|
|
||||||
THIS PORT NOT SUPPORTED.
|
|
||||||
|
|
||||||
endchoice
|
|
||||||
|
|
||||||
config ARCH_BOARD
|
|
||||||
string
|
|
||||||
default "sim" if ARCH_BOARD_SIM
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -426,14 +426,11 @@ config ARCH_BOARD_SIM
|
|||||||
bool "User mode simulation"
|
bool "User mode simulation"
|
||||||
depends on ARCH_SIM
|
depends on ARCH_SIM
|
||||||
---help---
|
---help---
|
||||||
A user-mode port of NuttX to the x86 Linux platform is available.
|
A user-mode port of NuttX to the x86 Linux/Cygwin platform is available.
|
||||||
The purpose of this port is primarily to support OS feature development.
|
The purpose of this port is primarily to support OS feature development.
|
||||||
This port does not support interrupts or a real timer (and hence no
|
This port does not support interrupts or a real timer (and hence no
|
||||||
round robin scheduler) Otherwise, it is complete.
|
round robin scheduler) Otherwise, it is complete.
|
||||||
|
|
||||||
NOTE: This target will not run on Cygwin probably for many reasons but
|
|
||||||
first off because it uses some of the same symbols as does cygwin.dll.
|
|
||||||
|
|
||||||
config ARCH_BOARD_CUSTOM
|
config ARCH_BOARD_CUSTOM
|
||||||
bool "Custom development board"
|
bool "Custom development board"
|
||||||
---help---
|
---help---
|
||||||
|
|||||||
@@ -1518,9 +1518,6 @@ configs/sim
|
|||||||
This port does not support interrupts or a real timer (and hence no
|
This port does not support interrupts or a real timer (and hence no
|
||||||
round robin scheduler) Otherwise, it is complete.
|
round robin scheduler) Otherwise, it is complete.
|
||||||
|
|
||||||
NOTE: This target will not run on Cygwin probably for many reasons but
|
|
||||||
first off because it uses some of the same symbols as does cygwin.dll.
|
|
||||||
|
|
||||||
configs/skp16c26
|
configs/skp16c26
|
||||||
Renesas M16C processor on the Renesas SKP16C26 StarterKit. This port
|
Renesas M16C processor on the Renesas SKP16C26 StarterKit. This port
|
||||||
uses the GNU m32c toolchain. STATUS: The port is complete but untested
|
uses the GNU m32c toolchain. STATUS: The port is complete but untested
|
||||||
|
|||||||
@@ -2,3 +2,6 @@
|
|||||||
# For a description of the syntax of this configuration file,
|
# For a description of the syntax of this configuration file,
|
||||||
# see misc/tools/kconfig-language.txt.
|
# see misc/tools/kconfig-language.txt.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if ARCH_BOARD_SIM
|
||||||
|
endif
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
# CONFIG_ARCH_LCD - Configure LCD. Unique to skp16c26.
|
# CONFIG_ARCH_LCD - Configure LCD. Unique to skp16c26.
|
||||||
|
|
||||||
CONFIG_ARCH=sh
|
CONFIG_ARCH=sh
|
||||||
CONFIG_ARCH_SH=y
|
CONFIG_ARCH_M16C=y
|
||||||
CONFIG_ARCH_CHIP=m16c
|
CONFIG_ARCH_CHIP=m16c
|
||||||
CONFIG_ARCH_CHIP_M30262F8=y
|
CONFIG_ARCH_CHIP_M30262F8=y
|
||||||
CONFIG_ARCH_BOARD=skp16c26
|
CONFIG_ARCH_BOARD=skp16c26
|
||||||
|
|||||||
Reference in New Issue
Block a user