[beken-72xx] Fix bootloop by aggressive GCC optimization

This commit is contained in:
Kuba Szczodrzyński
2023-03-15 23:19:26 +01:00
parent 8f338a6b30
commit 24832d3277

View File

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