Fixed a bug.
Need to make room for stack.
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
; ---------------------------------------------------------------------------
|
||||
; generic
|
||||
|
||||
.equ STACK_SIZE = 128
|
||||
|
||||
.equ NET_BUFFERS_NUM = 8
|
||||
.equ NET_BUFFERS_SIZE = 32
|
||||
|
||||
@@ -228,6 +230,7 @@ onEveryLoop:
|
||||
.include "modules/lcd2/font/font12x20.asm"
|
||||
;.include "common/list_t.asm"
|
||||
.include "common/tree_t.asm"
|
||||
.include "common/divide.asm"
|
||||
|
||||
|
||||
; ---------------------------------------------------------------------------
|
||||
@@ -443,5 +446,5 @@ heapStart:
|
||||
|
||||
|
||||
.equ HEAP_START = heapStart
|
||||
.equ HEAP_SIZE = SRAM_SIZE-HEAP_START
|
||||
.equ HEAP_SIZE = (SRAM_SIZE-STACK_SIZE)-HEAP_START
|
||||
|
||||
|
||||
Reference in New Issue
Block a user