From e8934e405a4c66a1d4bf9de4c291f00e4265bbe4 Mon Sep 17 00:00:00 2001 From: Russ Butler Date: Mon, 19 Mar 2018 22:03:32 -0500 Subject: [PATCH] Move USBPhy and related files to USB directory Move the USBPhy header files into usb/device/USBPhy. Also move hal and target USB files since mbed 2 does not compile when these files are present without the USBPhy headers. Directory restructure summary: platform/USBPhy* to usb/device/USBPhy/USBPhy* hal/* to usb/device/hal/* targets/TARGET_Freescale/usb/* to usb/device/targets/TARGET_Freescale/* targets/TARGET_NXP/TARGET_LPC176X/usb/* to usb/device/targets/TARGET_NXP/* --- {platform => usb/device/USBPhy}/USBPhy.h | 0 {platform => usb/device/USBPhy}/USBPhyEvents.h | 0 {platform => usb/device/USBPhy}/USBPhyTypes.h | 0 {hal => usb/device/hal}/mbed_usb_phy.cpp | 0 {hal => usb/device/hal}/usb_phy_api.h | 0 .../device/targets/TARGET_Freescale}/USBEndpoints_Kinetis.h | 0 .../usb => usb/device/targets/TARGET_Freescale}/USBPhyHw.h | 0 .../device/targets/TARGET_Freescale}/USBPhy_Kinetis.cpp | 0 .../device/targets/TARGET_NXP}/USBEndpoints_LPC17_LPC23.h | 0 .../usb => usb/device/targets/TARGET_NXP}/USBHAL_LPC17.cpp | 0 .../usb => usb/device/targets/TARGET_NXP}/USBPhyHw.h | 0 11 files changed, 0 insertions(+), 0 deletions(-) rename {platform => usb/device/USBPhy}/USBPhy.h (100%) rename {platform => usb/device/USBPhy}/USBPhyEvents.h (100%) rename {platform => usb/device/USBPhy}/USBPhyTypes.h (100%) rename {hal => usb/device/hal}/mbed_usb_phy.cpp (100%) rename {hal => usb/device/hal}/usb_phy_api.h (100%) rename {targets/TARGET_Freescale/usb => usb/device/targets/TARGET_Freescale}/USBEndpoints_Kinetis.h (100%) rename {targets/TARGET_Freescale/usb => usb/device/targets/TARGET_Freescale}/USBPhyHw.h (100%) rename {targets/TARGET_Freescale/usb => usb/device/targets/TARGET_Freescale}/USBPhy_Kinetis.cpp (100%) rename {targets/TARGET_NXP/TARGET_LPC176X/usb => usb/device/targets/TARGET_NXP}/USBEndpoints_LPC17_LPC23.h (100%) rename {targets/TARGET_NXP/TARGET_LPC176X/usb => usb/device/targets/TARGET_NXP}/USBHAL_LPC17.cpp (100%) rename {targets/TARGET_NXP/TARGET_LPC176X/usb => usb/device/targets/TARGET_NXP}/USBPhyHw.h (100%) diff --git a/platform/USBPhy.h b/usb/device/USBPhy/USBPhy.h similarity index 100% rename from platform/USBPhy.h rename to usb/device/USBPhy/USBPhy.h diff --git a/platform/USBPhyEvents.h b/usb/device/USBPhy/USBPhyEvents.h similarity index 100% rename from platform/USBPhyEvents.h rename to usb/device/USBPhy/USBPhyEvents.h diff --git a/platform/USBPhyTypes.h b/usb/device/USBPhy/USBPhyTypes.h similarity index 100% rename from platform/USBPhyTypes.h rename to usb/device/USBPhy/USBPhyTypes.h diff --git a/hal/mbed_usb_phy.cpp b/usb/device/hal/mbed_usb_phy.cpp similarity index 100% rename from hal/mbed_usb_phy.cpp rename to usb/device/hal/mbed_usb_phy.cpp diff --git a/hal/usb_phy_api.h b/usb/device/hal/usb_phy_api.h similarity index 100% rename from hal/usb_phy_api.h rename to usb/device/hal/usb_phy_api.h diff --git a/targets/TARGET_Freescale/usb/USBEndpoints_Kinetis.h b/usb/device/targets/TARGET_Freescale/USBEndpoints_Kinetis.h similarity index 100% rename from targets/TARGET_Freescale/usb/USBEndpoints_Kinetis.h rename to usb/device/targets/TARGET_Freescale/USBEndpoints_Kinetis.h diff --git a/targets/TARGET_Freescale/usb/USBPhyHw.h b/usb/device/targets/TARGET_Freescale/USBPhyHw.h similarity index 100% rename from targets/TARGET_Freescale/usb/USBPhyHw.h rename to usb/device/targets/TARGET_Freescale/USBPhyHw.h diff --git a/targets/TARGET_Freescale/usb/USBPhy_Kinetis.cpp b/usb/device/targets/TARGET_Freescale/USBPhy_Kinetis.cpp similarity index 100% rename from targets/TARGET_Freescale/usb/USBPhy_Kinetis.cpp rename to usb/device/targets/TARGET_Freescale/USBPhy_Kinetis.cpp diff --git a/targets/TARGET_NXP/TARGET_LPC176X/usb/USBEndpoints_LPC17_LPC23.h b/usb/device/targets/TARGET_NXP/USBEndpoints_LPC17_LPC23.h similarity index 100% rename from targets/TARGET_NXP/TARGET_LPC176X/usb/USBEndpoints_LPC17_LPC23.h rename to usb/device/targets/TARGET_NXP/USBEndpoints_LPC17_LPC23.h diff --git a/targets/TARGET_NXP/TARGET_LPC176X/usb/USBHAL_LPC17.cpp b/usb/device/targets/TARGET_NXP/USBHAL_LPC17.cpp similarity index 100% rename from targets/TARGET_NXP/TARGET_LPC176X/usb/USBHAL_LPC17.cpp rename to usb/device/targets/TARGET_NXP/USBHAL_LPC17.cpp diff --git a/targets/TARGET_NXP/TARGET_LPC176X/usb/USBPhyHw.h b/usb/device/targets/TARGET_NXP/USBPhyHw.h similarity index 100% rename from targets/TARGET_NXP/TARGET_LPC176X/usb/USBPhyHw.h rename to usb/device/targets/TARGET_NXP/USBPhyHw.h