From 4f1f97ab54f0ec2a3967916fbd24b501828145ad Mon Sep 17 00:00:00 2001
From: Alberto Nidasio <alberto.nidasio@skywarder.eu>
Date: Tue, 11 Oct 2022 17:17:10 +0100
Subject: [PATCH] [Cmake] Updated entrypoints

---
 .vscode/settings.json | 3 ++-
 CMakeLists.txt        | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.vscode/settings.json b/.vscode/settings.json
index 9dc44c462..58ff402a7 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -166,6 +166,7 @@
         "telecommands",
         "TMTC",
         "tparam",
+        "Ublox",
         "UBXGPS",
         "usart",
         "VREF",
@@ -176,4 +177,4 @@
         "CMAKE_C_COMPILER_LAUNCHER": "ccache",
         "CMAKE_CXX_COMPILER_LAUNCHER": "ccache"
     }
-}
+}
\ No newline at end of file
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a69738be5..c0b92b26c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,7 @@ sbs_target(auxiliary-entry stm32f429zi_skyward_pyxis_auxiliary)
 
 add_executable(main-entry-euroc src/entrypoints/Main/main-entry.cpp ${MAIN_COMPUTER})
 target_include_directories(main-entry-euroc PRIVATE ${OBSW_INCLUDE_DIRS})
-target_compile_definitions(main-entry-euroc PRIVATE EUROC BUZZER_LOW INTERP USE_SERIAL_TRANSCEIVER)
+target_compile_definitions(main-entry-euroc PRIVATE EUROC BUZZER_LOW INTERP)
 sbs_target(main-entry-euroc stm32f429zi_skyward_death_stack_v3)
 
 add_executable(main-entry-roccaraso src/entrypoints/Main/main-entry.cpp ${MAIN_COMPUTER})
@@ -54,17 +54,17 @@ sbs_target(main-entry-milano stm32f429zi_skyward_death_stack_v3)
 
 add_executable(main-entry-hil-euroc src/entrypoints/Main/main-entry.cpp ${MAIN_COMPUTER} ${HIL})
 target_include_directories(main-entry-hil-euroc PRIVATE ${OBSW_INCLUDE_DIRS})
-target_compile_definitions(main-entry-hil-euroc PRIVATE HILSimulation EUROC BUZZER_LOW INTERP USE_SERIAL_TRANSCEIVER)
+target_compile_definitions(main-entry-hil-euroc PRIVATE EUROC BUZZER_LOW INTERP HILSimulation)
 sbs_target(main-entry-hil-euroc stm32f429zi_skyward_death_stack_v3)
 
 add_executable(main-entry-hil-roccaraso src/entrypoints/Main/main-entry.cpp ${MAIN_COMPUTER} ${HIL})
 target_include_directories(main-entry-hil-roccaraso PRIVATE ${OBSW_INCLUDE_DIRS})
-target_compile_definitions(main-entry-hil-roccaraso PRIVATE HILSimulation ROCCARASO BUZZER_LOW)
+target_compile_definitions(main-entry-hil-roccaraso PRIVATE ROCCARASO BUZZER_LOW INTERP HILSimulation)
 sbs_target(main-entry-hil-roccaraso stm32f429zi_skyward_death_stack_v3)
 
 add_executable(main-entry-hil-milano src/entrypoints/Main/main-entry.cpp ${MAIN_COMPUTER} ${HIL})
 target_include_directories(main-entry-hil-milano PRIVATE ${OBSW_INCLUDE_DIRS})
-target_compile_definitions(main-entry-hil-milano PRIVATE HILSimulation MILANO BUZZER_LOW)
+target_compile_definitions(main-entry-hil-milano PRIVATE MILANO BUZZER_LOW INTERP HILSimulation)
 sbs_target(main-entry-hil-milano stm32f429zi_skyward_death_stack_v3)
 
 add_executable(main-entry-hil-maker-faire src/entrypoints/Main/main-entry-maker-faire.cpp ${MAIN_COMPUTER} ${HIL})
-- 
GitLab