From 80c685a55f0d9de9cec178c55a8034cc109450e9 Mon Sep 17 00:00:00 2001 From: Nick Kreeger Date: Mon, 30 Dec 2019 11:08:58 -0800 Subject: [PATCH] Add TF_LITE_STATIC_MEMORY to the Xtensa platform build Makefile. PiperOrigin-RevId: 287572726 Change-Id: I4d1b5f1500fb058ab1b92b6ed672fbc33b871a6c --- .../lite/micro/tools/make/targets/xtensa_xpg_makefile.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tensorflow/lite/micro/tools/make/targets/xtensa_xpg_makefile.inc b/tensorflow/lite/micro/tools/make/targets/xtensa_xpg_makefile.inc index 4161882d30e..55bff78aba4 100644 --- a/tensorflow/lite/micro/tools/make/targets/xtensa_xpg_makefile.inc +++ b/tensorflow/lite/micro/tools/make/targets/xtensa_xpg_makefile.inc @@ -6,6 +6,9 @@ ifeq ($(TARGET), xtensa-xpg) TARGET_ARCH := xtensa-xpg PLATFORM_ARGS = \ + -DTF_LITE_STATIC_MEMORY \ + -DNDEBUG \ + -DTF_LITE_MCU_DEBUG_LOG \ --xtensa-core=$(XTENSA_CORE) \ -g -O2 \ -fmessage-length=0 \