arch/z80/src/: Fix a few more ez80 compile issues. Update README files.

This commit is contained in:
Gregory Nutt 2019-06-02 18:35:32 -06:00
parent 2cf195e6d1
commit 27bb130bf8
8 changed files with 33 additions and 17 deletions

View File

@ -47,7 +47,7 @@
#include <nuttx/sched.h>
#include "chip.h"
#include "common/up_internal.h"
#include "up_internal.h"
#ifdef USE_LOWSERIALINIT

View File

@ -138,7 +138,7 @@ _nmi:
;----------------- --- ----- -----
_ez80_handlers:
irqhandler 0 ; EZ80_EMACRX_IRQ 0 0 0x040
handlersize equ $-_ez80handlers
handlersize equ $-_ez80_handlers
irqhandler 1 ; EZ80_EMACTX_IRQ 1 1 0x044
irqhandler 2 ; EZ80_EMACSYS_IRQ 2 2 0x048
irqhandler 3 ; EZ80_PLL_IRQ 3 3 0x04c

View File

@ -44,7 +44,7 @@
# include <nuttx/sched.h>
# include <nuttx/arch.h>
#endif
#include "common/up_internal.h"
#include "up_internal.h"
/************************************************************************************
* Pre-processor Definitions

View File

@ -46,7 +46,7 @@
# include <nuttx/sched.h>
# include <nuttx/arch.h>
#endif
#include "common/up_internal.h"
#include "up_internal.h"
/************************************************************************************
* Pre-processor Definitions

View File

@ -47,7 +47,7 @@
#include <nuttx/sched.h>
#include "chip.h"
#include "common/up_internal.h"
#include "up_internal.h"
#ifdef USE_LOWSERIALINIT

View File

@ -58,9 +58,9 @@ ifneq ($(ZDSVERSION),)
ifeq ($(WINTOOL),y)
WSCHEDSRCDIR = ${shell cygpath -w $(SCHEDSRCDIR)}
WARCHSRCDIR = ${shell cygpath -w $(ARCHSRCDIR)}
USRINCLUDES = -usrinc:'.;$(WSCHEDSRCDIR);$(WARCHSRCDIR);$(WARCHSRCDIR)\common'
USRINCLUDES = -usrinc:'.;$(WSCHEDSRCDIR);$(WARCHSRCDIR)$(DELIM)chip;$(WARCHSRCDIR)$(DELIM)common'
else
USRINCLUDES = -usrinc:".;$(SCHEDSRCDIR);$(ARCHSRCDIR);$(ARCHSRCDIR)\common"
USRINCLUDES = -usrinc:".;$(SCHEDSRCDIR);$(ARCHSRCDIR)$(DELIMI)chip;$(ARCHSRCDIR)$(DELIM)common"
endif
else
ifeq ($(WINTOOL),y)

View File

@ -60,12 +60,20 @@ Version 5.2.1
however, I encountered compiler internal errors. I did not pursue that
build any further.
Version 5.3.0
I started verification using 5.30 on June 2, 2019. There are lots of
compile issues; most look like compiler problems (but only a single
internal error). Other errors are the consequence of commits to the
OS that did not follow C89. It will take some time to get a clean
compile again.
Other Versions
If you use any version of ZDS-II other than 5.1.1 or 5.2.1 or if you install
ZDS-II at any location other than the default location, you will have to
modify one or two files: (1) configs/ez80f910200kitg/*/Make.defs and
(2) arch/z80/src/ez80/Toolchain.defs. You probably have to modify the
path to your toolchain in the PATH environment variable.
If you use any version of ZDS-II other than 5.1.1, 5.2.1, or 5.3.0 or
if you install ZDS-II at any location other than the default location,
you will have to modify one or three files: (1) arch/arm/z80/src/ez80Kconfig,
(2) configs/ez80f910200kitg/scripts/Make.defs and, perhaps, (3)
arch/z80/src/ez80/Toolchain.defs.
Configuration Subdirectories
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -60,12 +60,20 @@ Version 5.2.1
however, I encountered compiler internal errors. I did not pursue that
build any further.
Version 5.3.0
I started verification using 5.30 on June 2, 2019. There are lots of
compile issues; most look like compiler problems (but only a single
internal error). Other errors are the consequence of commits to the
OS that did not follow C89. It will take some time to get a clean
compile again.
Other Versions
If you use any version of ZDS-II other than 5.1.1 or 5.2.1 or if you install
ZDS-II at any location other than the default location, you will have to
modify one or two files: (2) configs/ez80f910200zco/*/Make.defs and (2)
arch/z80/src/ez80/Toolchain.defs. You may also have to modify you PATH
environment variable.
If you use any version of ZDS-II other than 5.1.1, 5.2.1, or 5.3.0 or
if you install ZDS-II at any location other than the default location,
you will have to modify one or three files: (1) arch/arm/z80/src/ez80Kconfig,
(2) configs/ez80f910200zco/scripts/Make.defs and, perhaps, (3)
arch/z80/src/ez80/Toolchain.defs.
Configurations
^^^^^^^^^^^^^^