Skip to content

Commit

Permalink
Workaround for building with optimizations enabled. Currently causes …
Browse files Browse the repository at this point in the history
…issues with alignment and inlining of functions that should not be (like string.c memcpy).
  • Loading branch information
dgarske committed Jan 5, 2024
1 parent b4dc8c6 commit d7fe7ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ ifeq ($(TARGET),nxp_t1024)
CFLAGS+=-DWOLFSSL_SP_PPC
endif
SPI_TARGET=nxp
OPTIMIZATION_LEVEL=0 # using default -Os causes issues with alignment
endif

ifeq ($(TARGET),nxp_t2080)
Expand Down

0 comments on commit d7fe7ab

Please sign in to comment.