More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4632 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e91f97ada2
commit
be3ebf6201
@ -2,3 +2,30 @@
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_X86
|
||||
choice
|
||||
prompt "x86 chip selection"
|
||||
default ARCH_I486
|
||||
|
||||
config ARCH_I486
|
||||
bool "i486"
|
||||
---help---
|
||||
Intel i486 architecture
|
||||
|
||||
endchoice
|
||||
|
||||
config ARCH_CHIP_QEMU
|
||||
bool "Qemu x86 emulation"
|
||||
---help---
|
||||
Intel i486 architecture
|
||||
|
||||
config ARCH_CHIP
|
||||
string
|
||||
default "qemu" if ARCH_CHIP_QEMU
|
||||
|
||||
source arch/x86/src/common/Kconfig
|
||||
source arch/x86/src/i486/Kconfig
|
||||
source arch/x86/src/qemu/Kconfig
|
||||
|
||||
endif
|
||||
|
7
arch/x86/src/common/Kconfig
Normal file
7
arch/x86/src/common/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_X86
|
||||
endif
|
7
arch/x86/src/i486/Kconfig
Normal file
7
arch/x86/src/i486/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_I486
|
||||
endif
|
7
arch/x86/src/qemu/Kconfig
Normal file
7
arch/x86/src/qemu/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_CHIP_QEMU
|
||||
endif
|
@ -2,3 +2,44 @@
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_Z16
|
||||
|
||||
choice
|
||||
prompt "ZNEO chip selection"
|
||||
default ARCH_CHIP_Z16F2811
|
||||
|
||||
config ARCH_CHIP_Z16F2810
|
||||
bool "Z16F2810"
|
||||
---help---
|
||||
ZiLOG Z16F2810
|
||||
|
||||
config ARCH_CHIP_Z16F2811
|
||||
bool "Z16F2811"
|
||||
---help---
|
||||
ZiLOG Z16F2811
|
||||
|
||||
config ARCH_CHIP_Z16F3211
|
||||
bool "Z16F321"
|
||||
---help---
|
||||
ZiLOG Z16F321
|
||||
|
||||
config ARCH_CHIP_Z16F6411
|
||||
bool "Z16F6411"
|
||||
---help---
|
||||
ZiLOG Z16F6411
|
||||
|
||||
endchoice
|
||||
|
||||
config ARCH_CHIP_Z16F
|
||||
bool
|
||||
default y if ARCH_CHIP_Z16F2810 || ARCH_CHIP_Z16F2811 || ARCH_CHIP_Z16F3211 || ARCH_CHIP_Z16F6411
|
||||
|
||||
config ARCH_CHIP
|
||||
string
|
||||
default "z16f" if ARCH_CHIP_Z16F
|
||||
|
||||
source arch/z16/src/common/Kconfig
|
||||
source arch/z16/src/z16f/Kconfig
|
||||
|
||||
endif
|
||||
|
7
arch/z16/src/common/Kconfig
Normal file
7
arch/z16/src/common/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_Z16
|
||||
endif
|
7
arch/z16/src/z16f/Kconfig
Normal file
7
arch/z16/src/z16f/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_CHIP_Z16F
|
||||
endif
|
@ -2,3 +2,71 @@
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_Z80
|
||||
choice
|
||||
prompt "ZiLOG 8-bit MCU"
|
||||
default ARCH_CHIP_Z80
|
||||
|
||||
config ARCH_CHIP_Z80
|
||||
bool "Classic z80"
|
||||
---help---
|
||||
Classic ZiLOG z80 chip
|
||||
|
||||
config ARCH_CHIP_Z8F640X
|
||||
bool "Z8F640X"
|
||||
---help---
|
||||
ZiLOG Z8F640X (z8 Encore)
|
||||
|
||||
config ARCH_CHIP_Z8F6403
|
||||
bool "Z8F6403"
|
||||
---help---
|
||||
ZiLOG Z8F6403 (z8 Encore)
|
||||
|
||||
config ARCH_CHIP_Z8F642X
|
||||
bool "Z8F642X"
|
||||
---help---
|
||||
ZiLOG Z8F642X (z8 Encore)
|
||||
|
||||
config ARCH_CHIP_Z8F6423
|
||||
bool "Z8F6423"
|
||||
---help---
|
||||
ZiLOG Z8F6423 (z8 Encore)
|
||||
|
||||
config ARCH_CHIP_EZ80F91
|
||||
bool "EZ80F91"
|
||||
---help---
|
||||
ZiLOG EZ80F91 (ez80 Acclaim)
|
||||
|
||||
config ARCH_CHIP_EZ80F92
|
||||
bool "EZ80F92"
|
||||
---help---
|
||||
ZiLOG EZ80F92 (ez80 Acclaim)
|
||||
|
||||
config ARCH_CHIP_EZ80F93
|
||||
bool "EZ80F93"
|
||||
---help---
|
||||
ZiLOG EZ80F93 (ez80 Acclaim)
|
||||
|
||||
endchoice
|
||||
|
||||
config ARCH_CHIP_Z8
|
||||
bool
|
||||
default y if ARCH_CHIP_Z8F640X || ARCH_CHIP_Z8F6403 || ARCH_CHIP_Z8F642X || ARCH_CHIP_Z8F6423
|
||||
|
||||
config ARCH_CHIP_EZ80
|
||||
bool
|
||||
default y if ARCH_CHIP_EZ80F91 || ARCH_CHIP_EZ80F92 || ARCH_CHIP_EZ80F93
|
||||
|
||||
config ARCH_CHIP
|
||||
string
|
||||
default "z80" if ARCH_CHIP_Z80
|
||||
default "z8" if ARCH_CHIP_Z8
|
||||
default "ez80" if ARCH_CHIP_EZ80
|
||||
|
||||
source "arch/z80/src/common/Kconfig"
|
||||
source "arch/z80/src/z80/Kconfig"
|
||||
source "arch/z80/src/z8/Kconfig"
|
||||
source "arch/z80/src/ez80/Kconfig"
|
||||
|
||||
endif
|
||||
|
7
arch/z80/src/common/Kconfig
Normal file
7
arch/z80/src/common/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_Z80
|
||||
endif
|
7
arch/z80/src/ez80/Kconfig
Normal file
7
arch/z80/src/ez80/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_CHIP_EZ80
|
||||
endif
|
7
arch/z80/src/z8/Kconfig
Normal file
7
arch/z80/src/z8/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_CHIP_Z8
|
||||
endif
|
7
arch/z80/src/z80/Kconfig
Normal file
7
arch/z80/src/z80/Kconfig
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if ARCH_CHIP_Z80
|
||||
endif
|
@ -329,6 +329,10 @@ static ssize_t uart_read(FAR struct file *filep, FAR char *buffer, size_t buflen
|
||||
* the head index but must not modify the tail index. The tail
|
||||
* index is only modified in this function. Therefore, no
|
||||
* special handshaking is required here.
|
||||
*
|
||||
* The head and tail pointers are 16-bit values. The only time that
|
||||
* the following could be unsafe is if the CPU made two non-atomic
|
||||
* 8-bit accesses to obtain the 16-bit head index.
|
||||
*/
|
||||
|
||||
tail = dev->recv.tail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user