Skip to content

Commit 9a38763

Browse files
committed
Cortex-M backend: Enable MVE in Zephyr build
Before CMSIS-NN was built for zephyr w/o MVE enabled. Signed-off-by: Adrian Lundell <[email protected]> Change-Id: Ie9c45e67d2ac2a5b6d0116bbb6f48222709e272d
1 parent 73b0734 commit 9a38763

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/arm/zephyr/prj.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
22
# All rights reserved.
3-
# Copyright 2025 Arm Limited and/or its affiliates.
3+
# Copyright 2025-2026 Arm Limited and/or its affiliates.
44
#
55
# SPDX-License-Identifier: Apache-2.0
66

@@ -34,3 +34,7 @@ CONFIG_ETHOS_U=y
3434
CONFIG_EXECUTORCH_METHOD_ALLOCATOR_POOL_SIZE=262144
3535
# Ethos-U scratch memory requirements scale with the compiled network.
3636
CONFIG_EXECUTORCH_TEMP_ALLOCATOR_POOL_SIZE=1572864
37+
38+
# Enable Helium (MVE) builds of CMSIS-NN by selecting the FPU and hard-float ABI.
39+
CONFIG_FPU=y
40+
CONFIG_FP_HARDABI=y

0 commit comments

Comments
 (0)