From 30ae552211e14ea0fb9b01f0cd4520585e452dcc Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 8 Aug 2021 13:59:22 +0100 Subject: [PATCH] Removed obsolete class and tidied CMakeLists file --- CMakeLists.txt | 37 +++++++++++++------- src/Targets/Microchip/AVR/AVR8/Mega/Mega.cpp | 7 ---- 2 files changed, 25 insertions(+), 19 deletions(-) delete mode 100644 src/Targets/Microchip/AVR/AVR8/Mega/Mega.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 7894aff7..101ae814 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,23 +54,29 @@ if (${CMAKE_BUILD_TYPE} STREQUAL "Debug") endif() add_executable(Bloom - src/Generated/resources.cpp - src/main.cpp src/Application.cpp - src/TargetController/TargetController.cpp - src/DebugServers/DebugServer.cpp - src/Insight/Insight.cpp - src/Insight/InsightWorker.cpp - src/SignalHandler/SignalHandler.cpp - src/EventManager/EventListener.cpp - src/EventManager/EventManager.cpp - src/ApplicationConfig.cpp - src/TargetController/TargetControllerConsole.cpp + # Helpers & other src/Logger/Logger.cpp src/Helpers/Paths.cpp + src/Generated/resources.cpp + # Project & application configuration + src/ApplicationConfig.cpp + + # Events + src/EventManager/EventListener.cpp + src/EventManager/EventManager.cpp + + # Signal handler + src/SignalHandler/SignalHandler.cpp + + # Target controller + src/TargetController/TargetController.cpp + src/TargetController/TargetControllerConsole.cpp + + # Debug tool drivers src/DebugToolDrivers/USB/UsbDevice.cpp src/DebugToolDrivers/USB/Interface.cpp src/DebugToolDrivers/USB/HID/HidInterface.cpp @@ -89,12 +95,14 @@ add_executable(Bloom src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/EdbgInterface.cpp src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/EdbgAvr8Interface.cpp + # Targets src/Targets/TargetDescription/TargetDescriptionFile.cpp src/Targets/Microchip/AVR/AVR8/Avr8.cpp - src/Targets/Microchip/AVR/AVR8/Mega/Mega.cpp src/Targets/Microchip/AVR/AVR8/TargetDescription/TargetDescriptionFile.cpp build/resources/TargetDescriptionFiles/AVR/Mapping.json + # Debug servers + src/DebugServers/DebugServer.cpp src/DebugServers/GdbRsp/GdbRspDebugServer.cpp src/DebugServers/GdbRsp/AvrGdbRsp/AvrGdbRsp.cpp src/DebugServers/GdbRsp/Connection.cpp @@ -112,8 +120,13 @@ add_executable(Bloom src/DebugServers/GdbRsp/CommandPackets/RemoveBreakpoint.cpp src/DebugServers/GdbRsp/ResponsePackets/SupportedFeaturesResponse.cpp + # Insight + src/Insight/Insight.cpp + src/Insight/InsightWorker.cpp src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp src/Insight/UserInterfaces/InsightWindow/AboutWindow.cpp + + # Target package widgets src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/TargetPackageWidget.hpp src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/TargetPinWidget.hpp src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/TargetPinBodyWidget.cpp diff --git a/src/Targets/Microchip/AVR/AVR8/Mega/Mega.cpp b/src/Targets/Microchip/AVR/AVR8/Mega/Mega.cpp deleted file mode 100644 index 35124a27..00000000 --- a/src/Targets/Microchip/AVR/AVR8/Mega/Mega.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include -#include - -#include "Mega.hpp" -#include "src/Logger/Logger.hpp" - -using namespace Bloom::Targets::Microchip::Avr::Avr8Bit;