refactor: bootloader & cmake cleanup (#5232)

This commit is contained in:
Raphael Coeffic
2024-07-07 21:06:59 +10:00
committed by GitHub
parent 848d7942bf
commit d575242c0f
35 changed files with 483 additions and 547 deletions
+17 -7
View File
@@ -19,20 +19,30 @@ set(GUI_SRC
radio_calibration.cpp
view_main.cpp
view_statistics.cpp
)
)
if(FLIGHT_MODES)
set(GUI_SRC
${GUI_SRC}
set(GUI_SRC ${GUI_SRC}
model_flightmodes.cpp
)
)
endif()
if(GVARS)
set(GUI_SRC ${GUI_SRC}
model_gvars.cpp
)
endif()
if(LUA_MIXER)
set(GUI_SRC
${GUI_SRC}
set(GUI_SRC ${GUI_SRC}
model_custom_scripts.cpp
)
)
endif()
include(gui/common/stdlcd/CMakeLists.txt)
set(BOOTLOADER_SRC ${BOOTLOADER_SRC}
${RADIO_SRC_DIR}/gui/128x64/lcd.cpp
${RADIO_SRC_DIR}/gui/common/stdlcd/fonts.cpp
${RADIO_SRC_DIR}/gui/common/stdlcd/utf8.cpp
)