Skip to content

Commit bc0d909

Browse files
committed
Fix for SP ASM (this MCX A Cortex-M33 apparently doesn't have UMAAL or is not compatible). Removed the NVM flash write once (not required).
1 parent 574f42a commit bc0d909

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

arch.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ ifeq ($(TARGET),mcxa)
344344
-I$(MCUXPRESSO)/drivers/common \
345345
-I$(MCUXPRESSO_CMSIS)/Include \
346346
-I$(MCUXPRESSO_CMSIS)/Core/Include
347-
CFLAGS+=\
348-
-DCPU_$(MCUXPRESSO_CPU) -DDEBUG_CONSOLE_ASSERT_DISABLE=1 -DNVM_FLASH_WRITEONCE=1
347+
CFLAGS+=-DCPU_$(MCUXPRESSO_CPU) -DDEBUG_CONSOLE_ASSERT_DISABLE=1
348+
CFLAGS+=-DWOLFSSL_SP_NO_UMAAL
349349
CFLAGS+=-Wno-old-style-declaration
350350
CFLAGS+=-mcpu=cortex-m33 -DCORTEX_M33 -U__ARM_FEATURE_DSP
351351
LDFLAGS+=-mcpu=cortex-m33

config/examples/mcxa.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ MCUXPRESSO_DRIVERS?=$(MCUXPRESSO)/devices/MCXA153
1010
DEBUG?=0
1111
VTOR?=1
1212
CORTEX_M0?=0
13-
NO_ASM?=1
13+
NO_ASM?=0
1414
EXT_FLASH?=0
1515
SPI_FLASH?=0
1616
ALLOW_DOWNGRADE?=0
17-
NVM_FLASH_WRITEONCE?=1
17+
NVM_FLASH_WRITEONCE?=0
1818
WOLFBOOT_VERSION?=0
1919
V?=0
2020
SPMATH?=1

0 commit comments

Comments
 (0)