From efefb266f9b9c6cc0dc62fd090d6077d5ff77c07 Mon Sep 17 00:00:00 2001 From: Sebastien L Date: Fri, 17 Dec 2021 09:46:14 -0500 Subject: [PATCH] Fix state machine compile errors --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 204ba9f5..07b16aa1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.5) set(EXTRA_COMPONENT_DIRS components/platform_console/app_recovery components/platform_console/app_squeezelite ) include($ENV{IDF_PATH}/tools/cmake/project.cmake) add_definitions(-DMODEL_NAME=SqueezeESP32) + +# State machine hierarchy enabled and logging enabled +add_definitions(-DSTATE_MACHINE_LOGGER=1) +add_definitions(-DHIERARCHICAL_STATES=1) + # Uncomment line below to get memory usage trace details #add_definitions(-DENABLE_MEMTRACE=1) #uncomment line below to get network ethernet debug logs