From 453d9ee96c96f126181c08f609dc4024c331029f Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Mon, 26 Jun 2017 14:55:29 -0500 Subject: [PATCH] Deduplicate USBHAL_STM_TARGET.h --- .../USBHAL_STM_TARGET.h | 18 ------------------ .../USBHAL_STM32L072CZ.h | 0 .../USBDevice/TARGET_STM/USBHAL_STM_TARGET.h | 3 +++ 3 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 features/unsupported/USBDevice/USBDevice/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1/USBHAL_STM_TARGET.h rename features/unsupported/USBDevice/USBDevice/TARGET_STM/{TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1 => }/USBHAL_STM32L072CZ.h (100%) diff --git a/features/unsupported/USBDevice/USBDevice/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1/USBHAL_STM_TARGET.h b/features/unsupported/USBDevice/USBDevice/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1/USBHAL_STM_TARGET.h deleted file mode 100644 index f2fe65dce6..0000000000 --- a/features/unsupported/USBDevice/USBDevice/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1/USBHAL_STM_TARGET.h +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright (c) 2016 mbed.org, MIT License -* -* Permission is hereby granted, free of charge, to any person obtaining a copy of this software -* and associated documentation files (the "Software"), to deal in the Software without -* restriction, including without limitation the rights to use, copy, modify, merge, publish, -* distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the -* Software is furnished to do so, subject to the following conditions: -* -* The above copyright notice and this permission notice shall be included in all copies or -* substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING -* BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ -#include "USBHAL_STM32L072CZ.h" diff --git a/features/unsupported/USBDevice/USBDevice/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1/USBHAL_STM32L072CZ.h b/features/unsupported/USBDevice/USBDevice/TARGET_STM/USBHAL_STM32L072CZ.h similarity index 100% rename from features/unsupported/USBDevice/USBDevice/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L072CZ_LRWAN1/USBHAL_STM32L072CZ.h rename to features/unsupported/USBDevice/USBDevice/TARGET_STM/USBHAL_STM32L072CZ.h diff --git a/features/unsupported/USBDevice/USBDevice/TARGET_STM/USBHAL_STM_TARGET.h b/features/unsupported/USBDevice/USBDevice/TARGET_STM/USBHAL_STM_TARGET.h index b93dac9d94..e403a66b27 100644 --- a/features/unsupported/USBDevice/USBDevice/TARGET_STM/USBHAL_STM_TARGET.h +++ b/features/unsupported/USBDevice/USBDevice/TARGET_STM/USBHAL_STM_TARGET.h @@ -31,6 +31,9 @@ #elif defined(TARGET_DISCO_L053C8) #include "USBHAL_STM32L053C8.h" +#elif defined(TARGET_DISCO_L072CZ_LRWAN1) +#include "USBHAL_STM32L072CZ.h" + #else /* default configuration */ #include "USBHAL_STM_144_64pins.h"