You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/02/26 20:12:12 UTC
[incubator-nuttx] branch pr385 updated (930e278 -> 7421dbf)
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a change to branch pr385
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.
from 930e278 xtensa: Use ar and nm from the toolchain
new a9610e1 boards/z80/ez80/z20x: Update CFLAGS and linker scripts.
new 65673a8 arch/arch: Make MCU selection menus more like other archs
new d48e143 arch/z80/src/ez80/ez80_timerisr.c: Use Kconfig MCU configurations.
new d332142 arch/z80/src/ez80/ez80f92_handlers.asm: Trivial typo fix.
new 7421dbf arch/z80/src/Makefile.zdsii*: Correct libraries for eZ80F92
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
arch/z80/Kconfig | 405 +--------------------
arch/z80/src/Makefile.zdsiil | 5 +-
arch/z80/src/Makefile.zdsiiw | 5 +-
arch/z80/src/ez80/Kconfig | 96 +++--
arch/z80/src/ez80/Toolchain.defs | 13 +-
arch/z80/src/ez80/ez80_timerisr.c | 18 +-
arch/z80/src/ez80/ez80f92_handlers.asm | 2 +-
arch/z80/src/z180/Kconfig | 297 +++++++++++++++
arch/z80/src/z8/Kconfig | 24 ++
boards/z80/ez80/ez80f910200kitg/scripts/Make.defs | 6 +-
boards/z80/ez80/ez80f910200zco/scripts/Make.defs | 6 +-
boards/z80/ez80/makerlisp/scripts/Make.defs | 6 +-
boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj | 10 +-
.../z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt | 2 +-
.../z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt | 12 +-
boards/z80/ez80/z20x/configs/nsh_ram/README.txt | 2 +-
boards/z80/ez80/z20x/configs/nsh_ram/nsh.zdsproj | 14 +-
.../z80/ez80/z20x/configs/nsh_ram/nsh_flash.ztgt | 2 +-
boards/z80/ez80/z20x/configs/nsh_ram/nsh_ram.ztgt | 12 +-
boards/z80/ez80/z20x/configs/sdboot/.gitignore | 8 +-
boards/z80/ez80/z20x/configs/sdboot/sdboot.zdsproj | 14 +-
.../z80/ez80/z20x/configs/sdboot/sdboot_flash.ztgt | 2 +-
.../z80/ez80/z20x/configs/sdboot/sdboot_ram.ztgt | 12 +-
boards/z80/ez80/z20x/scripts/Make.defs | 6 +-
.../z80/ez80/z20x/scripts/z20x_copytoram.linkcmd | 3 +-
boards/z80/ez80/z20x/scripts/z20x_flash.linkcmd | 3 +-
boards/z80/ez80/z20x/scripts/z20x_ram.linkcmd | 1 +
27 files changed, 490 insertions(+), 496 deletions(-)
[incubator-nuttx] 02/05: arch/arch: Make MCU selection menus more
like other archs
Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch pr385
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 65673a8ece3cb1d980cd8ff99951aa194134617d
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Wed Feb 26 10:11:06 2020 -0600
arch/arch: Make MCU selection menus more like other archs
---
arch/z80/Kconfig | 405 ++--------------------------------------------
arch/z80/src/ez80/Kconfig | 96 +++++++----
arch/z80/src/z180/Kconfig | 297 ++++++++++++++++++++++++++++++++++
arch/z80/src/z8/Kconfig | 24 +++
4 files changed, 404 insertions(+), 418 deletions(-)
diff --git a/arch/z80/Kconfig b/arch/z80/Kconfig
index c922f28..5c808ff 100644
--- a/arch/z80/Kconfig
+++ b/arch/z80/Kconfig
@@ -15,407 +15,30 @@ config ARCH_CHIP_Z80
---help---
Classic ZiLOG z80 chip
-config ARCH_CHIP_Z8018006VSG
- bool "Z8018006VSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 68-pin PLCC Z80180
-
-config ARCH_CHIP_Z8018010VSG
- bool "Z8018010VSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 68-pin PLCC Z80180
-
-config ARCH_CHIP_Z8018008VSG
- bool "Z8018008VSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 68-pin PLCC Z80180
-
-config ARCH_CHIP_Z8018010FSG
- bool "Z8018010FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 80-pin QFP (11 pins N/C) Z80180
-
-config ARCH_CHIP_Z8018008VEG
- bool "Z8018008VEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 68-pin PLCC Z80180
-
-config ARCH_CHIP_Z8018006VEG
- bool "Z8018006VEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 68-pin PLCC Z80180
-
-config ARCH_CHIP_Z8018006PSG
- bool "Z8018006PSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 64-pin DIP 6 MHz 5V Z80180
-
-config ARCH_CHIP_Z8018008FSG
- bool "Z8018008FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 80-pin QFP (11 pins N/C) 8MHz 5V Z80180
-
-config ARCH_CHIP_Z8018010PSG
- bool "Z8018010PSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 64-pin DIP 10MHz 5V Z80180
-
-config ARCH_CHIP_Z8018006PEG
- bool "Z8018006PEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 64-pin DIP 6MHz 5V Z80180
-
-config ARCH_CHIP_Z8018010VEG
- bool "Z8018010VEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- 68-pin PLCC 10MHz 5V Z80180
-
-config ARCH_CHIP_Z8018010PEG
- bool "Z8018010PEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 64-pin DIP 10MHz 5V Z80180
-
-config ARCH_CHIP_Z8018008PSG
- bool "Z8018008PSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 64-pin DIP 8MHz 5V Z80180
-
-config ARCH_CHIP_Z8018006FSG
- bool "Z8018006FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
- ---help---
- Z180: 80-pin QFP (11 pins N/C) 6MHz 5V Z80180
-
-config ARCH_CHIP_Z8018000XSO
- bool "Z8018000XSO"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
-
-config ARCH_CHIP_Z8018010FEG
- bool "Z8018010FEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
-
-config ARCH_CHIP_Z8018000WSO
- bool "Z8018000WSO"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
-
-config ARCH_CHIP_Z8018008PEG
- bool "Z8018008PEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80180
-
-config ARCH_CHIP_Z8018110FEG
- bool "Z8018110FEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80181
- ---help---
- Z180: 100-pin QFP Z80181
-
-config ARCH_CHIP_Z8018233FSG
- bool "Z8018233FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80182
- ---help---
- 100-pin QFP Z80182
-
-config ARCH_CHIP_Z8018220AEG
- bool "Z8018220AEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80182
- ---help---
- Z180: 100-pin LQFP 20MHz 5V Z80182
-
-config ARCH_CHIP_Z8018216FSG
- bool "Z8018216FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80182
- ---help---
- Z180: 100-pin QFP 16MHz 5V Z80182
-
-config ARCH_CHIP_Z8018216ASG
- bool "Z8018216ASG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80182
- ---help---
- Z180: 100-pin LQFP Z80182
-
-config ARCH_CHIP_Z8018233ASG
- bool "Z8018233ASG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80182
- ---help---
- Z180: 100-pin LQFP 33MHz 5V Z80182
-
-config ARCH_CHIP_Z8019520FSG
- bool "Z8019520FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80195
- ---help---
- Z180: 100-pin QFP 20MHz 5V Z80195
-
-config ARCH_CHIP_Z8019533FSG
- bool "Z8019533FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z80195
- ---help---
- Z180: 100-pin QFP 33MHz 5V Z80195
-
-config ARCH_CHIP_Z8L18020VSG
- bool "Z8L18020VSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8L180
- ---help---
- Z180: 68-pinn PLCC Z8L180
-
-config ARCH_CHIP_Z8L18020FSG
- bool "Z8L18020FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8L180
- ---help---
- Z180: 80-pin GFP 20MHz 3.3V Z8L180
-
-config ARCH_CHIP_Z8L18020PSG
- bool "Z8L18020PSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8L180
-
-config ARCH_CHIP_Z8L18220ASG
- bool "Z8L18220ASG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8L182
- ---help---
- Z180: 100-pin LQFP Z8L182
-
-config ARCH_CHIP_Z8L18220FSG
- bool "Z8L18220FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8L182
- ---help---
- 100-pin QFP 20MHz 3.3V Z8L182
-
-config ARCH_CHIP_Z8L18220AEG
- bool "Z8L18220AEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8L182
-
-config ARCH_CHIP_Z8S18020VSG
- bool "Z8S18020VSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 68-pin PLCC Z8S180
-
-config ARCH_CHIP_Z8S18020VSG1960
- bool "Z8S18020VSG1960"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 68-pin PLCC Z8S180
-
-config ARCH_CHIP_Z8S18033VSG
- bool "Z8S18033VSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 68-pin PLCC Z8S180
-
-config ARCH_CHIP_Z8S18010FSG
- bool "Z8S18010FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- 80-pin QFP Z8S180
-
-config ARCH_CHIP_Z8S18010VEG
- bool "Z8S18010VEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 68-pin PLCC Z8S180
-
-config ARCH_CHIP_Z8S18020VEG
- bool "Z8S18020VEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 68-pin PLCC Z8S180
-
-config ARCH_CHIP_Z8S18010VSG
- bool "Z8S18010VSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 68-pin PLCC Z8S180
-
-config ARCH_CHIP_Z8S18020PSG
- bool "Z8S18020PSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- 64-pin DIP 10Mhz 5V Z8S180
-
-config ARCH_CHIP_Z8S18033FSG
- bool "Z8S18033FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 80-pin QFP 33MHz 5V Z8S180
-
-config ARCH_CHIP_Z8S18033FEG
- bool "Z8S18033FEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 80-pin QFP 33MHz 5V Z8S180
-
-config ARCH_CHIP_Z8S18020FSG
- bool "Z8S18020FSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 80-pin QFP 20MHz 5V Z8S180
-
-config ARCH_CHIP_Z8S18033VEG
- bool "Z8S18033VEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 68-pin PLCC 33MHz 5V Z8S180
-
-config ARCH_CHIP_Z8S18010PSG
- bool "Z8S18010PSG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
- ---help---
- Z180: 64-pin DIP 10MHz 5V Z8S180
-
-config ARCH_CHIP_Z8S18020FEG
- bool "Z8S18020FEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
-
-config ARCH_CHIP_Z8S18010PEG
- bool "Z8S18010PEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
-
-config ARCH_CHIP_Z8S18010FEG
- bool "Z8S18010FEG"
- select ARCH_CHIP_Z180
- select ARCH_CHIP_Z8S180
-
-config ARCH_CHIP_Z8F6403
- bool "Z8F6403"
- select ARCH_CHIP_Z8
- select ARCH_CHIP_Z8F640X
- select ENDIAN_BIG
- ---help---
- ZiLOG Z8F6403 (z8 Encore)
-
-config ARCH_CHIP_Z8F6423
- bool "Z8F6423"
- select ARCH_CHIP_Z8
- select ARCH_CHIP_Z8F642X
- select ENDIAN_BIG
- ---help---
- ZiLOG Z8F6423 (z8 Encore)
-
-config ARCH_CHIP_EZ80F91
- bool "EZ80F91"
- select ARCH_CHIP_EZ80
- select ARCH_CHIP_EZ80_HAVE_PLL
- ---help---
- ZiLOG EZ80F91 (ez80 Acclaim)
-
-config ARCH_CHIP_EZ80F92
- bool "EZ80F92"
- select ARCH_CHIP_EZ80
- ---help---
- ZiLOG EZ80F92 (ez80 Acclaim)
-
-config ARCH_CHIP_EZ80F93
- bool "EZ80F93"
- select ARCH_CHIP_EZ80
- ---help---
- ZiLOG EZ80F93 (ez80 Acclaim)
-
-endchoice
-
-config ARCH_CHIP_Z8F642X
- bool
-
-config ARCH_CHIP_Z8F640X
- bool
-
config ARCH_CHIP_Z180
- bool
+ bool "z180 Family"
select MM_SMALL
select ARCH_NOINTC
select ARCH_HAVE_ADDRENV
select ARCH_ADDRENV
-
-config ARCH_CHIP_Z80180
- bool
-
-config ARCH_CHIP_Z80181
- bool
-
-config ARCH_CHIP_Z80182
- bool
-
-config ARCH_CHIP_Z80195
- bool
-
-config ARCH_CHIP_Z8L180
- bool
-
-config ARCH_CHIP_Z8L182
- bool
-
-config ARCH_CHIP_Z8S180
- bool
-
-config ARCH_CHIP_Z8
- bool
- select MM_SMALL
+ ---help---
+ ZiLOG z80 architecture with MMU
config ARCH_CHIP_EZ80
- bool
+ bool "eZ80 Family (ez80 Acclaim)"
select MM_SMALL if EZ80_Z80MODE
select ARCH_HAVE_PHY
+ ---help---
+ ZiLOG z80 architecture with 24-bit addressability
-config ARCH_CHIP_EZ80_HAVE_PLL
- bool
- default n
+config ARCH_CHIP_Z8
+ bool "z8 Family"
+ select MM_SMALL
+ select ENDIAN_BIG
+ ---help---
+ ZiLOG z8 architecture
+
+endchoice
config ARCH_CHIP
string
diff --git a/arch/z80/src/ez80/Kconfig b/arch/z80/src/ez80/Kconfig
index f6b1184..423891e 100644
--- a/arch/z80/src/ez80/Kconfig
+++ b/arch/z80/src/ez80/Kconfig
@@ -5,6 +5,73 @@
if ARCH_CHIP_EZ80
+config ARCH_EZ80_HAVE_PLL
+ bool
+ default n
+
+config ARCH_EZ80_HAVE_ETHERNET
+ bool
+ default n
+
+config ARCH_EZ80_HAVE_UART2
+ bool
+ default n
+
+config ARCH_EZ80_HAVE_TIMER_INTREGS
+ bool
+ default n
+
+choice
+ prompt "eZ80 Chip Selection"
+ default ARCH_CHIP_EZ80F91
+
+config ARCH_CHIP_EZ80F91
+ bool "EZ80F91"
+ select ARCH_EZ80_HAVE_PLL
+ select ARCH_EZ80_HAVE_ETHERNET
+ select ARCH_EZ80_HAVE_UART2
+ select ARCH_EZ80_HAVE_TIMER_INTREGS
+ ---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
+
+# The ZiLOG ZDS-II Windows toolchain is the only toolchain available for
+# the ez80.
+#
+
+config EZ80_TOOLCHAIN_ZDSII
+ bool
+ default y
+
+choice
+ prompt "ZDS-II Toolchain version"
+ default EZ80_ZDSII_V533
+
+config EZ80_ZDSII_V511
+ bool "ZDS-II 5.1.1"
+
+config EZ80_ZDSII_V521
+ bool "ZDS-II 5.2.1"
+
+config EZ80_ZDSII_V530
+ bool "ZDS-II 5.3.0"
+
+config EZ80_ZDSII_V533
+ bool "ZDS-II 5.3.3"
+
+endchoice # ZDS-II Toolchain version
+
menu "ez80 Peripheral Support"
config EZ80_UART0
@@ -21,6 +88,7 @@ config EZ80_UART2
bool "UART2"
select UART2_SERIALDRIVER
default n
+ depends on ARCH_EZ80_HAVE_UART2
config EZ80_I2C
bool "I2C"
@@ -41,6 +109,7 @@ config EZ80_EMAC
default n
select ARCH_HAVE_PHY
select ARCH_HAVE_NETDEV_STATISTICS
+ depends on ARCH_EZ80_HAVE_ETHERNET
---help---
Enables support for ez80 EMAC driver.
@@ -62,33 +131,6 @@ config EZ80_RTC_LINEFREQ50
If there is no 32Hz crystal, the RTC will fall back to use the line
frequency, either 50 or 60Hz.
-# The ZiLOG ZDS-II Windows toolchain is the only toolchain available for
-# the ez80.
-#
-
-config EZ80_TOOLCHAIN_ZDSII
- bool
- default y if ARCH_CHIP_EZ80
- default n if !ARCH_CHIP_EZ80
-
-choice
- prompt "ZDS-II Toolchain version"
- default EZ80_ZDSII_V533
-
-config EZ80_ZDSII_V511
- bool "ZDS-II 5.1.1"
-
-config EZ80_ZDSII_V521
- bool "ZDS-II 5.2.1"
-
-config EZ80_ZDSII_V530
- bool "ZDS-II 5.3.0"
-
-config EZ80_ZDSII_V533
- bool "ZDS-II 5.3.3"
-
-endchoice # ZDS-II Toolchain version
-
if EZ80_EMAC
config EZ80_FIAD
diff --git a/arch/z80/src/z180/Kconfig b/arch/z80/src/z180/Kconfig
index 255a8fc..eeb8c7f 100644
--- a/arch/z80/src/z180/Kconfig
+++ b/arch/z80/src/z180/Kconfig
@@ -5,6 +5,303 @@
if ARCH_CHIP_Z180
+config ARCH_CHIP_Z80180
+ bool
+
+config ARCH_CHIP_Z80181
+ bool
+
+config ARCH_CHIP_Z80182
+ bool
+
+config ARCH_CHIP_Z80195
+ bool
+
+config ARCH_CHIP_Z8L180
+ bool
+
+config ARCH_CHIP_Z8L182
+ bool
+
+config ARCH_CHIP_Z8S180
+ bool
+
+choice
+ prompt "Z180 Chip Selection"
+ default ARCH_CHIP_Z8018006VSG
+
+config ARCH_CHIP_Z8018006VSG
+ bool "Z8018006VSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 68-pin PLCC Z80180
+
+config ARCH_CHIP_Z8018010VSG
+ bool "Z8018010VSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 68-pin PLCC Z80180
+
+config ARCH_CHIP_Z8018008VSG
+ bool "Z8018008VSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 68-pin PLCC Z80180
+
+config ARCH_CHIP_Z8018010FSG
+ bool "Z8018010FSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 80-pin QFP (11 pins N/C) Z80180
+
+config ARCH_CHIP_Z8018008VEG
+ bool "Z8018008VEG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 68-pin PLCC Z80180
+
+config ARCH_CHIP_Z8018006VEG
+ bool "Z8018006VEG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 68-pin PLCC Z80180
+
+config ARCH_CHIP_Z8018006PSG
+ bool "Z8018006PSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 64-pin DIP 6 MHz 5V Z80180
+
+config ARCH_CHIP_Z8018008FSG
+ bool "Z8018008FSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 80-pin QFP (11 pins N/C) 8MHz 5V Z80180
+
+config ARCH_CHIP_Z8018010PSG
+ bool "Z8018010PSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 64-pin DIP 10MHz 5V Z80180
+
+config ARCH_CHIP_Z8018006PEG
+ bool "Z8018006PEG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 64-pin DIP 6MHz 5V Z80180
+
+config ARCH_CHIP_Z8018010VEG
+ bool "Z8018010VEG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ 68-pin PLCC 10MHz 5V Z80180
+
+config ARCH_CHIP_Z8018010PEG
+ bool "Z8018010PEG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 64-pin DIP 10MHz 5V Z80180
+
+config ARCH_CHIP_Z8018008PSG
+ bool "Z8018008PSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 64-pin DIP 8MHz 5V Z80180
+
+config ARCH_CHIP_Z8018006FSG
+ bool "Z8018006FSG"
+ select ARCH_CHIP_Z80180
+ ---help---
+ Z180: 80-pin QFP (11 pins N/C) 6MHz 5V Z80180
+
+config ARCH_CHIP_Z8018000XSO
+ bool "Z8018000XSO"
+ select ARCH_CHIP_Z80180
+
+config ARCH_CHIP_Z8018010FEG
+ bool "Z8018010FEG"
+ select ARCH_CHIP_Z80180
+
+config ARCH_CHIP_Z8018000WSO
+ bool "Z8018000WSO"
+ select ARCH_CHIP_Z80180
+
+config ARCH_CHIP_Z8018008PEG
+ bool "Z8018008PEG"
+ select ARCH_CHIP_Z80180
+
+config ARCH_CHIP_Z8018110FEG
+ bool "Z8018110FEG"
+ select ARCH_CHIP_Z80181
+ ---help---
+ Z180: 100-pin QFP Z80181
+
+config ARCH_CHIP_Z8018233FSG
+ bool "Z8018233FSG"
+ select ARCH_CHIP_Z80182
+ ---help---
+ 100-pin QFP Z80182
+
+config ARCH_CHIP_Z8018220AEG
+ bool "Z8018220AEG"
+ select ARCH_CHIP_Z80182
+ ---help---
+ Z180: 100-pin LQFP 20MHz 5V Z80182
+
+config ARCH_CHIP_Z8018216FSG
+ bool "Z8018216FSG"
+ select ARCH_CHIP_Z80182
+ ---help---
+ Z180: 100-pin QFP 16MHz 5V Z80182
+
+config ARCH_CHIP_Z8018216ASG
+ bool "Z8018216ASG"
+ select ARCH_CHIP_Z80182
+ ---help---
+ Z180: 100-pin LQFP Z80182
+
+config ARCH_CHIP_Z8018233ASG
+ bool "Z8018233ASG"
+ select ARCH_CHIP_Z80182
+ ---help---
+ Z180: 100-pin LQFP 33MHz 5V Z80182
+
+config ARCH_CHIP_Z8019520FSG
+ bool "Z8019520FSG"
+ select ARCH_CHIP_Z80195
+ ---help---
+ Z180: 100-pin QFP 20MHz 5V Z80195
+
+config ARCH_CHIP_Z8019533FSG
+ bool "Z8019533FSG"
+ select ARCH_CHIP_Z80195
+ ---help---
+ Z180: 100-pin QFP 33MHz 5V Z80195
+
+config ARCH_CHIP_Z8L18020VSG
+ bool "Z8L18020VSG"
+ select ARCH_CHIP_Z8L180
+ ---help---
+ Z180: 68-pinn PLCC Z8L180
+
+config ARCH_CHIP_Z8L18020FSG
+ bool "Z8L18020FSG"
+ select ARCH_CHIP_Z8L180
+ ---help---
+ Z180: 80-pin GFP 20MHz 3.3V Z8L180
+
+config ARCH_CHIP_Z8L18020PSG
+ bool "Z8L18020PSG"
+ select ARCH_CHIP_Z8L180
+
+config ARCH_CHIP_Z8L18220ASG
+ bool "Z8L18220ASG"
+ select ARCH_CHIP_Z8L182
+ ---help---
+ Z180: 100-pin LQFP Z8L182
+
+config ARCH_CHIP_Z8L18220FSG
+ bool "Z8L18220FSG"
+ select ARCH_CHIP_Z8L182
+ ---help---
+ 100-pin QFP 20MHz 3.3V Z8L182
+
+config ARCH_CHIP_Z8L18220AEG
+ bool "Z8L18220AEG"
+ select ARCH_CHIP_Z8L182
+
+config ARCH_CHIP_Z8S18020VSG
+ bool "Z8S18020VSG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 68-pin PLCC Z8S180
+
+config ARCH_CHIP_Z8S18020VSG1960
+ bool "Z8S18020VSG1960"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 68-pin PLCC Z8S180
+
+config ARCH_CHIP_Z8S18033VSG
+ bool "Z8S18033VSG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 68-pin PLCC Z8S180
+
+config ARCH_CHIP_Z8S18010FSG
+ bool "Z8S18010FSG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ 80-pin QFP Z8S180
+
+config ARCH_CHIP_Z8S18010VEG
+ bool "Z8S18010VEG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 68-pin PLCC Z8S180
+
+config ARCH_CHIP_Z8S18020VEG
+ bool "Z8S18020VEG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 68-pin PLCC Z8S180
+
+config ARCH_CHIP_Z8S18010VSG
+ bool "Z8S18010VSG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 68-pin PLCC Z8S180
+
+config ARCH_CHIP_Z8S18020PSG
+ bool "Z8S18020PSG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ 64-pin DIP 10Mhz 5V Z8S180
+
+config ARCH_CHIP_Z8S18033FSG
+ bool "Z8S18033FSG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 80-pin QFP 33MHz 5V Z8S180
+
+config ARCH_CHIP_Z8S18033FEG
+ bool "Z8S18033FEG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 80-pin QFP 33MHz 5V Z8S180
+
+config ARCH_CHIP_Z8S18020FSG
+ bool "Z8S18020FSG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 80-pin QFP 20MHz 5V Z8S180
+
+config ARCH_CHIP_Z8S18033VEG
+ bool "Z8S18033VEG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 68-pin PLCC 33MHz 5V Z8S180
+
+config ARCH_CHIP_Z8S18010PSG
+ bool "Z8S18010PSG"
+ select ARCH_CHIP_Z8S180
+ ---help---
+ Z180: 64-pin DIP 10MHz 5V Z8S180
+
+config ARCH_CHIP_Z8S18020FEG
+ bool "Z8S18020FEG"
+ select ARCH_CHIP_Z8S180
+
+config ARCH_CHIP_Z8S18010PEG
+ bool "Z8S18010PEG"
+ select ARCH_CHIP_Z8S180
+
+config ARCH_CHIP_Z8S18010FEG
+ bool "Z8S18010FEG"
+ select ARCH_CHIP_Z8S180
+
+endchoice
+
choice
prompt "Toolchain Selection"
default Z180_TOOLCHAIN_SDCCW if TOOLCHAIN_WINDOWS
diff --git a/arch/z80/src/z8/Kconfig b/arch/z80/src/z8/Kconfig
index d0004f9..153e23e 100644
--- a/arch/z80/src/z8/Kconfig
+++ b/arch/z80/src/z8/Kconfig
@@ -5,6 +5,30 @@
if ARCH_CHIP_Z8
+config ARCH_CHIP_Z8F640X
+ bool
+
+config ARCH_CHIP_Z8F642X
+ bool
+
+choice
+ prompt "z8 Chip Selection"
+ default ARCH_CHIP_Z8F6403
+
+config ARCH_CHIP_Z8F6403
+ bool "Z8F6403"
+ select ARCH_CHIP_Z8F640X
+ ---help---
+ ZiLOG Z8F6403 (z8 Encore)
+
+config ARCH_CHIP_Z8F6423
+ bool "Z8F6423"
+ select ARCH_CHIP_Z8F642X
+ ---help---
+ ZiLOG Z8F6423 (z8 Encore)
+
+endchoice
+
# UART0/1 always enabled
config Z8_UART0
[incubator-nuttx] 05/05: arch/z80/src/Makefile.zdsii*: Correct
libraries for eZ80F92
Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch pr385
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 7421dbf8444c7ff6a5e15cd79ee13ef59a897a1e
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Wed Feb 26 13:48:37 2020 -0600
arch/z80/src/Makefile.zdsii*: Correct libraries for eZ80F92
These makefiles set the the ZiLOG runtime libraries for the eZ80 parts. The setup was, however, conditioned on CONFIG_ARCH_EZ80_EZ80F91 and, so, was not working for the eZ80F92 part (CONFIG_ARCH_EZ80_EZ80F92).
With this change, the z20x board FINALLY builds and links correctly with no errors.
---
arch/z80/src/Makefile.zdsiil | 5 +++--
arch/z80/src/Makefile.zdsiiw | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/z80/src/Makefile.zdsiil b/arch/z80/src/Makefile.zdsiil
index 810253e..3c4a2b5 100644
--- a/arch/z80/src/Makefile.zdsiil
+++ b/arch/z80/src/Makefile.zdsiil
@@ -1,7 +1,8 @@
############################################################################
# arch/z80/src/Makefile.zdsiil
#
-# Copyright (C) 2008, 2011-2012, 2014 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2011-2012, 2014, 2020 Gregory Nutt. All rights
+# reserved.
# Author: Gregory Nutt <gn...@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -126,7 +127,7 @@ ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
@echo " \"${shell cygpath -w "$(ZDSZILOGLIBDIR)/csioLDD$(LIBEXT)"}\", \\" >>nuttx.linkcmd
@echo " \"${shell cygpath -w "$(ZDSZILOGLIBDIR)/zsldevinitdummy$(LIBEXT)"}\"" >>nuttx.linkcmd
endif
-ifeq ($(CONFIG_ARCH_CHIP_EZ80F91),y)
+ifeq ($(CONFIG_ARCH_CHIP_EZ80),y) # EZ80F91 and EZ80F92
@echo " \"${shell cygpath -w "$(ZDSSTDLIBDIR)/chelp$(LIBEXT)"}\", \\" >>nuttx.linkcmd
@echo " \"${shell cygpath -w "$(ZDSSTDLIBDIR)/crt$(LIBEXT)"}\", \\" >>nuttx.linkcmd
@echo " \"${shell cygpath -w "$(ZDSSTDLIBDIR)/fplib$(LIBEXT)"}\", \\" >>nuttx.linkcmd
diff --git a/arch/z80/src/Makefile.zdsiiw b/arch/z80/src/Makefile.zdsiiw
index b150348..f9dda14 100644
--- a/arch/z80/src/Makefile.zdsiiw
+++ b/arch/z80/src/Makefile.zdsiiw
@@ -1,7 +1,8 @@
############################################################################
# arch/z80/src/Makefile.zdsiiw
#
-# Copyright (C) 2008, 2011-2012, 2014 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2011-2012, 2014, 2020 Gregory Nutt. All rights
+# reserved.
# Author: Gregory Nutt <gn...@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -115,7 +116,7 @@ ifeq ($(CONFIG_ARCH_CHIP_Z8F642X),y)
@echo "$(ZDSZILOGLIBDIR)\csioLDD$(LIBEXT)", \>>nuttx.linkcmd
@echo "$(ZDSZILOGLIBDIR)\zsldevinitdummy$(LIBEXT)">>nuttx.linkcmd
endif
-ifeq ($(CONFIG_ARCH_CHIP_EZ80F91),y)
+ifeq ($(CONFIG_ARCH_CHIP_EZ80),y) # EZ80F91 and EZ80F92
@echo "$(ZDSSTDLIBDIR)\chelp$(LIBEXT)", \>>nuttx.linkcmd
@echo "$(ZDSSTDLIBDIR)\crt$(LIBEXT)", \>>nuttx.linkcmd
@echo "$(ZDSSTDLIBDIR)\fplib$(LIBEXT)", \>>nuttx.linkcmd
[incubator-nuttx] 01/05: boards/z80/ez80/z20x: Update CFLAGS and
linker scripts.
Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch pr385
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit a9610e16bd11c2fa1323dee9077eb7cab4ee45b8
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Tue Feb 25 14:38:24 2020 -0600
boards/z80/ez80/z20x: Update CFLAGS and linker scripts.
arch/z80/src/ez80/Toolchain.defs: Update some CFLAGS to match CFLAGS from ZDS-II IDE. Apparently, we must say that the CPU is an eZ80F91 event when compiler for eZ80F92.
boards/z80/ez80/z20x: Update linker scripts.
---
arch/z80/src/ez80/Toolchain.defs | 13 ++++++++-----
boards/z80/ez80/ez80f910200kitg/scripts/Make.defs | 6 +++---
boards/z80/ez80/ez80f910200zco/scripts/Make.defs | 6 +++---
boards/z80/ez80/makerlisp/scripts/Make.defs | 6 +++---
boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj | 10 +++++-----
boards/z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt | 2 +-
boards/z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt | 12 ++++++------
boards/z80/ez80/z20x/configs/nsh_ram/README.txt | 2 +-
boards/z80/ez80/z20x/configs/nsh_ram/nsh.zdsproj | 14 +++++++-------
boards/z80/ez80/z20x/configs/nsh_ram/nsh_flash.ztgt | 2 +-
boards/z80/ez80/z20x/configs/nsh_ram/nsh_ram.ztgt | 12 ++++++------
boards/z80/ez80/z20x/configs/sdboot/.gitignore | 8 ++++----
boards/z80/ez80/z20x/configs/sdboot/sdboot.zdsproj | 14 +++++++-------
boards/z80/ez80/z20x/configs/sdboot/sdboot_flash.ztgt | 2 +-
boards/z80/ez80/z20x/configs/sdboot/sdboot_ram.ztgt | 12 ++++++------
boards/z80/ez80/z20x/scripts/Make.defs | 6 +++---
boards/z80/ez80/z20x/scripts/z20x_copytoram.linkcmd | 3 ++-
boards/z80/ez80/z20x/scripts/z20x_flash.linkcmd | 3 +--
boards/z80/ez80/z20x/scripts/z20x_ram.linkcmd | 1 +
19 files changed, 69 insertions(+), 65 deletions(-)
diff --git a/arch/z80/src/ez80/Toolchain.defs b/arch/z80/src/ez80/Toolchain.defs
index 3b64474..041c71f 100644
--- a/arch/z80/src/ez80/Toolchain.defs
+++ b/arch/z80/src/ez80/Toolchain.defs
@@ -111,8 +111,10 @@ ifeq ($(CONFIG_ARCH_CHIP_EZ80F91),y)
ARCHCPUDEF = _EZ80F91
ARCHFAMILY = _EZ80ACCLAIM!
else ifeq ($(CONFIG_ARCH_CHIP_EZ80F92),y)
- ARCHCPU = eZ80F92
- ARCHCPUDEF = _EZ80F92
+ #ARCHCPU = eZ80F92
+ #ARCHCPUDEF = _EZ80F92
+ ARCHCPU = eZ80F91
+ ARCHCPUDEF = _EZ80F91
ARCHFAMILY = _EZ80ACCLAIM!
endif
@@ -122,14 +124,15 @@ ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHASMOPTIMIZATION = -debug -NOsdiopt
ARCHOPTIMIZATION = -debug
else
- ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
- ARCHOPTIMIZATION = -nodebug
+ ARCHASMOPTIMIZATION = -nodebug -sdiopt
+ ARCHOPTIMIZATION = -NOdebug
endif
ifeq ($(CONFIG_DEBUG_NOOPT),y)
ARCHOPTIMIZATION += -reduceopt
#else
-# ARCHOPTIMIZATION += -optsize
+# ARCHOPTIMIZATION += -promote -NOreduceopt -optsize
+ ARCHOPTIMIZATION += -promote -NOreduceopt
endif
# Tool names/paths.
diff --git a/boards/z80/ez80/ez80f910200kitg/scripts/Make.defs b/boards/z80/ez80/ez80f910200kitg/scripts/Make.defs
index 5673ca8..ae25e7f 100644
--- a/boards/z80/ez80/ez80f910200kitg/scripts/Make.defs
+++ b/boards/z80/ez80/ez80f910200kitg/scripts/Make.defs
@@ -57,7 +57,7 @@ endif
ARCHASMCPUFLAGS = -cpu:$(ARCHCPU) -NOigcase
ARCHASMLIST = -list -NOlistmac -name -pagelen:56 -pagewidth:80 -quiet
ARCHASMWARNINGS = -warn
-ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILYDEF)=1 -define:__ASSEMBLY__
+ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILY)=1 -define:__ASSEMBLY__
AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) $(ARCHASMWARNINGS) $(ARCHASMOPTIMIZATION)
# Compiler definitions
@@ -67,11 +67,11 @@ ARCHCPUFLAGS = -chartype:S -promote -cpu:$(ARCHCPU) -NOgenprintf -NOmodsect \
ARCHLIST = -keeplst -NOlist -NOlistinc -keepasm
ARCHPICFLAGS =
ARCHWARNINGS = -warn
-ARCHDEFINES = -define:$(ARCHCPUDEF) -define:$(ARCHFAMILYDEF)
+ARCHDEFINES = -define:$(ARCHCPUDEF) -define:$(ARCHFAMILY)
ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHLIST) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
-CPPDEFINES = -D$(ARCHFAMILYDEF) -D$(ARCHCPUDEF) -D__ASSEMBLY__
+CPPDEFINES = -D$(ARCHFAMILY) -D$(ARCHCPUDEF) -D__ASSEMBLY__
CPPINCLUDES = -I$(TOPDIR)$(DELIM)include
CPPFLAGS = $(CPPDEFINES) $(CPPINCLUDES)
diff --git a/boards/z80/ez80/ez80f910200zco/scripts/Make.defs b/boards/z80/ez80/ez80f910200zco/scripts/Make.defs
index f2f587b..b167135 100644
--- a/boards/z80/ez80/ez80f910200zco/scripts/Make.defs
+++ b/boards/z80/ez80/ez80f910200zco/scripts/Make.defs
@@ -57,7 +57,7 @@ endif
ARCHASMCPUFLAGS = -cpu:$(ARCHCPU) -NOigcase
ARCHASMLIST = -list -NOlistmac -name -pagelen:56 -pagewidth:80 -quiet
ARCHASMWARNINGS = -warn
-ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILYDEF)=1 -define:__ASSEMBLY__
+ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILY)=1 -define:__ASSEMBLY__
AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) $(ARCHASMWARNINGS) $(ARCHASMOPTIMIZATION)
# Compiler definitions
@@ -67,11 +67,11 @@ ARCHCPUFLAGS = -chartype:S -promote -cpu:$(ARCHCPU) -NOgenprintf -NOmodsect \
ARCHLIST = -keeplst -NOlist -NOlistinc -keepasm
ARCHPICFLAGS =
ARCHWARNINGS = -warn
-ARCHDEFINES = -define:$(ARCHCPUDEF) -define:$(ARCHFAMILYDEF)
+ARCHDEFINES = -define:$(ARCHCPUDEF) -define:$(ARCHFAMILY)
ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHLIST) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
-CPPDEFINES = -D$(ARCHFAMILYDEF) -D$(ARCHCPUDEF) -D__ASSEMBLY__
+CPPDEFINES = -D$(ARCHFAMILY) -D$(ARCHCPUDEF) -D__ASSEMBLY__
CPPINCLUDES = -I$(TOPDIR)$(DELIM)include
CPPFLAGS = $(CPPDEFINES) $(CPPINCLUDES)
diff --git a/boards/z80/ez80/makerlisp/scripts/Make.defs b/boards/z80/ez80/makerlisp/scripts/Make.defs
index 4af5ba0..c722657 100644
--- a/boards/z80/ez80/makerlisp/scripts/Make.defs
+++ b/boards/z80/ez80/makerlisp/scripts/Make.defs
@@ -57,7 +57,7 @@ endif
ARCHASMCPUFLAGS = -cpu:$(ARCHCPU) -NOigcase
ARCHASMLIST = -list -NOlistmac -name -pagelen:56 -pagewidth:80 -quiet
ARCHASMWARNINGS = -warn
-ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILYDEF)=1 -define:__ASSEMBLY__
+ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILY)=1 -define:__ASSEMBLY__
AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) $(ARCHASMWARNINGS) $(ARCHASMOPTIMIZATION)
# Compiler definitions
@@ -67,11 +67,11 @@ ARCHCPUFLAGS = -chartype:S -promote -cpu:$(ARCHCPU) -NOgenprintf -NOmodsect \
ARCHLIST = -keeplst -NOlist -NOlistinc -keepasm
ARCHPICFLAGS =
ARCHWARNINGS = -warn
-ARCHDEFINES = -define:$(ARCHCPUDEF) -define:$(ARCHFAMILYDEF)
+ARCHDEFINES = -define:$(ARCHCPUDEF) -define:$(ARCHFAMILY)
ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHLIST) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
-CPPDEFINES = -D$(ARCHFAMILYDEF) -D$(ARCHCPUDEF) -D__ASSEMBLY__
+CPPDEFINES = -D$(ARCHFAMILY) -D$(ARCHCPUDEF) -D__ASSEMBLY__
CPPINCLUDES = -I$(TOPDIR)$(DELIM)include
CPPFLAGS = $(CPPDEFINES) $(CPPINCLUDES)
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj b/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj
index 4e2585e..190c4f7 100644
--- a/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj
+++ b/boards/z80/ez80/z20x/configs/nsh_flash/nsh.zdsproj
@@ -107,8 +107,8 @@
<option name="padhex" type="boolean" change-action="build">false</option>
<option name="fplib" type="string" change-action="build">Real</option>
<option name="useadddirectives" type="boolean" change-action="build">false</option>
-<option name="linkconfig" type="string" change-action="build">CopyToRam</option>
-<option name="flashinfo" type="string" change-action="build">000000-0001FF</option>
+<option name="linkconfig" type="string" change-action="build">Standard</option>
+<option name="flashinfo" type="string" change-action="build">000000-0000FF</option>
<option name="ram" type="string" change-action="build">040000-0FFFFF</option>
<option name="rom" type="string" change-action="build">000000-03FFFF</option>
<option name="extio" type="string" change-action="build">000000-00FFFF</option>
@@ -196,7 +196,7 @@
<option name="debug" type="boolean" change-action="assemble">true</option>
<option name="debugcache" type="boolean" change-action="none">true</option>
<option name="igcase" type="boolean" change-action="assemble">false</option>
-<option name="outputdir" type="string" change-action="compile">..\..\..\nuttx</option>
+<option name="outputdir" type="string" change-action="compile">..\..\..\nuttx\</option>
</options>
</tool>
<tool name="Librarian">
@@ -227,8 +227,8 @@
<option name="padhex" type="boolean" change-action="build">false</option>
<option name="fplib" type="string" change-action="build">Real</option>
<option name="useadddirectives" type="boolean" change-action="build">false</option>
-<option name="linkconfig" type="string" change-action="build">CopyToRam</option>
-<option name="flashinfo" type="string" change-action="build">000000-0001FF</option>
+<option name="linkconfig" type="string" change-action="build">Standard</option>
+<option name="flashinfo" type="string" change-action="build">000000-0000FF</option>
<option name="ram" type="string" change-action="build">040000-0BFFFF</option>
<option name="rom" type="string" change-action="build">000000-03FFFF</option>
<option name="extio" type="string" change-action="build">000000-00FFFF</option>
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt b/boards/z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt
index 03c2326..b691cd5 100644
--- a/boards/z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt
+++ b/boards/z80/ez80/z20x/configs/nsh_flash/nsh_flash.ztgt
@@ -20,7 +20,7 @@
<device />
<externalAddress>200000</externalAddress>
<externalAutoSelect>false</externalAutoSelect>
- <externalRamLower>40000</externalRamLower>
+ <externalRamLower>040000</externalRamLower>
<externalRamUpper>0BFFFF</externalRamUpper>
<manufacturer />
<units>1</units>
diff --git a/boards/z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt b/boards/z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt
index 6170e6d..8f78f6b 100644
--- a/boards/z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt
+++ b/boards/z80/ez80/z20x/configs/nsh_flash/nsh_ram.ztgt
@@ -37,15 +37,15 @@
</CS0>
<CS1>
<busMode>0</busMode>
- <controlRegister>8</controlRegister>
- <lower>8</lower>
- <upper>F</upper>
+ <controlRegister>0</controlRegister>
+ <lower>0</lower>
+ <upper>0</upper>
</CS1>
<CS2>
<busMode>0</busMode>
- <controlRegister>28</controlRegister>
- <lower>20</lower>
- <upper>9F</upper>
+ <controlRegister>0</controlRegister>
+ <lower>0</lower>
+ <upper>0</upper>
</CS2>
<CS3>
<busMode>0</busMode>
diff --git a/boards/z80/ez80/z20x/configs/nsh_ram/README.txt b/boards/z80/ez80/z20x/configs/nsh_ram/README.txt
index f6a6791..db71007 100644
--- a/boards/z80/ez80/z20x/configs/nsh_ram/README.txt
+++ b/boards/z80/ez80/z20x/configs/nsh_ram/README.txt
@@ -7,7 +7,7 @@ nsh.zfpproj is a simple project that will allow you to use the Smart Flash
Programming. NOTE: As of this writing this project does not work, probably
due to RAM configuration in the project. Use ZDS-II instead as is described
in the upper README.txt file
-nsh_flash.ztgt is the target file that accompanies the project files. This
+nsh_ram.ztgt is the target file that accompanies the project files. This
one is identical to boards/scripts/z20x_ram.ztgt.
nsh_ram.ztgt is the target file that accompanies the project files. This
one is identical to boards/scripts/z20x_flash.ztgt.
diff --git a/boards/z80/ez80/z20x/configs/nsh_ram/nsh.zdsproj b/boards/z80/ez80/z20x/configs/nsh_ram/nsh.zdsproj
index f737e27..8ca8230 100644
--- a/boards/z80/ez80/z20x/configs/nsh_ram/nsh.zdsproj
+++ b/boards/z80/ez80/z20x/configs/nsh_ram/nsh.zdsproj
@@ -1,4 +1,4 @@
-<project type="Executable" project-type="Standard" configuration="Release" created-by="d:5.3.0:17021001" modified-by="d:5.3.0:17021001" ZDSII="ZDSII - eZ80Acclaim! 5.3.0 (Build 17041303)">
+<project type="Executable" project-type="Standard" configuration="Release" created-by="d:5.3.0:17021001" modified-by="d:5.3.0:19052909" ZDSII="ZDSII - eZ80Acclaim! 5.3.3 (Build 19083001)">
<cpu>eZ80F92</cpu>
<!-- file information -->
@@ -107,8 +107,8 @@
<option name="padhex" type="boolean" change-action="build">false</option>
<option name="fplib" type="string" change-action="build">Real</option>
<option name="useadddirectives" type="boolean" change-action="build">false</option>
-<option name="linkconfig" type="string" change-action="build">CopyToRam</option>
-<option name="flashinfo" type="string" change-action="build">000000-0001FF</option>
+<option name="linkconfig" type="string" change-action="build">AllRam</option>
+<option name="flashinfo" type="string" change-action="build">000000-0000FF</option>
<option name="ram" type="string" change-action="build">040000-0FFFFF</option>
<option name="rom" type="string" change-action="build">000000-03FFFF</option>
<option name="extio" type="string" change-action="build">000000-00FFFF</option>
@@ -196,7 +196,7 @@
<option name="debug" type="boolean" change-action="assemble">true</option>
<option name="debugcache" type="boolean" change-action="none">true</option>
<option name="igcase" type="boolean" change-action="assemble">false</option>
-<option name="outputdir" type="string" change-action="compile">..\..\..\nuttx</option>
+<option name="outputdir" type="string" change-action="compile">..\..\..\nuttx\</option>
</options>
</tool>
<tool name="Librarian">
@@ -227,8 +227,8 @@
<option name="padhex" type="boolean" change-action="build">false</option>
<option name="fplib" type="string" change-action="build">Real</option>
<option name="useadddirectives" type="boolean" change-action="build">false</option>
-<option name="linkconfig" type="string" change-action="build">CopyToRam</option>
-<option name="flashinfo" type="string" change-action="build">000000-0001FF</option>
+<option name="linkconfig" type="string" change-action="build">AllRam</option>
+<option name="flashinfo" type="string" change-action="build">000000-0000FF</option>
<option name="ram" type="string" change-action="build">040000-0BFFFF</option>
<option name="rom" type="string" change-action="build">000000-03FFFF</option>
<option name="extio" type="string" change-action="build">000000-00FFFF</option>
@@ -258,4 +258,4 @@
<breakpoints>
</breakpoints>
-</project>
+</project>
\ No newline at end of file
diff --git a/boards/z80/ez80/z20x/configs/nsh_ram/nsh_flash.ztgt b/boards/z80/ez80/z20x/configs/nsh_ram/nsh_flash.ztgt
index 03c2326..b691cd5 100644
--- a/boards/z80/ez80/z20x/configs/nsh_ram/nsh_flash.ztgt
+++ b/boards/z80/ez80/z20x/configs/nsh_ram/nsh_flash.ztgt
@@ -20,7 +20,7 @@
<device />
<externalAddress>200000</externalAddress>
<externalAutoSelect>false</externalAutoSelect>
- <externalRamLower>40000</externalRamLower>
+ <externalRamLower>040000</externalRamLower>
<externalRamUpper>0BFFFF</externalRamUpper>
<manufacturer />
<units>1</units>
diff --git a/boards/z80/ez80/z20x/configs/nsh_ram/nsh_ram.ztgt b/boards/z80/ez80/z20x/configs/nsh_ram/nsh_ram.ztgt
index 6170e6d..8f78f6b 100644
--- a/boards/z80/ez80/z20x/configs/nsh_ram/nsh_ram.ztgt
+++ b/boards/z80/ez80/z20x/configs/nsh_ram/nsh_ram.ztgt
@@ -37,15 +37,15 @@
</CS0>
<CS1>
<busMode>0</busMode>
- <controlRegister>8</controlRegister>
- <lower>8</lower>
- <upper>F</upper>
+ <controlRegister>0</controlRegister>
+ <lower>0</lower>
+ <upper>0</upper>
</CS1>
<CS2>
<busMode>0</busMode>
- <controlRegister>28</controlRegister>
- <lower>20</lower>
- <upper>9F</upper>
+ <controlRegister>0</controlRegister>
+ <lower>0</lower>
+ <upper>0</upper>
</CS2>
<CS3>
<busMode>0</busMode>
diff --git a/boards/z80/ez80/z20x/configs/sdboot/.gitignore b/boards/z80/ez80/z20x/configs/sdboot/.gitignore
index 739fb85..23b9603 100644
--- a/boards/z80/ez80/z20x/configs/sdboot/.gitignore
+++ b/boards/z80/ez80/z20x/configs/sdboot/.gitignore
@@ -1,6 +1,6 @@
-nsh.hex
-nsh.map
-nsh.lod
-nsh.wsp
+sdboot.hex
+sdboot.map
+sdboot.lod
+sdboot.wsp
*.asm
Debug
diff --git a/boards/z80/ez80/z20x/configs/sdboot/sdboot.zdsproj b/boards/z80/ez80/z20x/configs/sdboot/sdboot.zdsproj
index 70f4367..0400938 100644
--- a/boards/z80/ez80/z20x/configs/sdboot/sdboot.zdsproj
+++ b/boards/z80/ez80/z20x/configs/sdboot/sdboot.zdsproj
@@ -1,4 +1,4 @@
-<project type="Executable" project-type="Standard" configuration="Release" created-by="d:5.3.0:17021001" modified-by="d:5.3.0:17021001" ZDSII="ZDSII - eZ80Acclaim! 5.3.0 (Build 17041303)">
+<project type="Executable" project-type="Standard" configuration="Release" created-by="d:5.3.0:17021001" modified-by="d:5.3.0:19052909" ZDSII="ZDSII - eZ80Acclaim! 5.3.3 (Build 19083001)">
<cpu>eZ80F92</cpu>
<!-- file information -->
@@ -107,8 +107,8 @@
<option name="padhex" type="boolean" change-action="build">false</option>
<option name="fplib" type="string" change-action="build">Real</option>
<option name="useadddirectives" type="boolean" change-action="build">false</option>
-<option name="linkconfig" type="string" change-action="build">CopyToRam</option>
-<option name="flashinfo" type="string" change-action="build">000000-0001FF</option>
+<option name="linkconfig" type="string" change-action="build">Standard</option>
+<option name="flashinfo" type="string" change-action="build">000000-0000FF</option>
<option name="ram" type="string" change-action="build">040000-0FFFFF</option>
<option name="rom" type="string" change-action="build">000000-03FFFF</option>
<option name="extio" type="string" change-action="build">000000-00FFFF</option>
@@ -196,7 +196,7 @@
<option name="debug" type="boolean" change-action="assemble">true</option>
<option name="debugcache" type="boolean" change-action="none">true</option>
<option name="igcase" type="boolean" change-action="assemble">false</option>
-<option name="outputdir" type="string" change-action="compile">..\..\..\nuttx</option>
+<option name="outputdir" type="string" change-action="compile">..\..\..\nuttx\</option>
</options>
</tool>
<tool name="Librarian">
@@ -227,8 +227,8 @@
<option name="padhex" type="boolean" change-action="build">false</option>
<option name="fplib" type="string" change-action="build">Real</option>
<option name="useadddirectives" type="boolean" change-action="build">false</option>
-<option name="linkconfig" type="string" change-action="build">CopyToRam</option>
-<option name="flashinfo" type="string" change-action="build">000000-0001FF</option>
+<option name="linkconfig" type="string" change-action="build">Standard</option>
+<option name="flashinfo" type="string" change-action="build">000000-0000FF</option>
<option name="ram" type="string" change-action="build">040000-0BFFFF</option>
<option name="rom" type="string" change-action="build">000000-03FFFF</option>
<option name="extio" type="string" change-action="build">000000-00FFFF</option>
@@ -258,4 +258,4 @@
<breakpoints>
</breakpoints>
-</project>
+</project>
diff --git a/boards/z80/ez80/z20x/configs/sdboot/sdboot_flash.ztgt b/boards/z80/ez80/z20x/configs/sdboot/sdboot_flash.ztgt
index 03c2326..b691cd5 100644
--- a/boards/z80/ez80/z20x/configs/sdboot/sdboot_flash.ztgt
+++ b/boards/z80/ez80/z20x/configs/sdboot/sdboot_flash.ztgt
@@ -20,7 +20,7 @@
<device />
<externalAddress>200000</externalAddress>
<externalAutoSelect>false</externalAutoSelect>
- <externalRamLower>40000</externalRamLower>
+ <externalRamLower>040000</externalRamLower>
<externalRamUpper>0BFFFF</externalRamUpper>
<manufacturer />
<units>1</units>
diff --git a/boards/z80/ez80/z20x/configs/sdboot/sdboot_ram.ztgt b/boards/z80/ez80/z20x/configs/sdboot/sdboot_ram.ztgt
index 6170e6d..8f78f6b 100644
--- a/boards/z80/ez80/z20x/configs/sdboot/sdboot_ram.ztgt
+++ b/boards/z80/ez80/z20x/configs/sdboot/sdboot_ram.ztgt
@@ -37,15 +37,15 @@
</CS0>
<CS1>
<busMode>0</busMode>
- <controlRegister>8</controlRegister>
- <lower>8</lower>
- <upper>F</upper>
+ <controlRegister>0</controlRegister>
+ <lower>0</lower>
+ <upper>0</upper>
</CS1>
<CS2>
<busMode>0</busMode>
- <controlRegister>28</controlRegister>
- <lower>20</lower>
- <upper>9F</upper>
+ <controlRegister>0</controlRegister>
+ <lower>0</lower>
+ <upper>0</upper>
</CS2>
<CS3>
<busMode>0</busMode>
diff --git a/boards/z80/ez80/z20x/scripts/Make.defs b/boards/z80/ez80/z20x/scripts/Make.defs
index 6ef267d..dab450e 100644
--- a/boards/z80/ez80/z20x/scripts/Make.defs
+++ b/boards/z80/ez80/z20x/scripts/Make.defs
@@ -42,7 +42,7 @@ endif
ARCHASMCPUFLAGS = -cpu:$(ARCHCPU) -NOigcase
ARCHASMLIST = -list -NOlistmac -name -pagelen:56 -pagewidth:80 -quiet
ARCHASMWARNINGS = -warn
-ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILYDEF)=1 -define:__ASSEMBLY__
+ARCHASMDEFINES = -define:$(ARCHCPUDEF)=1 -define:$(ARCHFAMILY)=1 -define:__ASSEMBLY__
AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) $(ARCHASMWARNINGS) $(ARCHASMOPTIMIZATION)
# Compiler definitions
@@ -52,11 +52,11 @@ ARCHCPUFLAGS = -chartype:S -promote -cpu:$(ARCHCPU) -NOgenprintf -NOmodsect \
ARCHLIST = -keeplst -NOlist -NOlistinc -keepasm
ARCHPICFLAGS =
ARCHWARNINGS = -warn
-ARCHDEFINES = -define:$(ARCHCPUDEF) -define:$(ARCHFAMILYDEF)
+ARCHDEFINES = -define:$(ARCHCPUDEF) -define:$(ARCHFAMILY)
ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHLIST) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
-CPPDEFINES = -D$(ARCHFAMILYDEF) -D$(ARCHCPUDEF) -D__ASSEMBLY__
+CPPDEFINES = -D$(ARCHFAMILY) -D$(ARCHCPUDEF) -D__ASSEMBLY__
CPPINCLUDES = -I$(TOPDIR)$(DELIM)include
CPPFLAGS = $(CPPDEFINES) $(CPPINCLUDES)
diff --git a/boards/z80/ez80/z20x/scripts/z20x_copytoram.linkcmd b/boards/z80/ez80/z20x/scripts/z20x_copytoram.linkcmd
index 2c50296..bf4015b 100644
--- a/boards/z80/ez80/z20x/scripts/z20x_copytoram.linkcmd
+++ b/boards/z80/ez80/z20x/scripts/z20x_copytoram.linkcmd
@@ -28,9 +28,10 @@ RANGE RAM $040000 : $0BFFFF
RANGE EXTIO $000000 : $00FFFF
RANGE INTIO $000000 : $0000FF
-CHANGE TEXT is CODE
CHANGE CODE is RAM
+CHANGE TEXT is CODE
CHANGE STRSECT is CODE
+
ORDER .RESET,.IVECTS,.STARTUP,CODE,DATA
COPY CODE ROM
COPY DATA ROM
diff --git a/boards/z80/ez80/z20x/scripts/z20x_flash.linkcmd b/boards/z80/ez80/z20x/scripts/z20x_flash.linkcmd
index a7b6ad9..4b5ff57 100644
--- a/boards/z80/ez80/z20x/scripts/z20x_flash.linkcmd
+++ b/boards/z80/ez80/z20x/scripts/z20x_flash.linkcmd
@@ -28,8 +28,7 @@ RANGE RAM $040000 : $0BFFFF
RANGE EXTIO $000000 : $00FFFF
RANGE INTIO $000000 : $0000FF
-CHANGE TEXT is CODE
-CHANGE STRSECT is CODE
+CHANGE STRSECT is ROM
ORDER .RESET,.IVECTS,.STARTUP,CODE,DATA
COPY DATA ROM
diff --git a/boards/z80/ez80/z20x/scripts/z20x_ram.linkcmd b/boards/z80/ez80/z20x/scripts/z20x_ram.linkcmd
index ad4c1b3..cbc949f 100644
--- a/boards/z80/ez80/z20x/scripts/z20x_ram.linkcmd
+++ b/boards/z80/ez80/z20x/scripts/z20x_ram.linkcmd
@@ -33,6 +33,7 @@ CHANGE .STARTUP is RAM
CHANGE TEXT is CODE
CHANGE CODE is RAM
CHANGE STRSECT is CODE
+
ORDER .RESET,.IVECTS,.STARTUP,CODE,DATA
DEFINE __low_romdata = copy base of DATA
[incubator-nuttx] 03/05: arch/z80/src/ez80/ez80_timerisr.c: Use
Kconfig MCU configurations.
Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch pr385
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit d48e1432d6a93bb09cbf49beedc1ecca914ef998
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Wed Feb 26 10:44:02 2020 -0600
arch/z80/src/ez80/ez80_timerisr.c: Use Kconfig MCU configurations.
Don't use MCU selection from compiler. It appears that we must compile ez80f92 code as ez80f91 so the comiler MCU selection is incorrect. Instead, use the selected CPU part from the configuration.
---
arch/z80/src/ez80/ez80_timerisr.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/arch/z80/src/ez80/ez80_timerisr.c b/arch/z80/src/ez80/ez80_timerisr.c
index 7cc464e..920dd1e 100644
--- a/arch/z80/src/ez80/ez80_timerisr.c
+++ b/arch/z80/src/ez80/ez80_timerisr.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/z80/src/ez80/ez80_timerisr.c
*
- * Copyright (C) 2008-2009, 2017 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009, 2017, 2020 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -66,7 +66,7 @@ static int ez80_timerisr(int irq, chipreg_t *regs, void *arg)
{
/* Read the appropriate timer0 register to clear the interrupt */
-#ifdef _EZ80F91
+#ifdef CONFIGS_ARCH_CHIP_EZ80F91
inp(EZ80_TMR0_IIR);
#else
/* _EZ80190, _EZ80L92, _EZ80F92, _EZ80F93 */
@@ -78,9 +78,9 @@ static int ez80_timerisr(int irq, chipreg_t *regs, void *arg)
nxsched_process_timer();
+#ifdef CONFIG_ARCH_TIMERHOOK
/* Architecture specific hook into the timer interrupt handler */
-#ifdef CONFIG_ARCH_TIMERHOOK
up_timerhook();
#endif
@@ -137,9 +137,10 @@ void up_timer_initialize(void)
/* Clear any pending timer interrupts */
-#if defined(_EZ80F91)
+#if defined(CONFIGS_ARCH_CHIP_EZ80F91)
inp(EZ80_TMR0_IIR);
-#elif defined(_EZ80L92) || defined(_EZ80F92) ||defined(_EZ80F93)
+#elif defined(CONFIGS_ARCH_CHIP_EZ80L92) || defined(CONFIGS_ARCH_CHIP_EZ80F92) || \
+ defined(CONFIGS_ARCH_CHIP_EZ80F93)
inp(EZ80_TMR0_CTL);
#endif
@@ -147,15 +148,16 @@ void up_timer_initialize(void)
#if defined(_EZ80190)
outp(EZ80_TMR0_CTL, 0x5f);
-#elif defined(_EZ80F91)
+#elif defined(CONFIGS_ARCH_CHIP_EZ80F91)
outp(EZ80_TMR0_CTL, (EZ80_TMRCLKDIV_16|EZ80_TMRCTL_TIMCONT|EZ80_TMRCTL_RLD|EZ80_TMRCTL_TIMEN));
-#elif defined(_EZ80L92) || defined(_EZ80F92) ||defined(_EZ80F93)
+#elif defined(CONFIGS_ARCH_CHIP_EZ80L92) || defined(CONFIGS_ARCH_CHIP_EZ80F92) || \
+ defined(CONFIGS_ARCH_CHIP_EZ80F93)
outp(EZ80_TMR0_CTL, 0x57);
#endif
/* Enable timer end-of-count interrupts */
-#if defined(_EZ80F91)
+#if defined(CONFIGS_ARCH_CHIP_EZ80F91)
outp(EZ80_TMR0_IER, EZ80_TMRIER_EOCEN);
#endif
}
[incubator-nuttx] 04/05: arch/z80/src/ez80/ez80f92_handlers.asm:
Trivial typo fix.
Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch pr385
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit d332142c5aaece46c2581ab6a93191baa8cb1e32
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Wed Feb 26 13:04:45 2020 -0600
arch/z80/src/ez80/ez80f92_handlers.asm: Trivial typo fix.
---
arch/z80/src/ez80/ez80f92_handlers.asm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/z80/src/ez80/ez80f92_handlers.asm b/arch/z80/src/ez80/ez80f92_handlers.asm
index 177db0f..0efd0bd 100644
--- a/arch/z80/src/ez80/ez80f92_handlers.asm
+++ b/arch/z80/src/ez80/ez80f92_handlers.asm
@@ -1,5 +1,5 @@
;**************************************************************************
-; arch/z80/src/ez80/ez80f91_handlers.asm
+; arch/z80/src/ez80/ez80f92_handlers.asm
;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed with