More z80 repairs due to z8 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@672 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
8d2f18e709
commit
9a955f0901
@ -338,4 +338,5 @@
|
|||||||
|
|
||||||
* Began adding support for the ZiLOG Z8Encore! microcontroller for the Z8Encore000ZCO
|
* Began adding support for the ZiLOG Z8Encore! microcontroller for the Z8Encore000ZCO
|
||||||
development board and the Z8F642 part.
|
development board and the Z8F642 part.
|
||||||
|
* Fix broken 'clean' target on z80sim configurations
|
||||||
|
|
||||||
|
@ -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
|
* Began adding support for the ZiLOG Z8Encore! microcontroller for the Z8Encore000ZCO
|
||||||
development board and the Z8F642 part.
|
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>
|
pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
|
||||||
|
@ -117,17 +117,17 @@ up_mem.h:
|
|||||||
@echo "#endif /* __UP_MEM_H */" >>up_mem.h
|
@echo "#endif /* __UP_MEM_H */" >>up_mem.h
|
||||||
|
|
||||||
asm_mem.h:
|
asm_mem.h:
|
||||||
@echo " UP_COMPILER_OTHER == 0" > asm_mem.h
|
@echo " CONFIG_COMPILER_OTHER == 0" > asm_mem.h
|
||||||
@echo " UP_COMPILER_SDCC == 1" >> asm_mem.h
|
@echo " CONFIG_COMPILER_SDCC == 1" >> asm_mem.h
|
||||||
ifeq ($(CC),sdcc)
|
ifeq ($(CC),sdcc)
|
||||||
@echo " UP_COMPILER == 1" >> asm_mem.h
|
@echo " CONFIG_COMPILER == 1" >> asm_mem.h
|
||||||
else
|
else
|
||||||
@echo " UP_COMPILER == 0" >> asm_mem.h
|
@echo " CONFIG_COMPILER == 0" >> asm_mem.h
|
||||||
endif
|
endif
|
||||||
@echo " UP_STACK_END == ($(CONFIG_DRAM_SIZE) - 1)" >> asm_mem.h
|
@echo " CONFIG_STACK_END == ($(CONFIG_DRAM_SIZE) - 1)" >> asm_mem.h
|
||||||
@echo " UP_STACK_BASE == (UP_STACK_END - $(CONFIG_PROC_STACK_SIZE))" >> asm_mem.h
|
@echo " CONFIG_STACK_BASE == (CONFIG_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 " CONFIG_HEAP1_END == (CONFIG_STACK_END - $(CONFIG_PROC_STACK_SIZE) - 1)" >> asm_mem.h
|
||||||
@echo " UP_HEAP1_BASE == $(HEAP_BASE)" >> asm_mem.h
|
@echo " CONFIG_HEAP1_BASE == $(HEAP_BASE)" >> asm_mem.h
|
||||||
|
|
||||||
# Combine all objects in this directory into a library
|
# Combine all objects in this directory into a library
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ _up_reset::
|
|||||||
; Set up the stack pointer at the location determined the Makefile
|
; Set up the stack pointer at the location determined the Makefile
|
||||||
; and stored in asm_mem.h
|
; 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
|
; Performed initialization unique to the SDCC toolchain
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user