Skip to content

Commit 4c8bf40

Browse files
dgarskedanielinux
authored andcommitted
Fix for "benchmark" command to support float with nano.specs. Increase test-app heap size.
1 parent 456c3b4 commit 4c8bf40

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

test-app/ARM-stm32h5-ns.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ SECTIONS
5050
}
5151

5252
PROVIDE(_start_heap = _end);
53-
PROVIDE(_heap_size = 4K);
53+
PROVIDE(_heap_size = 8K);
5454
PROVIDE(_end_stack = ORIGIN(RAM) + LENGTH(RAM));

test-app/ARM-stm32h5.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ SECTIONS
5050
}
5151

5252
PROVIDE(_start_heap = _end);
53-
PROVIDE(_heap_size = 4K);
53+
PROVIDE(_heap_size = 8K);
5454
PROVIDE(_end_stack = ORIGIN(RAM) + LENGTH(RAM));

test-app/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ ifeq ($(TZEN),1)
114114
APP_OBJS+=./wcs/wc_encrypt.o
115115
APP_OBJS+=./wcs/wc_port.o
116116
endif
117-
CFLAGS+=-DWOLFBOOT_SECURE_CALLS -Wstack-usage=12944
117+
CFLAGS+=-DWOLFBOOT_SECURE_CALLS -Wstack-usage=19184
118+
LDFLAGS+=--specs=nosys.specs -u _printf_float
118119
endif
119120
else
120121
APP_OBJS+=../hal/$(TARGET).o

0 commit comments

Comments
 (0)