From 6fecec1113d2b50d6ce2381683b6c4fb1217a12c Mon Sep 17 00:00:00 2001 From: Kshitij Sisodia Date: Fri, 12 Aug 2022 15:56:40 +0100 Subject: MLECO-3321: Updated TensorFlow Lite Micro. Updated to latest version of TensorFlow Lite Micro and removed forcing TENSORFLOW_LITE_MICRO_TARGET_ARCH to Arm Cortex-M55 for SSE-310 (now it is correctly set to Cortex-M85 instead). Change-Id: Ib1e8680a8d2ea803e0e003032119a10b1d71754e Signed-off-by: Kshitij Sisodia --- scripts/cmake/tensorflow.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/cmake/tensorflow.cmake b/scripts/cmake/tensorflow.cmake index ac11542..24227d9 100644 --- a/scripts/cmake/tensorflow.cmake +++ b/scripts/cmake/tensorflow.cmake @@ -51,10 +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" 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. + if ("${CMAKE_SYSTEM_ARCH}" STREQUAL "armv8.1-m.main") set(TENSORFLOW_LITE_MICRO_TARGET_ARCH "cortex-m55") else() set(TENSORFLOW_LITE_MICRO_TARGET_ARCH "${CMAKE_SYSTEM_PROCESSOR}") -- cgit v1.2.1