From 00244022c968f1e375e4ea2cb357f0cce593a870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=A4berich?= Date: Thu, 17 Sep 2020 09:53:52 +0200 Subject: [PATCH] Refactoring, better code encapsulation for different operating modes --- Software/VNA_embedded/.cproject | 6 +- Software/VNA_embedded/Application/App.cpp | 85 +-- .../Application/Communication/Protocol.hpp | 8 + .../VNA_embedded/Application/Generator.cpp | 83 +++ .../VNA_embedded/Application/Generator.hpp | 10 + Software/VNA_embedded/Application/HW_HAL.cpp | 5 + .../Application/{VNA_HAL.hpp => HW_HAL.hpp} | 8 +- .../VNA_embedded/Application/Hardware.cpp | 293 ++++++++++ .../VNA_embedded/Application/Hardware.hpp | 28 + Software/VNA_embedded/Application/Manual.cpp | 128 +++++ Software/VNA_embedded/Application/Manual.hpp | 13 + Software/VNA_embedded/Application/VNA.cpp | 533 ++++-------------- Software/VNA_embedded/Application/VNA.hpp | 20 +- 13 files changed, 701 insertions(+), 519 deletions(-) create mode 100644 Software/VNA_embedded/Application/Generator.cpp create mode 100644 Software/VNA_embedded/Application/Generator.hpp create mode 100644 Software/VNA_embedded/Application/HW_HAL.cpp rename Software/VNA_embedded/Application/{VNA_HAL.hpp => HW_HAL.hpp} (53%) create mode 100644 Software/VNA_embedded/Application/Hardware.cpp create mode 100644 Software/VNA_embedded/Application/Hardware.hpp create mode 100644 Software/VNA_embedded/Application/Manual.cpp create mode 100644 Software/VNA_embedded/Application/Manual.hpp diff --git a/Software/VNA_embedded/.cproject b/Software/VNA_embedded/.cproject index 9bbe132..4dacaaa 100644 --- a/Software/VNA_embedded/.cproject +++ b/Software/VNA_embedded/.cproject @@ -29,7 +29,7 @@ - + @@ -185,6 +185,10 @@