2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2012-04-19 03:17:30 +08:00
|
|
|
|
|
|
|
if ARCH_Z80
|
|
|
|
choice
|
|
|
|
prompt "ZiLOG 8-bit MCU"
|
|
|
|
default ARCH_CHIP_Z80
|
|
|
|
|
|
|
|
config ARCH_CHIP_Z80
|
|
|
|
bool "Classic z80"
|
2012-12-15 23:03:35 +08:00
|
|
|
select ARCH_NOINTC
|
2015-11-24 02:16:35 +08:00
|
|
|
select MM_SMALL
|
2012-04-19 03:17:30 +08:00
|
|
|
---help---
|
|
|
|
Classic ZiLOG z80 chip
|
|
|
|
|
2012-12-11 06:39:18 +08:00
|
|
|
config ARCH_CHIP_Z180
|
2020-02-27 00:11:06 +08:00
|
|
|
bool "z180 Family"
|
2015-11-24 02:16:35 +08:00
|
|
|
select MM_SMALL
|
2014-08-24 20:42:11 +08:00
|
|
|
select ARCH_NOINTC
|
|
|
|
select ARCH_HAVE_ADDRENV
|
|
|
|
select ARCH_ADDRENV
|
2020-02-27 00:11:06 +08:00
|
|
|
---help---
|
|
|
|
ZiLOG z80 architecture with MMU
|
2012-04-19 03:17:30 +08:00
|
|
|
|
|
|
|
config ARCH_CHIP_EZ80
|
2020-02-27 00:11:06 +08:00
|
|
|
bool "eZ80 Family (ez80 Acclaim)"
|
2020-05-18 22:18:15 +08:00
|
|
|
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
|
2015-11-24 02:16:35 +08:00
|
|
|
select MM_SMALL if EZ80_Z80MODE
|
2014-03-04 01:40:29 +08:00
|
|
|
select ARCH_HAVE_PHY
|
2020-02-27 00:11:06 +08:00
|
|
|
---help---
|
|
|
|
ZiLOG z80 architecture with 24-bit addressability
|
2012-04-19 03:17:30 +08:00
|
|
|
|
2020-02-27 00:11:06 +08:00
|
|
|
config ARCH_CHIP_Z8
|
|
|
|
bool "z8 Family"
|
2020-05-18 22:18:15 +08:00
|
|
|
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
|
2020-02-27 00:11:06 +08:00
|
|
|
select MM_SMALL
|
|
|
|
select ENDIAN_BIG
|
|
|
|
---help---
|
|
|
|
ZiLOG z8 architecture
|
|
|
|
|
2020-10-15 11:29:59 +08:00
|
|
|
config ARCH_CHIP_Z80_CUSTOM
|
|
|
|
bool "Custom Z80 chip"
|
|
|
|
select ARCH_CHIP_CUSTOM
|
|
|
|
---help---
|
|
|
|
Select this option if there is no directory for the chip under arch/z80/src/.
|
|
|
|
|
2020-02-27 00:11:06 +08:00
|
|
|
endchoice
|
2020-02-20 05:46:52 +08:00
|
|
|
|
2012-04-19 03:17:30 +08:00
|
|
|
config ARCH_CHIP
|
|
|
|
string
|
|
|
|
default "z80" if ARCH_CHIP_Z80
|
2012-12-11 06:39:18 +08:00
|
|
|
default "z180" if ARCH_CHIP_Z180
|
2012-04-19 03:17:30 +08:00
|
|
|
default "z8" if ARCH_CHIP_Z8
|
|
|
|
default "ez80" if ARCH_CHIP_EZ80
|
|
|
|
|
|
|
|
source "arch/z80/src/common/Kconfig"
|
|
|
|
source "arch/z80/src/z80/Kconfig"
|
2012-12-11 06:39:18 +08:00
|
|
|
source "arch/z80/src/z180/Kconfig"
|
2012-04-19 03:17:30 +08:00
|
|
|
source "arch/z80/src/z8/Kconfig"
|
|
|
|
source "arch/z80/src/ez80/Kconfig"
|
|
|
|
|
|
|
|
endif
|