From d0915a13129172aa2d1b9a1c6600b4a09804f5e8 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Sun, 21 Aug 2022 15:22:11 +0100 Subject: [PATCH] usbuart: Removed the STM32 version of usbuart.c now it's not required --- src/platforms/96b_carbon/Makefile.inc | 1 - src/platforms/blackpillv2/Makefile.inc | 1 - src/platforms/f072/Makefile.inc | 1 - src/platforms/f3/Makefile.inc | 1 - src/platforms/f4discovery/Makefile.inc | 1 - src/platforms/hydrabus/Makefile.inc | 1 - src/platforms/native/Makefile.inc | 1 - src/platforms/stlink/Makefile.inc | 1 - src/platforms/stm32/usbuart.c | 33 -------------------------- src/platforms/swlink/Makefile.inc | 1 - 10 files changed, 42 deletions(-) delete mode 100644 src/platforms/stm32/usbuart.c diff --git a/src/platforms/96b_carbon/Makefile.inc b/src/platforms/96b_carbon/Makefile.inc index cdc5119..ed8943f 100644 --- a/src/platforms/96b_carbon/Makefile.inc +++ b/src/platforms/96b_carbon/Makefile.inc @@ -18,7 +18,6 @@ VPATH += platforms/stm32 SRC += \ traceswodecode.c \ traceswo.c \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c diff --git a/src/platforms/blackpillv2/Makefile.inc b/src/platforms/blackpillv2/Makefile.inc index 1008c6f..2a52a82 100644 --- a/src/platforms/blackpillv2/Makefile.inc +++ b/src/platforms/blackpillv2/Makefile.inc @@ -30,7 +30,6 @@ VPATH += platforms/stm32 SRC += \ traceswodecode.c \ traceswo.c \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c \ diff --git a/src/platforms/f072/Makefile.inc b/src/platforms/f072/Makefile.inc index 045c44b..69e1594 100644 --- a/src/platforms/f072/Makefile.inc +++ b/src/platforms/f072/Makefile.inc @@ -16,7 +16,6 @@ VPATH += platforms/stm32 SRC += \ traceswodecode.c \ traceswo.c \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c \ diff --git a/src/platforms/f3/Makefile.inc b/src/platforms/f3/Makefile.inc index f05e3a1..a54ddb0 100644 --- a/src/platforms/f3/Makefile.inc +++ b/src/platforms/f3/Makefile.inc @@ -18,7 +18,6 @@ VPATH += platforms/stm32 SRC += \ traceswodecode.c \ traceswo.c \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c \ diff --git a/src/platforms/f4discovery/Makefile.inc b/src/platforms/f4discovery/Makefile.inc index 8c84ad1..98197f2 100644 --- a/src/platforms/f4discovery/Makefile.inc +++ b/src/platforms/f4discovery/Makefile.inc @@ -30,7 +30,6 @@ VPATH += platforms/stm32 SRC += \ traceswodecode.c \ traceswo.c \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c \ diff --git a/src/platforms/hydrabus/Makefile.inc b/src/platforms/hydrabus/Makefile.inc index 0e87941..b4a0ada 100644 --- a/src/platforms/hydrabus/Makefile.inc +++ b/src/platforms/hydrabus/Makefile.inc @@ -18,7 +18,6 @@ VPATH += platforms/stm32 SRC += \ traceswodecode.c \ traceswo.c \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c \ diff --git a/src/platforms/native/Makefile.inc b/src/platforms/native/Makefile.inc index dc9c297..a0ed3a6 100644 --- a/src/platforms/native/Makefile.inc +++ b/src/platforms/native/Makefile.inc @@ -23,7 +23,6 @@ VPATH += platforms/stm32 SRC += \ traceswodecode.c \ traceswo.c \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c \ diff --git a/src/platforms/stlink/Makefile.inc b/src/platforms/stlink/Makefile.inc index 6a15e6c..714f574 100644 --- a/src/platforms/stlink/Makefile.inc +++ b/src/platforms/stlink/Makefile.inc @@ -32,7 +32,6 @@ endif VPATH += platforms/stm32 SRC += \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c \ diff --git a/src/platforms/stm32/usbuart.c b/src/platforms/stm32/usbuart.c deleted file mode 100644 index 7560ca7..0000000 --- a/src/platforms/stm32/usbuart.c +++ /dev/null @@ -1,33 +0,0 @@ -/* - * This file is part of the Black Magic Debug project. - * - * Copyright (C) 2012 Black Sphere Technologies Ltd. - * Written by Gareth McMullin - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "general.h" -#include "usbuart.h" -#include "usb.h" -#include "aux_serial.h" diff --git a/src/platforms/swlink/Makefile.inc b/src/platforms/swlink/Makefile.inc index e76720b..779bd92 100644 --- a/src/platforms/swlink/Makefile.inc +++ b/src/platforms/swlink/Makefile.inc @@ -20,7 +20,6 @@ endif VPATH += platforms/stm32 SRC += \ - usbuart.c \ serialno.c \ timing.c \ timing_stm32.c \