chore(radio): add LTO option for complete firmware to reduce X9D+2019 size (#7255)

This commit is contained in:
Raphael Coeffic
2026-04-20 07:17:59 +10:00
committed by GitHub
parent 16c7dbcfb9
commit ccc4fefd89
10 changed files with 23 additions and 17 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ get_target_build_options() {
BUILD_OPTIONS+="-DPCB=X9D+"
;;
x9dp2019)
BUILD_OPTIONS+="-DPCB=X9D+ -DPCBREV=2019"
BUILD_OPTIONS+="-DPCB=X9D+ -DPCBREV=2019 -DUSE_FW_LTO=y"
;;
x9e)
BUILD_OPTIONS+="-DPCB=X9E"