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 \