Fixed a bug.

Need to make room for stack.
This commit is contained in:
Martin Preuss
2025-06-04 23:56:04 +02:00
parent ae1892f196
commit 12cfe2ff4b

View File

@@ -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