Skip to content

Commit 1f1cf48

Browse files
committed
M33: Disable DSP extension in ARCH_FLAGS
Without +nodsp, GCC's -mcpu=cortex-m33 enables DSP by default and auto-vectorizes poly_ntt into smlabb, which faults under QEMU's mps3-an524 cortex-m33. Signed-off-by: Matthias J. Kannwischer <matthias@zerorisc.com>
1 parent c7b3757 commit 1f1cf48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/baremetal/platform/m33-an524/platform.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ CFLAGS += \
3636
-DCMDLINE_BASE_ADDR=0x20007000
3737

3838
ARCH_FLAGS += \
39-
-mcpu=cortex-m33 \
39+
-mcpu=cortex-m33+nodsp \
4040
-mthumb \
4141
-mfloat-abi=soft
4242

0 commit comments

Comments
 (0)