From 16dc1628af61692d69fd8bd7bd61cdcc8f7b36d1 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Thu, 21 Jul 2022 20:23:13 +0200 Subject: [PATCH] Fixed target 'simulator' --- Makefile | 2 +- test-app/Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9ad4f3c6..c68db783 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ ifeq ($(TARGET),library) endif ifeq ($(TARGET),sim) - MAIN_TARGET:=wolfboot.elf test-app/image_v1_signed.bin internal_flash.dd + MAIN_TARGET:=wolfboot.elf tools/bin-assemble/bin-assemble test-app/image_v1_signed.bin internal_flash.dd endif ASFLAGS:=$(CFLAGS) diff --git a/test-app/Makefile b/test-app/Makefile index a63ab848..12571eb0 100644 --- a/test-app/Makefile +++ b/test-app/Makefile @@ -237,6 +237,8 @@ ifeq ($(TARGET),psoc6) CFLAGS+=-DCY8C624ABZI_D44 endif +CFLAGS+=-I../lib/wolfssl + standalone:CFLAGS+=-D"TEST_APP_STANDALONE" standalone:LDFLAGS:=-T standalone.ld -Wl,-gc-sections -Wl,-Map=image.map