From 7c5f4d72c8ac3ae66de3fb885eb8bd15ea479326 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 4 Aug 2023 18:36:52 -0400 Subject: [PATCH] only:debugging note --- firmware/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/Makefile b/firmware/Makefile index 5bd0228cd6..1a93a93e2c 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -43,6 +43,8 @@ ifeq ($(DEBUG_LEVEL_OPT),) # Comment the above and uncomment the line below if you want to debug the firmware (it's difficult-to-impossible # to debug firmware with optimization enabled). # DEBUG_LEVEL_OPT = -O0 -ggdb -g + # without optimization many configurations do not fit into flash. Compiling without Lua is one of the way to get a debug image + # DEBUG_LEVEL_OPT += -DEFI_LUA=FALSE endif