only:debugging note

This commit is contained in:
rusefillc 2023-08-04 18:36:52 -04:00
parent eea5f8293f
commit 7c5f4d72c8
1 changed files with 2 additions and 0 deletions

View File

@ -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