Fix for "benchmark" command to support float with nano.specs. Increase test-app heap size.

pull/612/head
David Garske 2025-10-13 12:11:49 -07:00 committed by Daniele Lacamera
parent 456c3b495f
commit 4c8bf4069f
3 changed files with 4 additions and 3 deletions

View File

@ -50,5 +50,5 @@ SECTIONS
}
PROVIDE(_start_heap = _end);
PROVIDE(_heap_size = 4K);
PROVIDE(_heap_size = 8K);
PROVIDE(_end_stack = ORIGIN(RAM) + LENGTH(RAM));

View File

@ -50,5 +50,5 @@ SECTIONS
}
PROVIDE(_start_heap = _end);
PROVIDE(_heap_size = 4K);
PROVIDE(_heap_size = 8K);
PROVIDE(_end_stack = ORIGIN(RAM) + LENGTH(RAM));

View File

@ -114,7 +114,8 @@ ifeq ($(TZEN),1)
APP_OBJS+=./wcs/wc_encrypt.o
APP_OBJS+=./wcs/wc_port.o
endif
CFLAGS+=-DWOLFBOOT_SECURE_CALLS -Wstack-usage=12944
CFLAGS+=-DWOLFBOOT_SECURE_CALLS -Wstack-usage=19184
LDFLAGS+=--specs=nosys.specs -u _printf_float
endif
else
APP_OBJS+=../hal/$(TARGET).o