Skip to content

Commit 1a6c219

Browse files
committed
Enable TZEN on emu test apps
1 parent ecb1e2d commit 1a6c219

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

test-app/emu-test-apps/mcxw71/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ LDFLAGS := -nostdlib -T target.ld -Wl,-gc-sections
3232
LDLIBS := -Wl,--start-group -lc -lm -lgcc -lnosys -Wl,--end-group
3333
NSC_OBJ :=
3434
ifeq ($(TZEN),1)
35+
CFLAGS += -DTZEN
3536
CFLAGS += -DWOLFCRYPT_SECURE_MODE
3637
NSC_OBJ := ../../../src/wolfboot_tz_nsc.o
3738
endif

test-app/emu-test-apps/nrf5340/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ LDFLAGS := -nostdlib -T target.ld -Wl,-gc-sections
2828
LDLIBS := -Wl,--start-group -lc -lm -lgcc -lnosys -Wl,--end-group
2929
NSC_OBJ :=
3030
ifeq ($(TZEN),1)
31+
CFLAGS += -DTZEN
3132
CFLAGS += -DWOLFCRYPT_SECURE_MODE
3233
NSC_OBJ := ../../../src/wolfboot_tz_nsc.o
3334
endif

test-app/emu-test-apps/stm32h563/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ LDFLAGS := -nostdlib -T target.ld -Wl,-gc-sections
2828
LDLIBS := -Wl,--start-group -lc -lm -lgcc -lnosys -Wl,--end-group
2929
NSC_OBJ :=
3030
ifeq ($(TZEN),1)
31+
CFLAGS += -DTZEN
3132
CFLAGS += -DWOLFCRYPT_SECURE_MODE
3233
NSC_OBJ := ../../../src/wolfboot_tz_nsc.o
3334
endif

test-app/emu-test-apps/stm32l552/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ LDFLAGS := -nostdlib -T target.ld -Wl,-gc-sections
2828
LDLIBS := -Wl,--start-group -lc -lm -lgcc -lnosys -Wl,--end-group
2929
NSC_OBJ :=
3030
ifeq ($(TZEN),1)
31+
CFLAGS += -DTZEN
3132
CFLAGS += -DNONSECURE_APP
3233
CFLAGS += -DWOLFCRYPT_SECURE_MODE
3334
NSC_OBJ := ../../../src/wolfboot_tz_nsc.o

test-app/emu-test-apps/stm32u585/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ LDFLAGS := -nostdlib -T target.ld -Wl,-gc-sections
2828
LDLIBS := -Wl,--start-group -lc -lm -lgcc -lnosys -Wl,--end-group
2929
NSC_OBJ :=
3030
ifeq ($(TZEN),1)
31+
CFLAGS += -DTZEN
3132
CFLAGS += -DNONSECURE_APP
3233
CFLAGS += -DWOLFCRYPT_SECURE_MODE
3334
NSC_OBJ := ../../../src/wolfboot_tz_nsc.o

0 commit comments

Comments
 (0)