add lto for cmake

This commit is contained in:
hathach
2023-06-01 12:36:08 +07:00
parent ddc029ce54
commit 19a597bcae
10 changed files with 200 additions and 183 deletions

View File

@@ -3,7 +3,6 @@ if (TOOLCHAIN STREQUAL "gcc")
-mthumb
-mcpu=cortex-m33
-mfloat-abi=hard
#-mfpu=fpv5-d16
-mfpu=fpv5-sp-d16
)