Skip to content

Commit 519d5fd

Browse files
committed
more regressions fixed
1 parent 3603643 commit 519d5fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ ifeq ($(ARCH),ARM)
253253
CORTEX_A5=1
254254
UPDATE_OBJS:=src/update_ram.o
255255
CFLAGS+=-DWOLFBOOT_DUALBOOT -DEXT_FLASH -DNAND_FLASH -fno-builtin -ffreestanding
256-
#CFLAGS+=-DWOLFBOOT_USE_STDLIBC
256+
CFLAGS+=-DWOLFBOOT_USE_STDLIBC
257257
endif
258258

259259
## Cortex CPU
@@ -836,7 +836,7 @@ ifeq ($(TARGET),nxp_p1021)
836836
ARCH_FLAGS+=-fno-builtin -ffreestanding -nostartfiles
837837
CFLAGS+=$(ARCH_FLAGS)
838838
BIG_ENDIAN=1
839-
CFLAGS+=-DWOLFBOOT_DUALBOOT
839+
CFLAGS+=-DWOLFBOOT_DUALBOOT -DMMU=1
840840
CFLAGS+=-pipe # use pipes instead of temp files
841841
LDFLAGS+=$(ARCH_FLAGS)
842842
LDFLAGS+=-Wl,--as-needed # remove weak functions not used

0 commit comments

Comments
 (0)