summaryrefslogtreecommitdiff
path: root/scripts/cmake/tensorflow.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cmake/tensorflow.cmake')
-rw-r--r--scripts/cmake/tensorflow.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/tensorflow.cmake b/scripts/cmake/tensorflow.cmake
index 8a790bc..ac11542 100644
--- a/scripts/cmake/tensorflow.cmake
+++ b/scripts/cmake/tensorflow.cmake
@@ -51,7 +51,7 @@ if (TARGET_PLATFORM STREQUAL native)
else()
set(TENSORFLOW_LITE_MICRO_TARGET "cortex_m_generic")
- if ("${CMAKE_SYSTEM_ARCH}" STREQUAL "armv8.1-m.main")
+ if ("${CMAKE_SYSTEM_ARCH}" STREQUAL "armv8.1-m.main" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "cortex-m85")
# TensorFlow's generic makefile doesn't currently have a flow for Cortex-M85.
# We build for Arm Cortex-M55 instead.
# @TODO: check with latest TensorFlow package.