9
0
Fork 0

More z80 repairs due to z8 port

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@672 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2008-02-12 14:52:34 +00:00
parent 6544f6e6ea
commit 7c5a5be8bb
4 changed files with 11 additions and 9 deletions

View File

@ -338,4 +338,5 @@
* Began adding support for the ZiLOG Z8Encore! microcontroller for the Z8Encore000ZCO
development board and the Z8F642 part.
* Fix broken 'clean' target on z80sim configurations

View File

@ -992,6 +992,7 @@ nuttx-0.3.9 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
* Began adding support for the ZiLOG Z8Encore! microcontroller for the Z8Encore000ZCO
development board and the Z8F642 part.
* Fix broken 'clean' target on z80sim configurations
pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>

View File

@ -117,17 +117,17 @@ up_mem.h:
@echo "#endif /* __UP_MEM_H */" >>up_mem.h
asm_mem.h:
@echo " UP_COMPILER_OTHER == 0" > asm_mem.h
@echo " UP_COMPILER_SDCC == 1" >> asm_mem.h
@echo " CONFIG_COMPILER_OTHER == 0" > asm_mem.h
@echo " CONFIG_COMPILER_SDCC == 1" >> asm_mem.h
ifeq ($(CC),sdcc)
@echo " UP_COMPILER == 1" >> asm_mem.h
@echo " CONFIG_COMPILER == 1" >> asm_mem.h
else
@echo " UP_COMPILER == 0" >> asm_mem.h
@echo " CONFIG_COMPILER == 0" >> asm_mem.h
endif
@echo " UP_STACK_END == ($(CONFIG_DRAM_SIZE) - 1)" >> asm_mem.h
@echo " UP_STACK_BASE == (UP_STACK_END - $(CONFIG_PROC_STACK_SIZE))" >> asm_mem.h
@echo " UP_HEAP1_END == (UP_STACK_END - $(CONFIG_PROC_STACK_SIZE) - 1)" >> asm_mem.h
@echo " UP_HEAP1_BASE == $(HEAP_BASE)" >> asm_mem.h
@echo " CONFIG_STACK_END == ($(CONFIG_DRAM_SIZE) - 1)" >> asm_mem.h
@echo " CONFIG_STACK_BASE == (CONFIG_STACK_END - $(CONFIG_PROC_STACK_SIZE))" >> asm_mem.h
@echo " CONFIG_HEAP1_END == (CONFIG_STACK_END - $(CONFIG_PROC_STACK_SIZE) - 1)" >> asm_mem.h
@echo " CONFIG_HEAP1_BASE == $(HEAP_BASE)" >> asm_mem.h
# Combine all objects in this directory into a library

View File

@ -166,7 +166,7 @@ _up_reset::
; Set up the stack pointer at the location determined the Makefile
; and stored in asm_mem.h
ld SP, #UP_STACK_END ; Set stack pointer
ld SP, #CONFIG_STACK_END ; Set stack pointer
; Performed initialization unique to the SDCC toolchain