Skip to content

Commit

Permalink
Fix for SP ASM (this MCX A Cortex-M33 apparently doesn't have UMAAL
Browse files Browse the repository at this point in the history
… or is not compatible). Removed the NVM flash write once (not required).
  • Loading branch information
dgarske committed Mar 29, 2024
1 parent 574f42a commit bc0d909
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ ifeq ($(TARGET),mcxa)
-I$(MCUXPRESSO)/drivers/common \
-I$(MCUXPRESSO_CMSIS)/Include \
-I$(MCUXPRESSO_CMSIS)/Core/Include
CFLAGS+=\
-DCPU_$(MCUXPRESSO_CPU) -DDEBUG_CONSOLE_ASSERT_DISABLE=1 -DNVM_FLASH_WRITEONCE=1
CFLAGS+=-DCPU_$(MCUXPRESSO_CPU) -DDEBUG_CONSOLE_ASSERT_DISABLE=1
CFLAGS+=-DWOLFSSL_SP_NO_UMAAL
CFLAGS+=-Wno-old-style-declaration
CFLAGS+=-mcpu=cortex-m33 -DCORTEX_M33 -U__ARM_FEATURE_DSP
LDFLAGS+=-mcpu=cortex-m33
Expand Down
4 changes: 2 additions & 2 deletions config/examples/mcxa.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ MCUXPRESSO_DRIVERS?=$(MCUXPRESSO)/devices/MCXA153
DEBUG?=0
VTOR?=1
CORTEX_M0?=0
NO_ASM?=1
NO_ASM?=0
EXT_FLASH?=0
SPI_FLASH?=0
ALLOW_DOWNGRADE?=0
NVM_FLASH_WRITEONCE?=1
NVM_FLASH_WRITEONCE?=0
WOLFBOOT_VERSION?=0
V?=0
SPMATH?=1
Expand Down

0 comments on commit bc0d909

Please sign in to comment.