diff --git a/builder/frameworks/beken-72xx-sdk.py b/builder/frameworks/beken-72xx-sdk.py index 5f5da33..26f0220 100644 --- a/builder/frameworks/beken-72xx-sdk.py +++ b/builder/frameworks/beken-72xx-sdk.py @@ -43,7 +43,9 @@ env.Append( "-mthumb", "-mthumb-interwork", "-g", - "-Os", + # anything higher, like -O2 or -Os, causes random issues + # like bootlooping, missing (blank) strings, random lockups during boot + "-O1", "-fdata-sections", "-ffunction-sections", "-fno-inline-functions",