Refactor code structure for improved readability and maintainability

This commit is contained in:
2025-05-18 13:07:33 +02:00
parent 95ec6cd0ab
commit b308f80a11
25 changed files with 648 additions and 2647 deletions
@@ -1,10 +1,10 @@
set(CMAKE_ASM_COMPILER "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc")
set(CMAKE_ASM_COMPILER "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-gcc")
set(CMAKE_ASM_COMPILER_ARG1 "")
set(CMAKE_AR "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-ar")
set(CMAKE_ASM_COMPILER_AR "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ar")
set(CMAKE_RANLIB "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-ranlib")
set(CMAKE_ASM_COMPILER_RANLIB "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ranlib")
set(CMAKE_LINKER "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-g++")
set(CMAKE_AR "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-ar")
set(CMAKE_ASM_COMPILER_AR "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ar")
set(CMAKE_RANLIB "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-ranlib")
set(CMAKE_ASM_COMPILER_RANLIB "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ranlib")
set(CMAKE_LINKER "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-g++")
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
set(CMAKE_ASM_COMPILER_LOADED 1)
@@ -1,4 +1,4 @@
set(CMAKE_C_COMPILER "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc")
set(CMAKE_C_COMPILER "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-gcc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "12.3.1")
@@ -21,11 +21,11 @@ set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-ar")
set(CMAKE_C_COMPILER_AR "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ar")
set(CMAKE_RANLIB "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-ranlib")
set(CMAKE_C_COMPILER_RANLIB "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ranlib")
set(CMAKE_LINKER "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-g++")
set(CMAKE_AR "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-ar")
set(CMAKE_C_COMPILER_AR "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ar")
set(CMAKE_RANLIB "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-ranlib")
set(CMAKE_C_COMPILER_RANLIB "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ranlib")
set(CMAKE_LINKER "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-g++")
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
set(CMAKE_COMPILER_IS_GNUCC 1)
@@ -1,4 +1,4 @@
set(CMAKE_CXX_COMPILER "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-g++")
set(CMAKE_CXX_COMPILER "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-g++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "12.3.1")
@@ -22,11 +22,11 @@ set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-ar")
set(CMAKE_CXX_COMPILER_AR "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ar")
set(CMAKE_RANLIB "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ranlib")
set(CMAKE_LINKER "/opt/st/stm32cubeclt_1.17.0/GNU-tools-for-STM32/bin/arm-none-eabi-g++")
set(CMAKE_AR "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-ar")
set(CMAKE_CXX_COMPILER_AR "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ar")
set(CMAKE_RANLIB "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-gcc-ranlib")
set(CMAKE_LINKER "/opt/st/stm32cubeclt_1.17.0_2/GNU-tools-for-STM32/bin/arm-none-eabi-g++")
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
set(CMAKE_COMPILER_IS_GNUCXX 1)
@@ -1,9 +1,9 @@
set(CMAKE_HOST_SYSTEM "Linux-6.13.8-arch1-1")
set(CMAKE_HOST_SYSTEM "Linux-6.14.5-arch1-1")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "6.13.8-arch1-1")
set(CMAKE_HOST_SYSTEM_VERSION "6.14.5-arch1-1")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
include("/home/eduard/repos/LightTAM_RFID_Reader/cmake/gcc-arm-none-eabi.cmake")
include("/home/eduard/Repos/LightTAM_RFID_Reader/cmake/gcc-arm-none-eabi.cmake")
set(CMAKE_SYSTEM "Generic")
set(CMAKE_SYSTEM_NAME "Generic")