diff --git a/CONTRIBUTING.md b/.github/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to .github/CONTRIBUTING.md diff --git a/.github/issue_template.md b/.github/issue_template.md new file mode 100644 index 00000000000..2ad01c9f60f --- /dev/null +++ b/.github/issue_template.md @@ -0,0 +1,9 @@ +### Description +- Type: +- Related Issue: <#abc> +- Priority: + +--------------------------------------------------------------- +## Details + + diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000000..555f097c732 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,15 @@ +## Status +**** + +## Migrations + +Steps: + +## Description + + + +## Todos +- [ ] Tests +- [ ] Reviews +- [ ] Documentation diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 346f3498019..00000000000 --- a/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -graft tools -recursive-exclude tools *.pyc -include LICENSE diff --git a/hal/common/AnalogIn.cpp b/drivers/AnalogIn.cpp similarity index 96% rename from hal/common/AnalogIn.cpp rename to drivers/AnalogIn.cpp index 96343362ed0..43c54c807db 100644 --- a/hal/common/AnalogIn.cpp +++ b/drivers/AnalogIn.cpp @@ -14,9 +14,8 @@ * limitations under the License. */ -#include "mbed.h" - #include "AnalogIn.h" +#include "SingletonPtr.h" #if DEVICE_ANALOGIN diff --git a/hal/api/AnalogIn.h b/drivers/AnalogIn.h similarity index 99% rename from hal/api/AnalogIn.h rename to drivers/AnalogIn.h index cee9832211b..b2c270fba2f 100644 --- a/hal/api/AnalogIn.h +++ b/drivers/AnalogIn.h @@ -16,7 +16,7 @@ #ifndef MBED_ANALOGIN_H #define MBED_ANALOGIN_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_ANALOGIN diff --git a/hal/api/AnalogOut.h b/drivers/AnalogOut.h similarity index 99% rename from hal/api/AnalogOut.h rename to drivers/AnalogOut.h index d06b896adc6..67bb2b3db64 100644 --- a/hal/api/AnalogOut.h +++ b/drivers/AnalogOut.h @@ -16,7 +16,7 @@ #ifndef MBED_ANALOGOUT_H #define MBED_ANALOGOUT_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_ANALOGOUT diff --git a/hal/common/BusIn.cpp b/drivers/BusIn.cpp similarity index 100% rename from hal/common/BusIn.cpp rename to drivers/BusIn.cpp diff --git a/hal/api/BusIn.h b/drivers/BusIn.h similarity index 99% rename from hal/api/BusIn.h rename to drivers/BusIn.h index cb31cf3b5c5..91a8a81ccab 100644 --- a/hal/api/BusIn.h +++ b/drivers/BusIn.h @@ -16,7 +16,7 @@ #ifndef MBED_BUSIN_H #define MBED_BUSIN_H -#include "platform.h" +#include "PlatformMutex.h" #include "DigitalIn.h" #include "PlatformMutex.h" diff --git a/hal/common/BusInOut.cpp b/drivers/BusInOut.cpp similarity index 100% rename from hal/common/BusInOut.cpp rename to drivers/BusInOut.cpp diff --git a/hal/api/BusInOut.h b/drivers/BusInOut.h similarity index 100% rename from hal/api/BusInOut.h rename to drivers/BusInOut.h diff --git a/hal/common/BusOut.cpp b/drivers/BusOut.cpp similarity index 100% rename from hal/common/BusOut.cpp rename to drivers/BusOut.cpp diff --git a/hal/api/BusOut.h b/drivers/BusOut.h similarity index 100% rename from hal/api/BusOut.h rename to drivers/BusOut.h diff --git a/hal/common/CAN.cpp b/drivers/CAN.cpp similarity index 100% rename from hal/common/CAN.cpp rename to drivers/CAN.cpp diff --git a/hal/api/CAN.h b/drivers/CAN.h similarity index 99% rename from hal/api/CAN.h rename to drivers/CAN.h index a96c2b86b96..e6eb40ad421 100644 --- a/hal/api/CAN.h +++ b/drivers/CAN.h @@ -16,7 +16,7 @@ #ifndef MBED_CAN_H #define MBED_CAN_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_CAN diff --git a/hal/api/CircularBuffer.h b/drivers/CircularBuffer.h similarity index 100% rename from hal/api/CircularBuffer.h rename to drivers/CircularBuffer.h diff --git a/hal/api/DigitalIn.h b/drivers/DigitalIn.h similarity index 99% rename from hal/api/DigitalIn.h rename to drivers/DigitalIn.h index 6797a71822b..cc47911604c 100644 --- a/hal/api/DigitalIn.h +++ b/drivers/DigitalIn.h @@ -16,7 +16,7 @@ #ifndef MBED_DIGITALIN_H #define MBED_DIGITALIN_H -#include "platform.h" +#include "PlatformMutex.h" #include "gpio_api.h" #include "critical.h" diff --git a/hal/api/DigitalInOut.h b/drivers/DigitalInOut.h similarity index 99% rename from hal/api/DigitalInOut.h rename to drivers/DigitalInOut.h index 8afb2bf210b..d032f13f2d3 100644 --- a/hal/api/DigitalInOut.h +++ b/drivers/DigitalInOut.h @@ -16,7 +16,7 @@ #ifndef MBED_DIGITALINOUT_H #define MBED_DIGITALINOUT_H -#include "platform.h" +#include "PlatformMutex.h" #include "gpio_api.h" #include "critical.h" diff --git a/hal/api/DigitalOut.h b/drivers/DigitalOut.h similarity index 99% rename from hal/api/DigitalOut.h rename to drivers/DigitalOut.h index e8e31a34ff6..e19e839d290 100644 --- a/hal/api/DigitalOut.h +++ b/drivers/DigitalOut.h @@ -16,7 +16,7 @@ #ifndef MBED_DIGITALOUT_H #define MBED_DIGITALOUT_H -#include "platform.h" +#include "PlatformMutex.h" #include "gpio_api.h" #include "critical.h" diff --git a/hal/api/DirHandle.h b/drivers/DirHandle.h similarity index 100% rename from hal/api/DirHandle.h rename to drivers/DirHandle.h diff --git a/hal/common/Ethernet.cpp b/drivers/Ethernet.cpp similarity index 100% rename from hal/common/Ethernet.cpp rename to drivers/Ethernet.cpp diff --git a/hal/api/Ethernet.h b/drivers/Ethernet.h similarity index 99% rename from hal/api/Ethernet.h rename to drivers/Ethernet.h index d4d0ee1d8c3..d43ddbb8096 100644 --- a/hal/api/Ethernet.h +++ b/drivers/Ethernet.h @@ -16,7 +16,7 @@ #ifndef MBED_ETHERNET_H #define MBED_ETHERNET_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_ETHERNET diff --git a/hal/common/FileBase.cpp b/drivers/FileBase.cpp similarity index 100% rename from hal/common/FileBase.cpp rename to drivers/FileBase.cpp diff --git a/hal/api/FileBase.h b/drivers/FileBase.h similarity index 96% rename from hal/api/FileBase.h rename to drivers/FileBase.h index 12679a15ab0..d6868fd3c7b 100644 --- a/hal/api/FileBase.h +++ b/drivers/FileBase.h @@ -40,9 +40,7 @@ typedef long off_t; # include #endif -#include "platform.h" -#include "SingletonPtr.h" -#include "PlatformMutex.h" +#include "mbed_platform.h" namespace mbed { diff --git a/hal/api/FileHandle.h b/drivers/FileHandle.h similarity index 100% rename from hal/api/FileHandle.h rename to drivers/FileHandle.h diff --git a/hal/common/FileLike.cpp b/drivers/FileLike.cpp similarity index 100% rename from hal/common/FileLike.cpp rename to drivers/FileLike.cpp diff --git a/hal/api/FileLike.h b/drivers/FileLike.h similarity index 100% rename from hal/api/FileLike.h rename to drivers/FileLike.h diff --git a/hal/common/FilePath.cpp b/drivers/FilePath.cpp similarity index 100% rename from hal/common/FilePath.cpp rename to drivers/FilePath.cpp diff --git a/hal/api/FilePath.h b/drivers/FilePath.h similarity index 97% rename from hal/api/FilePath.h rename to drivers/FilePath.h index 3de1205048a..db13e1dfd0e 100644 --- a/hal/api/FilePath.h +++ b/drivers/FilePath.h @@ -16,7 +16,7 @@ #ifndef MBED_FILEPATH_H #define MBED_FILEPATH_H -#include "platform.h" +#include "PlatformMutex.h" #include "FileSystemLike.h" #include "FileLike.h" diff --git a/hal/common/FileSystemLike.cpp b/drivers/FileSystemLike.cpp similarity index 100% rename from hal/common/FileSystemLike.cpp rename to drivers/FileSystemLike.cpp diff --git a/hal/api/FileSystemLike.h b/drivers/FileSystemLike.h similarity index 99% rename from hal/api/FileSystemLike.h rename to drivers/FileSystemLike.h index c9add10d98b..f6ebf4ac265 100644 --- a/hal/api/FileSystemLike.h +++ b/drivers/FileSystemLike.h @@ -16,7 +16,7 @@ #ifndef MBED_FILESYSTEMLIKE_H #define MBED_FILESYSTEMLIKE_H -#include "platform.h" +#include "PlatformMutex.h" #include "FileBase.h" #include "FileHandle.h" diff --git a/hal/common/I2C.cpp b/drivers/I2C.cpp similarity index 100% rename from hal/common/I2C.cpp rename to drivers/I2C.cpp diff --git a/hal/api/I2C.h b/drivers/I2C.h similarity index 99% rename from hal/api/I2C.h rename to drivers/I2C.h index 3fd013939fd..7dc1a8972b3 100644 --- a/hal/api/I2C.h +++ b/drivers/I2C.h @@ -16,7 +16,7 @@ #ifndef MBED_I2C_H #define MBED_I2C_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_I2C diff --git a/hal/common/I2CSlave.cpp b/drivers/I2CSlave.cpp similarity index 100% rename from hal/common/I2CSlave.cpp rename to drivers/I2CSlave.cpp diff --git a/hal/api/I2CSlave.h b/drivers/I2CSlave.h similarity index 99% rename from hal/api/I2CSlave.h rename to drivers/I2CSlave.h index 511998a120e..02cda926f82 100644 --- a/hal/api/I2CSlave.h +++ b/drivers/I2CSlave.h @@ -16,7 +16,7 @@ #ifndef MBED_I2C_SLAVE_H #define MBED_I2C_SLAVE_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_I2CSLAVE diff --git a/hal/common/InterruptIn.cpp b/drivers/InterruptIn.cpp similarity index 100% rename from hal/common/InterruptIn.cpp rename to drivers/InterruptIn.cpp diff --git a/hal/api/InterruptIn.h b/drivers/InterruptIn.h similarity index 99% rename from hal/api/InterruptIn.h rename to drivers/InterruptIn.h index 3758ab5ca34..8331cf78627 100644 --- a/hal/api/InterruptIn.h +++ b/drivers/InterruptIn.h @@ -16,7 +16,7 @@ #ifndef MBED_INTERRUPTIN_H #define MBED_INTERRUPTIN_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_INTERRUPTIN diff --git a/hal/common/InterruptManager.cpp b/drivers/InterruptManager.cpp similarity index 100% rename from hal/common/InterruptManager.cpp rename to drivers/InterruptManager.cpp diff --git a/hal/api/InterruptManager.h b/drivers/InterruptManager.h similarity index 100% rename from hal/api/InterruptManager.h rename to drivers/InterruptManager.h diff --git a/hal/common/LocalFileSystem.cpp b/drivers/LocalFileSystem.cpp similarity index 100% rename from hal/common/LocalFileSystem.cpp rename to drivers/LocalFileSystem.cpp diff --git a/hal/api/LocalFileSystem.h b/drivers/LocalFileSystem.h similarity index 99% rename from hal/api/LocalFileSystem.h rename to drivers/LocalFileSystem.h index df518a0b1da..551c46e50f0 100644 --- a/hal/api/LocalFileSystem.h +++ b/drivers/LocalFileSystem.h @@ -16,7 +16,7 @@ #ifndef MBED_LOCALFILESYSTEM_H #define MBED_LOCALFILESYSTEM_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_LOCALFILESYSTEM diff --git a/hal/api/LowPowerTicker.h b/drivers/LowPowerTicker.h similarity index 97% rename from hal/api/LowPowerTicker.h rename to drivers/LowPowerTicker.h index 70803acdfcb..43fb4d3f263 100644 --- a/hal/api/LowPowerTicker.h +++ b/drivers/LowPowerTicker.h @@ -16,7 +16,7 @@ #ifndef MBED_LOWPOWERTICKER_H #define MBED_LOWPOWERTICKER_H -#include "platform.h" +#include "PlatformMutex.h" #include "Ticker.h" #if DEVICE_LOWPOWERTIMER diff --git a/hal/api/LowPowerTimeout.h b/drivers/LowPowerTimeout.h similarity index 97% rename from hal/api/LowPowerTimeout.h rename to drivers/LowPowerTimeout.h index 8cbff2b5d5a..f6fb3519d49 100644 --- a/hal/api/LowPowerTimeout.h +++ b/drivers/LowPowerTimeout.h @@ -16,7 +16,7 @@ #ifndef MBED_LOWPOWERTIMEOUT_H #define MBED_LOWPOWERTIMEOUT_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_LOWPOWERTIMER diff --git a/hal/api/LowPowerTimer.h b/drivers/LowPowerTimer.h similarity index 97% rename from hal/api/LowPowerTimer.h rename to drivers/LowPowerTimer.h index c372f3671ab..e18314a192e 100644 --- a/hal/api/LowPowerTimer.h +++ b/drivers/LowPowerTimer.h @@ -16,7 +16,7 @@ #ifndef MBED_LOWPOWERTIMER_H #define MBED_LOWPOWERTIMER_H -#include "platform.h" +#include "PlatformMutex.h" #include "Timer.h" #if DEVICE_LOWPOWERTIMER diff --git a/hal/api/PortIn.h b/drivers/PortIn.h similarity index 98% rename from hal/api/PortIn.h rename to drivers/PortIn.h index c0cf85b1e33..e7009e0c2fe 100644 --- a/hal/api/PortIn.h +++ b/drivers/PortIn.h @@ -16,7 +16,7 @@ #ifndef MBED_PORTIN_H #define MBED_PORTIN_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_PORTIN diff --git a/hal/api/PortInOut.h b/drivers/PortInOut.h similarity index 99% rename from hal/api/PortInOut.h rename to drivers/PortInOut.h index 123f36174f7..79e26fadc4a 100644 --- a/hal/api/PortInOut.h +++ b/drivers/PortInOut.h @@ -16,7 +16,7 @@ #ifndef MBED_PORTINOUT_H #define MBED_PORTINOUT_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_PORTINOUT diff --git a/hal/api/PortOut.h b/drivers/PortOut.h similarity index 98% rename from hal/api/PortOut.h rename to drivers/PortOut.h index 46689df3316..56f84043e56 100644 --- a/hal/api/PortOut.h +++ b/drivers/PortOut.h @@ -16,7 +16,7 @@ #ifndef MBED_PORTOUT_H #define MBED_PORTOUT_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_PORTOUT diff --git a/hal/api/PwmOut.h b/drivers/PwmOut.h similarity index 99% rename from hal/api/PwmOut.h rename to drivers/PwmOut.h index cd9d833281c..32ee01cadbf 100644 --- a/hal/api/PwmOut.h +++ b/drivers/PwmOut.h @@ -16,7 +16,7 @@ #ifndef MBED_PWMOUT_H #define MBED_PWMOUT_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_PWMOUT #include "pwmout_api.h" diff --git a/hal/common/RawSerial.cpp b/drivers/RawSerial.cpp similarity index 100% rename from hal/common/RawSerial.cpp rename to drivers/RawSerial.cpp diff --git a/hal/api/RawSerial.h b/drivers/RawSerial.h similarity index 98% rename from hal/api/RawSerial.h rename to drivers/RawSerial.h index c4ef470f5ce..124bfb069bc 100644 --- a/hal/api/RawSerial.h +++ b/drivers/RawSerial.h @@ -16,7 +16,7 @@ #ifndef MBED_RAW_SERIAL_H #define MBED_RAW_SERIAL_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_SERIAL diff --git a/hal/common/SPI.cpp b/drivers/SPI.cpp similarity index 100% rename from hal/common/SPI.cpp rename to drivers/SPI.cpp diff --git a/hal/api/SPI.h b/drivers/SPI.h similarity index 99% rename from hal/api/SPI.h rename to drivers/SPI.h index 3367742407b..bcf69f870b2 100644 --- a/hal/api/SPI.h +++ b/drivers/SPI.h @@ -16,7 +16,7 @@ #ifndef MBED_SPI_H #define MBED_SPI_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_SPI diff --git a/hal/common/SPISlave.cpp b/drivers/SPISlave.cpp similarity index 100% rename from hal/common/SPISlave.cpp rename to drivers/SPISlave.cpp diff --git a/hal/api/SPISlave.h b/drivers/SPISlave.h similarity index 99% rename from hal/api/SPISlave.h rename to drivers/SPISlave.h index 1f2d75323da..5c836a08351 100644 --- a/hal/api/SPISlave.h +++ b/drivers/SPISlave.h @@ -16,7 +16,7 @@ #ifndef MBED_SPISLAVE_H #define MBED_SPISLAVE_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_SPISLAVE diff --git a/hal/common/Serial.cpp b/drivers/Serial.cpp similarity index 100% rename from hal/common/Serial.cpp rename to drivers/Serial.cpp diff --git a/hal/api/Serial.h b/drivers/Serial.h similarity index 98% rename from hal/api/Serial.h rename to drivers/Serial.h index de84f118fea..4f7f1355f37 100644 --- a/hal/api/Serial.h +++ b/drivers/Serial.h @@ -16,7 +16,7 @@ #ifndef MBED_SERIAL_H #define MBED_SERIAL_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_SERIAL diff --git a/hal/common/SerialBase.cpp b/drivers/SerialBase.cpp similarity index 100% rename from hal/common/SerialBase.cpp rename to drivers/SerialBase.cpp diff --git a/hal/api/SerialBase.h b/drivers/SerialBase.h similarity index 99% rename from hal/api/SerialBase.h rename to drivers/SerialBase.h index 1d7ae7c34dd..29ea27a0906 100644 --- a/hal/api/SerialBase.h +++ b/drivers/SerialBase.h @@ -16,7 +16,7 @@ #ifndef MBED_SERIALBASE_H #define MBED_SERIALBASE_H -#include "platform.h" +#include "PlatformMutex.h" #if DEVICE_SERIAL diff --git a/hal/common/Stream.cpp b/drivers/Stream.cpp similarity index 100% rename from hal/common/Stream.cpp rename to drivers/Stream.cpp diff --git a/hal/api/Stream.h b/drivers/Stream.h similarity index 98% rename from hal/api/Stream.h rename to drivers/Stream.h index f0695e02fc1..1cbc798977e 100644 --- a/hal/api/Stream.h +++ b/drivers/Stream.h @@ -16,7 +16,7 @@ #ifndef MBED_STREAM_H #define MBED_STREAM_H -#include "platform.h" +#include "PlatformMutex.h" #include "FileLike.h" #include diff --git a/hal/common/Ticker.cpp b/drivers/Ticker.cpp similarity index 100% rename from hal/common/Ticker.cpp rename to drivers/Ticker.cpp diff --git a/hal/api/Ticker.h b/drivers/Ticker.h similarity index 100% rename from hal/api/Ticker.h rename to drivers/Ticker.h diff --git a/hal/common/Timeout.cpp b/drivers/Timeout.cpp similarity index 100% rename from hal/common/Timeout.cpp rename to drivers/Timeout.cpp diff --git a/hal/api/Timeout.h b/drivers/Timeout.h similarity index 100% rename from hal/api/Timeout.h rename to drivers/Timeout.h diff --git a/hal/common/Timer.cpp b/drivers/Timer.cpp similarity index 100% rename from hal/common/Timer.cpp rename to drivers/Timer.cpp diff --git a/hal/api/Timer.h b/drivers/Timer.h similarity index 98% rename from hal/api/Timer.h rename to drivers/Timer.h index 711b6091dbc..3282cdad01c 100644 --- a/hal/api/Timer.h +++ b/drivers/Timer.h @@ -16,7 +16,7 @@ #ifndef MBED_TIMER_H #define MBED_TIMER_H -#include "platform.h" +#include "PlatformMutex.h" #include "ticker_api.h" namespace mbed { diff --git a/hal/common/TimerEvent.cpp b/drivers/TimerEvent.cpp similarity index 100% rename from hal/common/TimerEvent.cpp rename to drivers/TimerEvent.cpp diff --git a/hal/api/TimerEvent.h b/drivers/TimerEvent.h similarity index 100% rename from hal/api/TimerEvent.h rename to drivers/TimerEvent.h diff --git a/hal/api/Transaction.h b/drivers/Transaction.h similarity index 98% rename from hal/api/Transaction.h rename to drivers/Transaction.h index d093c3e6b58..450ef52b1de 100644 --- a/hal/api/Transaction.h +++ b/drivers/Transaction.h @@ -16,7 +16,7 @@ #ifndef MBED_TRANSACTION_H #define MBED_TRANSACTION_H -#include "platform.h" +#include "PlatformMutex.h" #include "FunctionPointer.h" namespace mbed { diff --git a/hal/api/can_helper.h b/drivers/can_helper.h similarity index 100% rename from hal/api/can_helper.h rename to drivers/can_helper.h diff --git a/hal/api/mbed.h b/drivers/mbed_drivers.h similarity index 73% rename from hal/api/mbed.h rename to drivers/mbed_drivers.h index 743438cf2c2..57ae06dc5db 100644 --- a/hal/api/mbed.h +++ b/drivers/mbed_drivers.h @@ -13,30 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef MBED_H -#define MBED_H +#ifndef MBED_DRIVERS_H +#define MBED_DRIVERS_H -#define MBED_LIBRARY_VERSION 122 - -#if MBED_CONF_RTOS_PRESENT -#include "rtos/rtos.h" -#endif - -#if MBED_CONF_NSAPI_PRESENT -#include "network-socket/nsapi.h" -#endif - -#include "toolchain.h" -#include "platform.h" - -// Useful C libraries -#include -#include - -// mbed Debug libraries -#include "mbed_error.h" -#include "mbed_interface.h" -#include "mbed_assert.h" // mbed Peripheral components #include "DigitalIn.h" @@ -73,11 +52,7 @@ #include "sleep_api.h" #include "rtc_time.h" -// mbed Non-hardware components -#include "Callback.h" -#include "FunctionPointer.h" - using namespace mbed; -using namespace std; + #endif diff --git a/hal/common/mbed_gpio.c b/drivers/mbed_gpio.c similarity index 100% rename from hal/common/mbed_gpio.c rename to drivers/mbed_gpio.c diff --git a/hal/common/mbed_lp_ticker_api.c b/drivers/mbed_lp_ticker_api.c similarity index 100% rename from hal/common/mbed_lp_ticker_api.c rename to drivers/mbed_lp_ticker_api.c diff --git a/hal/common/mbed_pinmap_common.c b/drivers/mbed_pinmap_common.c similarity index 100% rename from hal/common/mbed_pinmap_common.c rename to drivers/mbed_pinmap_common.c diff --git a/hal/common/mbed_rtc_time.cpp b/drivers/mbed_rtc_time.cpp similarity index 100% rename from hal/common/mbed_rtc_time.cpp rename to drivers/mbed_rtc_time.cpp diff --git a/hal/common/mbed_ticker_api.c b/drivers/mbed_ticker_api.c similarity index 100% rename from hal/common/mbed_ticker_api.c rename to drivers/mbed_ticker_api.c diff --git a/hal/common/mbed_us_ticker_api.c b/drivers/mbed_us_ticker_api.c similarity index 100% rename from hal/common/mbed_us_ticker_api.c rename to drivers/mbed_us_ticker_api.c diff --git a/hal/common/mbed_wait_api_no_rtos.c b/drivers/mbed_wait_api_no_rtos.c similarity index 100% rename from hal/common/mbed_wait_api_no_rtos.c rename to drivers/mbed_wait_api_no_rtos.c diff --git a/hal/common/mbed_wait_api_rtos.cpp b/drivers/mbed_wait_api_rtos.cpp similarity index 100% rename from hal/common/mbed_wait_api_rtos.cpp rename to drivers/mbed_wait_api_rtos.cpp diff --git a/hal/api/rtc_time.h b/drivers/rtc_time.h similarity index 100% rename from hal/api/rtc_time.h rename to drivers/rtc_time.h diff --git a/hal/api/wait_api.h b/drivers/wait_api.h similarity index 100% rename from hal/api/wait_api.h rename to drivers/wait_api.h diff --git a/libraries/.mbedignore b/features/unsupported/.mbedignore similarity index 100% rename from libraries/.mbedignore rename to features/unsupported/.mbedignore diff --git a/libraries/USBDevice/USBAudio/USBAudio.cpp b/features/unsupported/USBDevice/USBAudio/USBAudio.cpp similarity index 100% rename from libraries/USBDevice/USBAudio/USBAudio.cpp rename to features/unsupported/USBDevice/USBAudio/USBAudio.cpp diff --git a/libraries/USBDevice/USBAudio/USBAudio.h b/features/unsupported/USBDevice/USBAudio/USBAudio.h similarity index 100% rename from libraries/USBDevice/USBAudio/USBAudio.h rename to features/unsupported/USBDevice/USBAudio/USBAudio.h diff --git a/libraries/USBDevice/USBAudio/USBAudio_Types.h b/features/unsupported/USBDevice/USBAudio/USBAudio_Types.h similarity index 100% rename from libraries/USBDevice/USBAudio/USBAudio_Types.h rename to features/unsupported/USBDevice/USBAudio/USBAudio_Types.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/devdrv_usb_function_api.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/devdrv_usb_function_api.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/devdrv_usb_function_api.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/devdrv_usb_function_api.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_function.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_function.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_function.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_function.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_function_version.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_function_version.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_function_version.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_function_version.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function_api.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function_api.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function_api.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function_api.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function_dmacdrv.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function_dmacdrv.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function_dmacdrv.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_function_dmacdrv.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_dataio.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_dataio.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_dataio.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_dataio.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_dma.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_dma.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_dma.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_dma.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_intrn.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_intrn.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_intrn.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_intrn.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_lib.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_lib.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_lib.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_function_lib.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_api.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_api.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_api.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_api.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_controlrw.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_controlrw.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_controlrw.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_controlrw.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_global.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_global.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_global.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_global.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_sig.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_sig.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_sig.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_sig.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_sub.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_sub.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_sub.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/function/usb0_function_sub.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_function_dmacdrv.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_function_dmacdrv.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_function_dmacdrv.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_function_dmacdrv.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_function_userdef.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_function_userdef.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_function_userdef.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_function_userdef.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function_api.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function_api.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function_api.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function_api.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function_dmacdrv.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function_dmacdrv.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function_dmacdrv.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_function_dmacdrv.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_dataio.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_dataio.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_dataio.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_dataio.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_dma.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_dma.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_dma.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_dma.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_intrn.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_intrn.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_intrn.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_intrn.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_lib.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_lib.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_lib.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_function_lib.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_api.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_api.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_api.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_api.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_controlrw.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_controlrw.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_controlrw.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_controlrw.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_global.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_global.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_global.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_global.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_sig.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_sig.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_sig.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_sig.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_sub.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_sub.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_sub.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/function/usb1_function_sub.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_function_dmacdrv.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_function_dmacdrv.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_function_dmacdrv.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_function_dmacdrv.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_function_userdef.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_function_userdef.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_function_userdef.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_function_userdef.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb_function_setting.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb_function_setting.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb_function_setting.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/usb_function_setting.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/devdrv_usb_function_api.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/devdrv_usb_function_api.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/devdrv_usb_function_api.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/devdrv_usb_function_api.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_function.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_function.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_function.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_function.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_function_version.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_function_version.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_function_version.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_function_version.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function_api.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function_api.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function_api.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function_api.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function_dmacdrv.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function_dmacdrv.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function_dmacdrv.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_function_dmacdrv.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_dataio.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_dataio.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_dataio.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_dataio.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_dma.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_dma.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_dma.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_dma.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_intrn.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_intrn.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_intrn.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_intrn.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_lib.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_lib.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_lib.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_function_lib.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_api.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_api.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_api.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_api.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_controlrw.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_controlrw.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_controlrw.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_controlrw.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_global.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_global.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_global.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_global.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_sig.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_sig.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_sig.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_sig.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_sub.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_sub.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_sub.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/function/usb0_function_sub.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_function_dmacdrv.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_function_dmacdrv.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_function_dmacdrv.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_function_dmacdrv.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_function_userdef.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_function_userdef.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_function_userdef.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_function_userdef.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function_api.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function_api.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function_api.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function_api.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function_dmacdrv.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function_dmacdrv.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function_dmacdrv.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_function_dmacdrv.h diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_dataio.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_dataio.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_dataio.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_dataio.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_dma.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_dma.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_dma.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_dma.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_intrn.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_intrn.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_intrn.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_intrn.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_lib.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_lib.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_lib.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_function_lib.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_api.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_api.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_api.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_api.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_controlrw.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_controlrw.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_controlrw.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_controlrw.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_global.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_global.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_global.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_global.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_sig.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_sig.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_sig.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_sig.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_sub.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_sub.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_sub.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/function/usb1_function_sub.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_function_dmacdrv.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_function_dmacdrv.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_function_dmacdrv.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_function_dmacdrv.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_function_userdef.c b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_function_userdef.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_function_userdef.c rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_function_userdef.c diff --git a/libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb_function_setting.h b/features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb_function_setting.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb_function_setting.h rename to features/unsupported/USBDevice/USBDevice/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb_function_setting.h diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usb.h b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usb.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usb.h rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usb.h diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbd.h b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbd.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbd.h rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbd.h diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbh.h b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbh.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbh.h rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbh.h diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbhal.h b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbhal.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbhal.h rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbhal.h diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbtypes.h b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbtypes.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbtypes.h rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/em_usbtypes.h diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/usbconfig.h b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/usbconfig.h similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/usbconfig.h rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/inc/usbconfig.h diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbd.c b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbd.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbd.c rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbd.c diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbdep.c b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbdep.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbdep.c rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbdep.c diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbdint.c b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbdint.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbdint.c rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbdint.c diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbhal.c b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbhal.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbhal.c rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbhal.c diff --git a/libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbtimer.c b/features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbtimer.c similarity index 100% rename from libraries/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbtimer.c rename to features/unsupported/USBDevice/USBDevice/TARGET_Silicon_Labs/src/em_usbtimer.c diff --git a/libraries/USBDevice/USBDevice/USBDescriptor.h b/features/unsupported/USBDevice/USBDevice/USBDescriptor.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBDescriptor.h rename to features/unsupported/USBDevice/USBDevice/USBDescriptor.h diff --git a/libraries/USBDevice/USBDevice/USBDevice.cpp b/features/unsupported/USBDevice/USBDevice/USBDevice.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBDevice.cpp rename to features/unsupported/USBDevice/USBDevice/USBDevice.cpp diff --git a/libraries/USBDevice/USBDevice/USBDevice.h b/features/unsupported/USBDevice/USBDevice/USBDevice.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBDevice.h rename to features/unsupported/USBDevice/USBDevice/USBDevice.h diff --git a/libraries/USBDevice/USBDevice/USBDevice_Types.h b/features/unsupported/USBDevice/USBDevice/USBDevice_Types.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBDevice_Types.h rename to features/unsupported/USBDevice/USBDevice/USBDevice_Types.h diff --git a/libraries/USBDevice/USBDevice/USBEndpoints.h b/features/unsupported/USBDevice/USBDevice/USBEndpoints.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBEndpoints.h rename to features/unsupported/USBDevice/USBDevice/USBEndpoints.h diff --git a/libraries/USBDevice/USBDevice/USBEndpoints_EFM32.h b/features/unsupported/USBDevice/USBDevice/USBEndpoints_EFM32.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBEndpoints_EFM32.h rename to features/unsupported/USBDevice/USBDevice/USBEndpoints_EFM32.h diff --git a/libraries/USBDevice/USBDevice/USBEndpoints_KL25Z.h b/features/unsupported/USBDevice/USBDevice/USBEndpoints_KL25Z.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBEndpoints_KL25Z.h rename to features/unsupported/USBDevice/USBDevice/USBEndpoints_KL25Z.h diff --git a/libraries/USBDevice/USBDevice/USBEndpoints_LPC11U.h b/features/unsupported/USBDevice/USBDevice/USBEndpoints_LPC11U.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBEndpoints_LPC11U.h rename to features/unsupported/USBDevice/USBDevice/USBEndpoints_LPC11U.h diff --git a/libraries/USBDevice/USBDevice/USBEndpoints_LPC17_LPC23.h b/features/unsupported/USBDevice/USBDevice/USBEndpoints_LPC17_LPC23.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBEndpoints_LPC17_LPC23.h rename to features/unsupported/USBDevice/USBDevice/USBEndpoints_LPC17_LPC23.h diff --git a/libraries/USBDevice/USBDevice/USBEndpoints_Maxim.h b/features/unsupported/USBDevice/USBDevice/USBEndpoints_Maxim.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBEndpoints_Maxim.h rename to features/unsupported/USBDevice/USBDevice/USBEndpoints_Maxim.h diff --git a/libraries/USBDevice/USBDevice/USBEndpoints_RZ_A1H.h b/features/unsupported/USBDevice/USBDevice/USBEndpoints_RZ_A1H.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBEndpoints_RZ_A1H.h rename to features/unsupported/USBDevice/USBDevice/USBEndpoints_RZ_A1H.h diff --git a/libraries/USBDevice/USBDevice/USBEndpoints_STM32F4.h b/features/unsupported/USBDevice/USBDevice/USBEndpoints_STM32F4.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBEndpoints_STM32F4.h rename to features/unsupported/USBDevice/USBDevice/USBEndpoints_STM32F4.h diff --git a/libraries/USBDevice/USBDevice/USBHAL.h b/features/unsupported/USBDevice/USBDevice/USBHAL.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL.h rename to features/unsupported/USBDevice/USBDevice/USBHAL.h diff --git a/libraries/USBDevice/USBDevice/USBHAL_EFM32.cpp b/features/unsupported/USBDevice/USBDevice/USBHAL_EFM32.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL_EFM32.cpp rename to features/unsupported/USBDevice/USBDevice/USBHAL_EFM32.cpp diff --git a/libraries/USBDevice/USBDevice/USBHAL_KL25Z.cpp b/features/unsupported/USBDevice/USBDevice/USBHAL_KL25Z.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL_KL25Z.cpp rename to features/unsupported/USBDevice/USBDevice/USBHAL_KL25Z.cpp diff --git a/libraries/USBDevice/USBDevice/USBHAL_LPC11U.cpp b/features/unsupported/USBDevice/USBDevice/USBHAL_LPC11U.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL_LPC11U.cpp rename to features/unsupported/USBDevice/USBDevice/USBHAL_LPC11U.cpp diff --git a/libraries/USBDevice/USBDevice/USBHAL_LPC17.cpp b/features/unsupported/USBDevice/USBDevice/USBHAL_LPC17.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL_LPC17.cpp rename to features/unsupported/USBDevice/USBDevice/USBHAL_LPC17.cpp diff --git a/libraries/USBDevice/USBDevice/USBHAL_LPC40.cpp b/features/unsupported/USBDevice/USBDevice/USBHAL_LPC40.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL_LPC40.cpp rename to features/unsupported/USBDevice/USBDevice/USBHAL_LPC40.cpp diff --git a/libraries/USBDevice/USBDevice/USBHAL_Maxim.cpp b/features/unsupported/USBDevice/USBDevice/USBHAL_Maxim.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL_Maxim.cpp rename to features/unsupported/USBDevice/USBDevice/USBHAL_Maxim.cpp diff --git a/libraries/USBDevice/USBDevice/USBHAL_RZ_A1H.cpp b/features/unsupported/USBDevice/USBDevice/USBHAL_RZ_A1H.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL_RZ_A1H.cpp rename to features/unsupported/USBDevice/USBDevice/USBHAL_RZ_A1H.cpp diff --git a/libraries/USBDevice/USBDevice/USBHAL_STM32F4.cpp b/features/unsupported/USBDevice/USBDevice/USBHAL_STM32F4.cpp similarity index 100% rename from libraries/USBDevice/USBDevice/USBHAL_STM32F4.cpp rename to features/unsupported/USBDevice/USBDevice/USBHAL_STM32F4.cpp diff --git a/libraries/USBDevice/USBDevice/USBRegs_STM32.h b/features/unsupported/USBDevice/USBDevice/USBRegs_STM32.h similarity index 100% rename from libraries/USBDevice/USBDevice/USBRegs_STM32.h rename to features/unsupported/USBDevice/USBDevice/USBRegs_STM32.h diff --git a/libraries/USBDevice/USBHID/USBHID.cpp b/features/unsupported/USBDevice/USBHID/USBHID.cpp similarity index 100% rename from libraries/USBDevice/USBHID/USBHID.cpp rename to features/unsupported/USBDevice/USBHID/USBHID.cpp diff --git a/libraries/USBDevice/USBHID/USBHID.h b/features/unsupported/USBDevice/USBHID/USBHID.h similarity index 100% rename from libraries/USBDevice/USBHID/USBHID.h rename to features/unsupported/USBDevice/USBHID/USBHID.h diff --git a/libraries/USBDevice/USBHID/USBHID_Types.h b/features/unsupported/USBDevice/USBHID/USBHID_Types.h similarity index 100% rename from libraries/USBDevice/USBHID/USBHID_Types.h rename to features/unsupported/USBDevice/USBHID/USBHID_Types.h diff --git a/libraries/USBDevice/USBHID/USBKeyboard.cpp b/features/unsupported/USBDevice/USBHID/USBKeyboard.cpp similarity index 100% rename from libraries/USBDevice/USBHID/USBKeyboard.cpp rename to features/unsupported/USBDevice/USBHID/USBKeyboard.cpp diff --git a/libraries/USBDevice/USBHID/USBKeyboard.h b/features/unsupported/USBDevice/USBHID/USBKeyboard.h similarity index 100% rename from libraries/USBDevice/USBHID/USBKeyboard.h rename to features/unsupported/USBDevice/USBHID/USBKeyboard.h diff --git a/libraries/USBDevice/USBHID/USBMouse.cpp b/features/unsupported/USBDevice/USBHID/USBMouse.cpp similarity index 100% rename from libraries/USBDevice/USBHID/USBMouse.cpp rename to features/unsupported/USBDevice/USBHID/USBMouse.cpp diff --git a/libraries/USBDevice/USBHID/USBMouse.h b/features/unsupported/USBDevice/USBHID/USBMouse.h similarity index 100% rename from libraries/USBDevice/USBHID/USBMouse.h rename to features/unsupported/USBDevice/USBHID/USBMouse.h diff --git a/libraries/USBDevice/USBHID/USBMouseKeyboard.cpp b/features/unsupported/USBDevice/USBHID/USBMouseKeyboard.cpp similarity index 100% rename from libraries/USBDevice/USBHID/USBMouseKeyboard.cpp rename to features/unsupported/USBDevice/USBHID/USBMouseKeyboard.cpp diff --git a/libraries/USBDevice/USBHID/USBMouseKeyboard.h b/features/unsupported/USBDevice/USBHID/USBMouseKeyboard.h similarity index 100% rename from libraries/USBDevice/USBHID/USBMouseKeyboard.h rename to features/unsupported/USBDevice/USBHID/USBMouseKeyboard.h diff --git a/libraries/USBDevice/USBMIDI/MIDIMessage.h b/features/unsupported/USBDevice/USBMIDI/MIDIMessage.h similarity index 100% rename from libraries/USBDevice/USBMIDI/MIDIMessage.h rename to features/unsupported/USBDevice/USBMIDI/MIDIMessage.h diff --git a/libraries/USBDevice/USBMIDI/USBMIDI.cpp b/features/unsupported/USBDevice/USBMIDI/USBMIDI.cpp similarity index 100% rename from libraries/USBDevice/USBMIDI/USBMIDI.cpp rename to features/unsupported/USBDevice/USBMIDI/USBMIDI.cpp diff --git a/libraries/USBDevice/USBMIDI/USBMIDI.h b/features/unsupported/USBDevice/USBMIDI/USBMIDI.h similarity index 100% rename from libraries/USBDevice/USBMIDI/USBMIDI.h rename to features/unsupported/USBDevice/USBMIDI/USBMIDI.h diff --git a/libraries/USBDevice/USBMSD/USBMSD.cpp b/features/unsupported/USBDevice/USBMSD/USBMSD.cpp similarity index 100% rename from libraries/USBDevice/USBMSD/USBMSD.cpp rename to features/unsupported/USBDevice/USBMSD/USBMSD.cpp diff --git a/libraries/USBDevice/USBMSD/USBMSD.h b/features/unsupported/USBDevice/USBMSD/USBMSD.h similarity index 100% rename from libraries/USBDevice/USBMSD/USBMSD.h rename to features/unsupported/USBDevice/USBMSD/USBMSD.h diff --git a/libraries/USBDevice/USBSerial/CircBuffer.h b/features/unsupported/USBDevice/USBSerial/CircBuffer.h similarity index 100% rename from libraries/USBDevice/USBSerial/CircBuffer.h rename to features/unsupported/USBDevice/USBSerial/CircBuffer.h diff --git a/libraries/USBDevice/USBSerial/USBCDC.cpp b/features/unsupported/USBDevice/USBSerial/USBCDC.cpp similarity index 100% rename from libraries/USBDevice/USBSerial/USBCDC.cpp rename to features/unsupported/USBDevice/USBSerial/USBCDC.cpp diff --git a/libraries/USBDevice/USBSerial/USBCDC.h b/features/unsupported/USBDevice/USBSerial/USBCDC.h similarity index 100% rename from libraries/USBDevice/USBSerial/USBCDC.h rename to features/unsupported/USBDevice/USBSerial/USBCDC.h diff --git a/libraries/USBDevice/USBSerial/USBSerial.cpp b/features/unsupported/USBDevice/USBSerial/USBSerial.cpp similarity index 100% rename from libraries/USBDevice/USBSerial/USBSerial.cpp rename to features/unsupported/USBDevice/USBSerial/USBSerial.cpp diff --git a/libraries/USBDevice/USBSerial/USBSerial.h b/features/unsupported/USBDevice/USBSerial/USBSerial.h similarity index 100% rename from libraries/USBDevice/USBSerial/USBSerial.h rename to features/unsupported/USBDevice/USBSerial/USBSerial.h diff --git a/libraries/USBHost/USBHost/IUSBEnumerator.h b/features/unsupported/USBHost/USBHost/IUSBEnumerator.h similarity index 100% rename from libraries/USBHost/USBHost/IUSBEnumerator.h rename to features/unsupported/USBHost/USBHost/IUSBEnumerator.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/devdrv_usb_host_api.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/devdrv_usb_host_api.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/devdrv_usb_host_api.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/devdrv_usb_host_api.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_host.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_host.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_host.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_host.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_host_version.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_host_version.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_host_version.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/inc/usb_host_version.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1_local.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1_local.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1_local.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_RZ_A1_local.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_pipe.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_pipe.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_pipe.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/ohci_wrapp_pipe.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host_api.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host_api.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host_api.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host_api.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host_dmacdrv.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host_dmacdrv.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host_dmacdrv.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/inc/usb0_host_dmacdrv.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_dataio.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_dataio.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_dataio.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_dataio.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_dma.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_dma.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_dma.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_dma.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_intrn.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_intrn.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_intrn.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_intrn.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_lib.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_lib.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_lib.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/common/usb0_host_lib.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_controlrw.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_controlrw.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_controlrw.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_controlrw.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_drv_api.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_drv_api.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_drv_api.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_drv_api.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_global.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_global.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_global.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_global.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_usbint.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_usbint.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_usbint.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_usbint.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_usbsig.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_usbsig.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_usbsig.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/host/usb0_host_usbsig.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_host_dmacdrv.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_host_dmacdrv.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_host_dmacdrv.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_host_dmacdrv.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_host_userdef.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_host_userdef.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_host_userdef.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb0/src/userdef/usb0_host_userdef.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host_api.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host_api.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host_api.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host_api.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host_dmacdrv.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host_dmacdrv.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host_dmacdrv.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/inc/usb1_host_dmacdrv.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_dataio.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_dataio.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_dataio.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_dataio.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_dma.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_dma.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_dma.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_dma.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_intrn.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_intrn.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_intrn.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_intrn.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_lib.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_lib.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_lib.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/common/usb1_host_lib.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_controlrw.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_controlrw.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_controlrw.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_controlrw.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_drv_api.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_drv_api.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_drv_api.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_drv_api.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_global.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_global.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_global.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_global.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_usbint.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_usbint.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_usbint.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_usbint.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_usbsig.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_usbsig.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_usbsig.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/host/usb1_host_usbsig.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_host_dmacdrv.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_host_dmacdrv.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_host_dmacdrv.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_host_dmacdrv.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_host_userdef.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_host_userdef.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_host_userdef.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb1/src/userdef/usb1_host_userdef.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb_host_setting.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb_host_setting.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb_host_setting.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_RZ_A1H/usb_host_setting.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/devdrv_usb_host_api.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/devdrv_usb_host_api.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/devdrv_usb_host_api.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/devdrv_usb_host_api.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_host.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_host.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_host.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_host.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_host_version.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_host_version.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_host_version.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/usb_host_version.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1_local.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1_local.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1_local.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_RZ_A1_local.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_pipe.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_pipe.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_pipe.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/ohci_wrapp_pipe.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host_api.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host_api.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host_api.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host_api.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host_dmacdrv.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host_dmacdrv.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host_dmacdrv.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/inc/usb0_host_dmacdrv.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dataio.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dataio.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dataio.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dataio.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dma.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dma.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dma.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_dma.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_intrn.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_intrn.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_intrn.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_intrn.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_lib.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_lib.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_lib.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/common/usb0_host_lib.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_controlrw.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_controlrw.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_controlrw.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_controlrw.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_drv_api.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_drv_api.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_drv_api.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_drv_api.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_global.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_global.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_global.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_global.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_usbint.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_usbint.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_usbint.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_usbint.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_usbsig.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_usbsig.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_usbsig.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/host/usb0_host_usbsig.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_host_dmacdrv.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_host_dmacdrv.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_host_dmacdrv.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_host_dmacdrv.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_host_userdef.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_host_userdef.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_host_userdef.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb0/src/userdef/usb0_host_userdef.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host_api.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host_api.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host_api.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host_api.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host_dmacdrv.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host_dmacdrv.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host_dmacdrv.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/inc/usb1_host_dmacdrv.h diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_dataio.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_dataio.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_dataio.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_dataio.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_dma.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_dma.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_dma.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_dma.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_intrn.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_intrn.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_intrn.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_intrn.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_lib.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_lib.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_lib.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/common/usb1_host_lib.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_controlrw.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_controlrw.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_controlrw.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_controlrw.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_drv_api.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_drv_api.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_drv_api.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_drv_api.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_global.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_global.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_global.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_global.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_usbint.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_usbint.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_usbint.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_usbint.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_usbsig.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_usbsig.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_usbsig.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/host/usb1_host_usbsig.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_host_dmacdrv.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_host_dmacdrv.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_host_dmacdrv.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_host_dmacdrv.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_host_userdef.c b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_host_userdef.c similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_host_userdef.c rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb1/src/userdef/usb1_host_userdef.c diff --git a/libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb_host_setting.h b/features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb_host_setting.h similarity index 100% rename from libraries/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb_host_setting.h rename to features/unsupported/USBHost/USBHost/TARGET_RENESAS/TARGET_VK_RZ_A1H/usb_host_setting.h diff --git a/libraries/USBHost/USBHost/USBDeviceConnected.cpp b/features/unsupported/USBHost/USBHost/USBDeviceConnected.cpp similarity index 100% rename from libraries/USBHost/USBHost/USBDeviceConnected.cpp rename to features/unsupported/USBHost/USBHost/USBDeviceConnected.cpp diff --git a/libraries/USBHost/USBHost/USBDeviceConnected.h b/features/unsupported/USBHost/USBHost/USBDeviceConnected.h similarity index 100% rename from libraries/USBHost/USBHost/USBDeviceConnected.h rename to features/unsupported/USBHost/USBHost/USBDeviceConnected.h diff --git a/libraries/USBHost/USBHost/USBEndpoint.cpp b/features/unsupported/USBHost/USBHost/USBEndpoint.cpp similarity index 100% rename from libraries/USBHost/USBHost/USBEndpoint.cpp rename to features/unsupported/USBHost/USBHost/USBEndpoint.cpp diff --git a/libraries/USBHost/USBHost/USBEndpoint.h b/features/unsupported/USBHost/USBHost/USBEndpoint.h similarity index 100% rename from libraries/USBHost/USBHost/USBEndpoint.h rename to features/unsupported/USBHost/USBHost/USBEndpoint.h diff --git a/libraries/USBHost/USBHost/USBHALHost.h b/features/unsupported/USBHost/USBHost/USBHALHost.h similarity index 100% rename from libraries/USBHost/USBHost/USBHALHost.h rename to features/unsupported/USBHost/USBHost/USBHALHost.h diff --git a/libraries/USBHost/USBHost/USBHALHost_LPC17.cpp b/features/unsupported/USBHost/USBHost/USBHALHost_LPC17.cpp similarity index 100% rename from libraries/USBHost/USBHost/USBHALHost_LPC17.cpp rename to features/unsupported/USBHost/USBHost/USBHALHost_LPC17.cpp diff --git a/libraries/USBHost/USBHost/USBHALHost_RZ_A1.cpp b/features/unsupported/USBHost/USBHost/USBHALHost_RZ_A1.cpp similarity index 100% rename from libraries/USBHost/USBHost/USBHALHost_RZ_A1.cpp rename to features/unsupported/USBHost/USBHost/USBHALHost_RZ_A1.cpp diff --git a/libraries/USBHost/USBHost/USBHost.cpp b/features/unsupported/USBHost/USBHost/USBHost.cpp similarity index 100% rename from libraries/USBHost/USBHost/USBHost.cpp rename to features/unsupported/USBHost/USBHost/USBHost.cpp diff --git a/libraries/USBHost/USBHost/USBHost.h b/features/unsupported/USBHost/USBHost/USBHost.h similarity index 100% rename from libraries/USBHost/USBHost/USBHost.h rename to features/unsupported/USBHost/USBHost/USBHost.h diff --git a/libraries/USBHost/USBHost/USBHostConf.h b/features/unsupported/USBHost/USBHost/USBHostConf.h similarity index 100% rename from libraries/USBHost/USBHost/USBHostConf.h rename to features/unsupported/USBHost/USBHost/USBHostConf.h diff --git a/libraries/USBHost/USBHost/USBHostTypes.h b/features/unsupported/USBHost/USBHost/USBHostTypes.h similarity index 100% rename from libraries/USBHost/USBHost/USBHostTypes.h rename to features/unsupported/USBHost/USBHost/USBHostTypes.h diff --git a/libraries/USBHost/USBHost/dbg.h b/features/unsupported/USBHost/USBHost/dbg.h similarity index 100% rename from libraries/USBHost/USBHost/dbg.h rename to features/unsupported/USBHost/USBHost/dbg.h diff --git a/libraries/USBHost/USBHost3GModule/IUSBHostSerial.h b/features/unsupported/USBHost/USBHost3GModule/IUSBHostSerial.h similarity index 100% rename from libraries/USBHost/USBHost3GModule/IUSBHostSerial.h rename to features/unsupported/USBHost/USBHost3GModule/IUSBHostSerial.h diff --git a/libraries/USBHost/USBHost3GModule/IUSBHostSerialListener.h b/features/unsupported/USBHost/USBHost3GModule/IUSBHostSerialListener.h similarity index 100% rename from libraries/USBHost/USBHost3GModule/IUSBHostSerialListener.h rename to features/unsupported/USBHost/USBHost3GModule/IUSBHostSerialListener.h diff --git a/libraries/USBHost/USBHost3GModule/WANDongle.cpp b/features/unsupported/USBHost/USBHost3GModule/WANDongle.cpp similarity index 100% rename from libraries/USBHost/USBHost3GModule/WANDongle.cpp rename to features/unsupported/USBHost/USBHost3GModule/WANDongle.cpp diff --git a/libraries/USBHost/USBHost3GModule/WANDongle.h b/features/unsupported/USBHost/USBHost3GModule/WANDongle.h similarity index 100% rename from libraries/USBHost/USBHost3GModule/WANDongle.h rename to features/unsupported/USBHost/USBHost3GModule/WANDongle.h diff --git a/libraries/USBHost/USBHost3GModule/WANDongleInitializer.h b/features/unsupported/USBHost/USBHost3GModule/WANDongleInitializer.h similarity index 100% rename from libraries/USBHost/USBHost3GModule/WANDongleInitializer.h rename to features/unsupported/USBHost/USBHost3GModule/WANDongleInitializer.h diff --git a/libraries/USBHost/USBHost3GModule/WANDongleSerialPort.cpp b/features/unsupported/USBHost/USBHost3GModule/WANDongleSerialPort.cpp similarity index 100% rename from libraries/USBHost/USBHost3GModule/WANDongleSerialPort.cpp rename to features/unsupported/USBHost/USBHost3GModule/WANDongleSerialPort.cpp diff --git a/libraries/USBHost/USBHost3GModule/WANDongleSerialPort.h b/features/unsupported/USBHost/USBHost3GModule/WANDongleSerialPort.h similarity index 100% rename from libraries/USBHost/USBHost3GModule/WANDongleSerialPort.h rename to features/unsupported/USBHost/USBHost3GModule/WANDongleSerialPort.h diff --git a/libraries/USBHost/USBHostHID/USBHostKeyboard.cpp b/features/unsupported/USBHost/USBHostHID/USBHostKeyboard.cpp similarity index 100% rename from libraries/USBHost/USBHostHID/USBHostKeyboard.cpp rename to features/unsupported/USBHost/USBHostHID/USBHostKeyboard.cpp diff --git a/libraries/USBHost/USBHostHID/USBHostKeyboard.h b/features/unsupported/USBHost/USBHostHID/USBHostKeyboard.h similarity index 100% rename from libraries/USBHost/USBHostHID/USBHostKeyboard.h rename to features/unsupported/USBHost/USBHostHID/USBHostKeyboard.h diff --git a/libraries/USBHost/USBHostHID/USBHostMouse.cpp b/features/unsupported/USBHost/USBHostHID/USBHostMouse.cpp similarity index 100% rename from libraries/USBHost/USBHostHID/USBHostMouse.cpp rename to features/unsupported/USBHost/USBHostHID/USBHostMouse.cpp diff --git a/libraries/USBHost/USBHostHID/USBHostMouse.h b/features/unsupported/USBHost/USBHostHID/USBHostMouse.h similarity index 100% rename from libraries/USBHost/USBHostHID/USBHostMouse.h rename to features/unsupported/USBHost/USBHostHID/USBHostMouse.h diff --git a/libraries/USBHost/USBHostHub/USBHostHub.cpp b/features/unsupported/USBHost/USBHostHub/USBHostHub.cpp similarity index 100% rename from libraries/USBHost/USBHostHub/USBHostHub.cpp rename to features/unsupported/USBHost/USBHostHub/USBHostHub.cpp diff --git a/libraries/USBHost/USBHostHub/USBHostHub.h b/features/unsupported/USBHost/USBHostHub/USBHostHub.h similarity index 100% rename from libraries/USBHost/USBHostHub/USBHostHub.h rename to features/unsupported/USBHost/USBHostHub/USBHostHub.h diff --git a/libraries/USBHost/USBHostMIDI/USBHostMIDI.cpp b/features/unsupported/USBHost/USBHostMIDI/USBHostMIDI.cpp similarity index 100% rename from libraries/USBHost/USBHostMIDI/USBHostMIDI.cpp rename to features/unsupported/USBHost/USBHostMIDI/USBHostMIDI.cpp diff --git a/libraries/USBHost/USBHostMIDI/USBHostMIDI.h b/features/unsupported/USBHost/USBHostMIDI/USBHostMIDI.h similarity index 100% rename from libraries/USBHost/USBHostMIDI/USBHostMIDI.h rename to features/unsupported/USBHost/USBHostMIDI/USBHostMIDI.h diff --git a/libraries/USBHost/USBHostMSD/USBHostMSD.cpp b/features/unsupported/USBHost/USBHostMSD/USBHostMSD.cpp similarity index 100% rename from libraries/USBHost/USBHostMSD/USBHostMSD.cpp rename to features/unsupported/USBHost/USBHostMSD/USBHostMSD.cpp diff --git a/libraries/USBHost/USBHostMSD/USBHostMSD.h b/features/unsupported/USBHost/USBHostMSD/USBHostMSD.h similarity index 100% rename from libraries/USBHost/USBHostMSD/USBHostMSD.h rename to features/unsupported/USBHost/USBHostMSD/USBHostMSD.h diff --git a/libraries/USBHost/USBHostSerial/MtxCircBuffer.h b/features/unsupported/USBHost/USBHostSerial/MtxCircBuffer.h similarity index 100% rename from libraries/USBHost/USBHostSerial/MtxCircBuffer.h rename to features/unsupported/USBHost/USBHostSerial/MtxCircBuffer.h diff --git a/libraries/USBHost/USBHostSerial/USBHostSerial.cpp b/features/unsupported/USBHost/USBHostSerial/USBHostSerial.cpp similarity index 100% rename from libraries/USBHost/USBHostSerial/USBHostSerial.cpp rename to features/unsupported/USBHost/USBHostSerial/USBHostSerial.cpp diff --git a/libraries/USBHost/USBHostSerial/USBHostSerial.h b/features/unsupported/USBHost/USBHostSerial/USBHostSerial.h similarity index 100% rename from libraries/USBHost/USBHostSerial/USBHostSerial.h rename to features/unsupported/USBHost/USBHostSerial/USBHostSerial.h diff --git a/libraries/doc/mbed.dia b/features/unsupported/doc/mbed.dia similarity index 100% rename from libraries/doc/mbed.dia rename to features/unsupported/doc/mbed.dia diff --git a/libraries/doc/net/doc.txt b/features/unsupported/doc/net/doc.txt similarity index 100% rename from libraries/doc/net/doc.txt rename to features/unsupported/doc/net/doc.txt diff --git a/libraries/doc/net/layers.dia b/features/unsupported/doc/net/layers.dia similarity index 100% rename from libraries/doc/net/layers.dia rename to features/unsupported/doc/net/layers.dia diff --git a/libraries/doc/net/source.txt b/features/unsupported/doc/net/source.txt similarity index 100% rename from libraries/doc/net/source.txt rename to features/unsupported/doc/net/source.txt diff --git a/libraries/doc/net/sys_arch.txt b/features/unsupported/doc/net/sys_arch.txt similarity index 100% rename from libraries/doc/net/sys_arch.txt rename to features/unsupported/doc/net/sys_arch.txt diff --git a/libraries/doc/net/tcp.dia b/features/unsupported/doc/net/tcp.dia similarity index 100% rename from libraries/doc/net/tcp.dia rename to features/unsupported/doc/net/tcp.dia diff --git a/libraries/doc/net/udp.dia b/features/unsupported/doc/net/udp.dia similarity index 100% rename from libraries/doc/net/udp.dia rename to features/unsupported/doc/net/udp.dia diff --git a/libraries/doc/rtos.txt b/features/unsupported/doc/rtos.txt similarity index 100% rename from libraries/doc/rtos.txt rename to features/unsupported/doc/rtos.txt diff --git a/libraries/doc/style.xml b/features/unsupported/doc/style.xml similarity index 100% rename from libraries/doc/style.xml rename to features/unsupported/doc/style.xml diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_f32.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_f32.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_f32.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_abs_q7.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_f32.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_add_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_f32.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_add_f32.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_add_q7.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_f32.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_f32.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_f32.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_dot_prod_q7.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_f32.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_f32.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_f32.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_mult_q7.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_f32.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_f32.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_f32.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_negate_q7.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_f32.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_f32.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_f32.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_offset_q7.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_f32.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_f32.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_f32.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_scale_q7.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_shift_q7.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_f32.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_f32.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_f32.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q15.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q15.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q15.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q31.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q31.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q31.c diff --git a/libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q7.c b/features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q7.c rename to features/unsupported/dsp/cmsis_dsp/BasicMathFunctions/arm_sub_q7.c diff --git a/libraries/dsp/cmsis_dsp/CommonTables/arm_common_tables.c b/features/unsupported/dsp/cmsis_dsp/CommonTables/arm_common_tables.c similarity index 100% rename from libraries/dsp/cmsis_dsp/CommonTables/arm_common_tables.c rename to features/unsupported/dsp/cmsis_dsp/CommonTables/arm_common_tables.c diff --git a/libraries/dsp/cmsis_dsp/CommonTables/arm_const_structs.c b/features/unsupported/dsp/cmsis_dsp/CommonTables/arm_const_structs.c similarity index 100% rename from libraries/dsp/cmsis_dsp/CommonTables/arm_const_structs.c rename to features/unsupported/dsp/cmsis_dsp/CommonTables/arm_const_structs.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_f32.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_f32.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_f32.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_q15.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_q15.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_q15.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_q31.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_q31.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_conj_q31.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_f32.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_f32.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_f32.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_q15.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_q15.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_q15.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_q31.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_q31.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_q31.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_cmplx_q31.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_f32.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_f32.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_f32.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_q15.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_q15.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_q15.c diff --git a/libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_q31.c b/features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_q31.c rename to features/unsupported/dsp/cmsis_dsp/ComplexMathFunctions/arm_cmplx_mult_real_q31.c diff --git a/libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_f32.c b/features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_q15.c b/features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_q31.c b/features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_f32.c b/features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_f32.c rename to features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_f32.c diff --git a/libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_q15.c b/features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_q15.c rename to features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_q15.c diff --git a/libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_q31.c b/features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_q31.c rename to features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_pid_reset_q31.c diff --git a/libraries/dsp/cmsis_dsp/ControllerFunctions/arm_sin_cos_f32.c b/features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_sin_cos_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ControllerFunctions/arm_sin_cos_f32.c rename to features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_sin_cos_f32.c diff --git a/libraries/dsp/cmsis_dsp/ControllerFunctions/arm_sin_cos_q31.c b/features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_sin_cos_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/ControllerFunctions/arm_sin_cos_q31.c rename to features/unsupported/dsp/cmsis_dsp/ControllerFunctions/arm_sin_cos_q31.c diff --git a/libraries/dsp/cmsis_dsp/FastMathFunctions/arm_cos_f32.c b/features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_cos_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FastMathFunctions/arm_cos_f32.c rename to features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_cos_f32.c diff --git a/libraries/dsp/cmsis_dsp/FastMathFunctions/arm_cos_q15.c b/features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_cos_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FastMathFunctions/arm_cos_q15.c rename to features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_cos_q15.c diff --git a/libraries/dsp/cmsis_dsp/FastMathFunctions/arm_cos_q31.c b/features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_cos_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FastMathFunctions/arm_cos_q31.c rename to features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_cos_q31.c diff --git a/libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sin_f32.c b/features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sin_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sin_f32.c rename to features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sin_f32.c diff --git a/libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sin_q15.c b/features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sin_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sin_q15.c rename to features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sin_q15.c diff --git a/libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sin_q31.c b/features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sin_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sin_q31.c rename to features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sin_q31.c diff --git a/libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sqrt_q15.c b/features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sqrt_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sqrt_q15.c rename to features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sqrt_q15.c diff --git a/libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sqrt_q31.c b/features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sqrt_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FastMathFunctions/arm_sqrt_q31.c rename to features/unsupported/dsp/cmsis_dsp/FastMathFunctions/arm_sqrt_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_32x64_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_32x64_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_fast_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_fast_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df1_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_f64.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_f64.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_f64.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_f64.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_init_f64.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_init_f64.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_init_f64.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_df2T_init_f64.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_stereo_df2T_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_biquad_cascade_stereo_df2T_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_opt_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_opt_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_opt_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_opt_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_fast_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_opt_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_opt_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_opt_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_opt_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_opt_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_opt_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_opt_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_opt_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_opt_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_opt_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_opt_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_opt_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_fast_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_opt_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_opt_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_opt_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_opt_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_opt_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_opt_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_opt_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_opt_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_partial_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_conv_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_opt_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_opt_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_opt_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_opt_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_fast_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_opt_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_opt_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_opt_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_opt_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_opt_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_opt_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_opt_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_opt_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_correlate_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_fast_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_fast_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_fast_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_fast_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_fast_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_fast_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_fast_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_fast_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_decimate_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_fast_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_fast_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_fast_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_fast_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_fast_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_fast_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_fast_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_fast_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_init_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_interpolate_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_lattice_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_init_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q7.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q7.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_fir_sparse_q7.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_iir_lattice_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_f32.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_norm_q31.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_q15.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_q15.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_q15.c diff --git a/libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_q31.c b/features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/FilteringFunctions/arm_lms_q31.c rename to features/unsupported/dsp/cmsis_dsp/FilteringFunctions/arm_lms_q31.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_f32.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_f32.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_f32.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_q15.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_q15.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_q15.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_q31.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_q31.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_add_q31.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_f32.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_f32.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_f32.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_q15.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_q15.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_q15.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_q31.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_q31.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_cmplx_mult_q31.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_f32.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_q15.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_q31.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_inverse_f32.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_inverse_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_inverse_f32.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_inverse_f32.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_inverse_f64.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_inverse_f64.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_inverse_f64.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_inverse_f64.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_f32.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_f32.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_f32.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_fast_q15.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_fast_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_fast_q15.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_fast_q15.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_fast_q31.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_fast_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_fast_q31.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_fast_q31.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_q15.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_q15.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_q15.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_q31.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_q31.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_mult_q31.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_f32.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_f32.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_f32.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_q15.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_q15.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_q15.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_q31.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_q31.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_scale_q31.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_f32.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_f32.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_f32.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_q15.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_q15.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_q15.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_q31.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_q31.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_sub_q31.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_f32.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_f32.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_f32.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_q15.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_q15.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_q15.c diff --git a/libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_q31.c b/features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_q31.c rename to features/unsupported/dsp/cmsis_dsp/MatrixFunctions/arm_mat_trans_q31.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_max_f32.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_max_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_max_f32.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_max_f32.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q15.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q15.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q15.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q31.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q31.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q31.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q7.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q7.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_max_q7.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_f32.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_f32.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_f32.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q15.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q15.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q15.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q31.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q31.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q31.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q7.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q7.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_mean_q7.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_min_f32.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_min_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_min_f32.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_min_f32.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q15.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q15.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q15.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q31.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q31.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q31.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q7.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q7.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_min_q7.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_power_f32.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_power_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_power_f32.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_power_f32.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q15.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q15.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q15.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q31.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q31.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q31.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q7.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q7.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_power_q7.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_f32.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_f32.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_f32.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_q15.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_q15.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_q15.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_q31.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_q31.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_rms_q31.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_std_f32.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_std_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_std_f32.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_std_f32.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_std_q15.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_std_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_std_q15.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_std_q15.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_std_q31.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_std_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_std_q31.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_std_q31.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_var_f32.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_var_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_var_f32.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_var_f32.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_var_q15.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_var_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_var_q15.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_var_q15.c diff --git a/libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_var_q31.c b/features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_var_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/StatisticsFunctions/arm_var_q31.c rename to features/unsupported/dsp/cmsis_dsp/StatisticsFunctions/arm_var_q31.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_copy_f32.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_copy_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_copy_f32.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_copy_f32.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_copy_q15.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_copy_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_copy_q15.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_copy_q15.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_copy_q31.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_copy_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_copy_q31.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_copy_q31.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_copy_q7.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_copy_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_copy_q7.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_copy_q7.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_fill_f32.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_fill_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_fill_f32.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_fill_f32.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_fill_q15.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_fill_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_fill_q15.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_fill_q15.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_fill_q31.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_fill_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_fill_q31.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_fill_q31.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_fill_q7.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_fill_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_fill_q7.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_fill_q7.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q15.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q15.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q15.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q31.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q31.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q31.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q7.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q7.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_float_to_q7.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_float.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_float.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_float.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_float.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_q31.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_q31.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_q31.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_q7.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_q7.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q15_to_q7.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_float.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_float.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_float.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_float.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_q15.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_q15.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_q15.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_q7.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_q7.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_q7.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q31_to_q7.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_float.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_float.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_float.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_float.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_q15.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_q15.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_q15.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_q31.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_q31.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/arm_q7_to_q31.c diff --git a/libraries/dsp/cmsis_dsp/SupportFunctions/math_helper.c b/features/unsupported/dsp/cmsis_dsp/SupportFunctions/math_helper.c similarity index 100% rename from libraries/dsp/cmsis_dsp/SupportFunctions/math_helper.c rename to features/unsupported/dsp/cmsis_dsp/SupportFunctions/math_helper.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_bitreversal.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_bitreversal.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_bitreversal.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_bitreversal.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_bitreversal2.S b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_bitreversal2.S similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_bitreversal2.S rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_bitreversal2.S diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_q31.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix2_q31.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix4_q31.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix8_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix8_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix8_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_cfft_radix8_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_dct4_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_dct4_q31.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_fast_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_fast_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_fast_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_fast_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_fast_init_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_fast_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_fast_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_fast_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_f32.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_f32.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_f32.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_f32.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_init_q31.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_q15.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_q15.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_q15.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_q15.c diff --git a/libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_q31.c b/features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_q31.c similarity index 100% rename from libraries/dsp/cmsis_dsp/TransformFunctions/arm_rfft_q31.c rename to features/unsupported/dsp/cmsis_dsp/TransformFunctions/arm_rfft_q31.c diff --git a/libraries/dsp/cmsis_dsp/arm_common_tables.h b/features/unsupported/dsp/cmsis_dsp/arm_common_tables.h similarity index 100% rename from libraries/dsp/cmsis_dsp/arm_common_tables.h rename to features/unsupported/dsp/cmsis_dsp/arm_common_tables.h diff --git a/hal/targets/cmsis/arm_const_structs.h b/features/unsupported/dsp/cmsis_dsp/arm_const_structs.h old mode 100755 new mode 100644 similarity index 100% rename from hal/targets/cmsis/arm_const_structs.h rename to features/unsupported/dsp/cmsis_dsp/arm_const_structs.h diff --git a/libraries/dsp/cmsis_dsp/arm_math.h b/features/unsupported/dsp/cmsis_dsp/arm_math.h similarity index 100% rename from libraries/dsp/cmsis_dsp/arm_math.h rename to features/unsupported/dsp/cmsis_dsp/arm_math.h diff --git a/libraries/dsp/cmsis_dsp/math_helper.h b/features/unsupported/dsp/cmsis_dsp/math_helper.h similarity index 100% rename from libraries/dsp/cmsis_dsp/math_helper.h rename to features/unsupported/dsp/cmsis_dsp/math_helper.h diff --git a/libraries/dsp/dsp/FIR_f32.h b/features/unsupported/dsp/dsp/FIR_f32.h similarity index 100% rename from libraries/dsp/dsp/FIR_f32.h rename to features/unsupported/dsp/dsp/FIR_f32.h diff --git a/libraries/dsp/dsp/Sine_f32.cpp b/features/unsupported/dsp/dsp/Sine_f32.cpp similarity index 100% rename from libraries/dsp/dsp/Sine_f32.cpp rename to features/unsupported/dsp/dsp/Sine_f32.cpp diff --git a/libraries/dsp/dsp/Sine_f32.h b/features/unsupported/dsp/dsp/Sine_f32.h similarity index 100% rename from libraries/dsp/dsp/Sine_f32.h rename to features/unsupported/dsp/dsp/Sine_f32.h diff --git a/libraries/dsp/dsp/dsp.h b/features/unsupported/dsp/dsp/dsp.h similarity index 100% rename from libraries/dsp/dsp/dsp.h rename to features/unsupported/dsp/dsp/dsp.h diff --git a/libraries/fs/fat/ChaN/ccsbcs.cpp b/features/unsupported/fs/fat/ChaN/ccsbcs.cpp similarity index 100% rename from libraries/fs/fat/ChaN/ccsbcs.cpp rename to features/unsupported/fs/fat/ChaN/ccsbcs.cpp diff --git a/libraries/fs/fat/ChaN/diskio.cpp b/features/unsupported/fs/fat/ChaN/diskio.cpp similarity index 100% rename from libraries/fs/fat/ChaN/diskio.cpp rename to features/unsupported/fs/fat/ChaN/diskio.cpp diff --git a/libraries/fs/fat/ChaN/diskio.h b/features/unsupported/fs/fat/ChaN/diskio.h similarity index 100% rename from libraries/fs/fat/ChaN/diskio.h rename to features/unsupported/fs/fat/ChaN/diskio.h diff --git a/libraries/fs/fat/ChaN/ff.cpp b/features/unsupported/fs/fat/ChaN/ff.cpp similarity index 100% rename from libraries/fs/fat/ChaN/ff.cpp rename to features/unsupported/fs/fat/ChaN/ff.cpp diff --git a/libraries/fs/fat/ChaN/ff.h b/features/unsupported/fs/fat/ChaN/ff.h similarity index 100% rename from libraries/fs/fat/ChaN/ff.h rename to features/unsupported/fs/fat/ChaN/ff.h diff --git a/libraries/fs/fat/ChaN/ffconf.h b/features/unsupported/fs/fat/ChaN/ffconf.h similarity index 100% rename from libraries/fs/fat/ChaN/ffconf.h rename to features/unsupported/fs/fat/ChaN/ffconf.h diff --git a/libraries/fs/fat/ChaN/integer.h b/features/unsupported/fs/fat/ChaN/integer.h similarity index 100% rename from libraries/fs/fat/ChaN/integer.h rename to features/unsupported/fs/fat/ChaN/integer.h diff --git a/libraries/fs/fat/FATDirHandle.cpp b/features/unsupported/fs/fat/FATDirHandle.cpp similarity index 100% rename from libraries/fs/fat/FATDirHandle.cpp rename to features/unsupported/fs/fat/FATDirHandle.cpp diff --git a/libraries/fs/fat/FATDirHandle.h b/features/unsupported/fs/fat/FATDirHandle.h similarity index 100% rename from libraries/fs/fat/FATDirHandle.h rename to features/unsupported/fs/fat/FATDirHandle.h diff --git a/libraries/fs/fat/FATFileHandle.cpp b/features/unsupported/fs/fat/FATFileHandle.cpp similarity index 100% rename from libraries/fs/fat/FATFileHandle.cpp rename to features/unsupported/fs/fat/FATFileHandle.cpp diff --git a/libraries/fs/fat/FATFileHandle.h b/features/unsupported/fs/fat/FATFileHandle.h similarity index 100% rename from libraries/fs/fat/FATFileHandle.h rename to features/unsupported/fs/fat/FATFileHandle.h diff --git a/libraries/fs/fat/FATFileSystem.cpp b/features/unsupported/fs/fat/FATFileSystem.cpp similarity index 100% rename from libraries/fs/fat/FATFileSystem.cpp rename to features/unsupported/fs/fat/FATFileSystem.cpp diff --git a/libraries/fs/fat/FATFileSystem.h b/features/unsupported/fs/fat/FATFileSystem.h similarity index 100% rename from libraries/fs/fat/FATFileSystem.h rename to features/unsupported/fs/fat/FATFileSystem.h diff --git a/libraries/fs/fat/MemFileSystem.h b/features/unsupported/fs/fat/MemFileSystem.h similarity index 100% rename from libraries/fs/fat/MemFileSystem.h rename to features/unsupported/fs/fat/MemFileSystem.h diff --git a/libraries/fs/sd/SDFileSystem.cpp b/features/unsupported/fs/sd/SDFileSystem.cpp similarity index 100% rename from libraries/fs/sd/SDFileSystem.cpp rename to features/unsupported/fs/sd/SDFileSystem.cpp diff --git a/libraries/fs/sd/SDFileSystem.h b/features/unsupported/fs/sd/SDFileSystem.h similarity index 100% rename from libraries/fs/sd/SDFileSystem.h rename to features/unsupported/fs/sd/SDFileSystem.h diff --git a/libraries/net/cellular/CellularModem/CellularModem.h b/features/unsupported/net/cellular/CellularModem/CellularModem.h similarity index 100% rename from libraries/net/cellular/CellularModem/CellularModem.h rename to features/unsupported/net/cellular/CellularModem/CellularModem.h diff --git a/libraries/net/cellular/CellularModem/at/ATCommandsInterface.cpp b/features/unsupported/net/cellular/CellularModem/at/ATCommandsInterface.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/at/ATCommandsInterface.cpp rename to features/unsupported/net/cellular/CellularModem/at/ATCommandsInterface.cpp diff --git a/libraries/net/cellular/CellularModem/at/ATCommandsInterface.h b/features/unsupported/net/cellular/CellularModem/at/ATCommandsInterface.h similarity index 100% rename from libraries/net/cellular/CellularModem/at/ATCommandsInterface.h rename to features/unsupported/net/cellular/CellularModem/at/ATCommandsInterface.h diff --git a/libraries/net/cellular/CellularModem/core/IOStream.h b/features/unsupported/net/cellular/CellularModem/core/IOStream.h similarity index 100% rename from libraries/net/cellular/CellularModem/core/IOStream.h rename to features/unsupported/net/cellular/CellularModem/core/IOStream.h diff --git a/libraries/net/cellular/CellularModem/core/MtxCircBuffer.h b/features/unsupported/net/cellular/CellularModem/core/MtxCircBuffer.h similarity index 100% rename from libraries/net/cellular/CellularModem/core/MtxCircBuffer.h rename to features/unsupported/net/cellular/CellularModem/core/MtxCircBuffer.h diff --git a/libraries/net/cellular/CellularModem/core/config.h b/features/unsupported/net/cellular/CellularModem/core/config.h similarity index 100% rename from libraries/net/cellular/CellularModem/core/config.h rename to features/unsupported/net/cellular/CellularModem/core/config.h diff --git a/libraries/net/cellular/CellularModem/core/dbg.cpp b/features/unsupported/net/cellular/CellularModem/core/dbg.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/core/dbg.cpp rename to features/unsupported/net/cellular/CellularModem/core/dbg.cpp diff --git a/libraries/net/cellular/CellularModem/core/dbg.h b/features/unsupported/net/cellular/CellularModem/core/dbg.h similarity index 100% rename from libraries/net/cellular/CellularModem/core/dbg.h rename to features/unsupported/net/cellular/CellularModem/core/dbg.h diff --git a/libraries/net/cellular/CellularModem/core/errors.h b/features/unsupported/net/cellular/CellularModem/core/errors.h similarity index 100% rename from libraries/net/cellular/CellularModem/core/errors.h rename to features/unsupported/net/cellular/CellularModem/core/errors.h diff --git a/libraries/net/cellular/CellularModem/core/fwk.h b/features/unsupported/net/cellular/CellularModem/core/fwk.h similarity index 100% rename from libraries/net/cellular/CellularModem/core/fwk.h rename to features/unsupported/net/cellular/CellularModem/core/fwk.h diff --git a/libraries/net/cellular/CellularModem/ip/IPInterface.cpp b/features/unsupported/net/cellular/CellularModem/ip/IPInterface.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/ip/IPInterface.cpp rename to features/unsupported/net/cellular/CellularModem/ip/IPInterface.cpp diff --git a/libraries/net/cellular/CellularModem/ip/IPInterface.h b/features/unsupported/net/cellular/CellularModem/ip/IPInterface.h similarity index 100% rename from libraries/net/cellular/CellularModem/ip/IPInterface.h rename to features/unsupported/net/cellular/CellularModem/ip/IPInterface.h diff --git a/libraries/net/cellular/CellularModem/ip/LwIPInterface.cpp b/features/unsupported/net/cellular/CellularModem/ip/LwIPInterface.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/ip/LwIPInterface.cpp rename to features/unsupported/net/cellular/CellularModem/ip/LwIPInterface.cpp diff --git a/libraries/net/cellular/CellularModem/ip/LwIPInterface.h b/features/unsupported/net/cellular/CellularModem/ip/LwIPInterface.h similarity index 100% rename from libraries/net/cellular/CellularModem/ip/LwIPInterface.h rename to features/unsupported/net/cellular/CellularModem/ip/LwIPInterface.h diff --git a/libraries/net/cellular/CellularModem/ip/PPPIPInterface.cpp b/features/unsupported/net/cellular/CellularModem/ip/PPPIPInterface.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/ip/PPPIPInterface.cpp rename to features/unsupported/net/cellular/CellularModem/ip/PPPIPInterface.cpp diff --git a/libraries/net/cellular/CellularModem/ip/PPPIPInterface.h b/features/unsupported/net/cellular/CellularModem/ip/PPPIPInterface.h similarity index 100% rename from libraries/net/cellular/CellularModem/ip/PPPIPInterface.h rename to features/unsupported/net/cellular/CellularModem/ip/PPPIPInterface.h diff --git a/libraries/net/cellular/CellularModem/link/LinkMonitor.cpp b/features/unsupported/net/cellular/CellularModem/link/LinkMonitor.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/link/LinkMonitor.cpp rename to features/unsupported/net/cellular/CellularModem/link/LinkMonitor.cpp diff --git a/libraries/net/cellular/CellularModem/link/LinkMonitor.h b/features/unsupported/net/cellular/CellularModem/link/LinkMonitor.h similarity index 100% rename from libraries/net/cellular/CellularModem/link/LinkMonitor.h rename to features/unsupported/net/cellular/CellularModem/link/LinkMonitor.h diff --git a/libraries/net/cellular/CellularModem/lwipopts_conf.h b/features/unsupported/net/cellular/CellularModem/lwipopts_conf.h similarity index 100% rename from libraries/net/cellular/CellularModem/lwipopts_conf.h rename to features/unsupported/net/cellular/CellularModem/lwipopts_conf.h diff --git a/libraries/net/cellular/CellularModem/sms/CDMASMSInterface.cpp b/features/unsupported/net/cellular/CellularModem/sms/CDMASMSInterface.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/sms/CDMASMSInterface.cpp rename to features/unsupported/net/cellular/CellularModem/sms/CDMASMSInterface.cpp diff --git a/libraries/net/cellular/CellularModem/sms/CDMASMSInterface.h b/features/unsupported/net/cellular/CellularModem/sms/CDMASMSInterface.h similarity index 100% rename from libraries/net/cellular/CellularModem/sms/CDMASMSInterface.h rename to features/unsupported/net/cellular/CellularModem/sms/CDMASMSInterface.h diff --git a/libraries/net/cellular/CellularModem/sms/GSMSMSInterface.cpp b/features/unsupported/net/cellular/CellularModem/sms/GSMSMSInterface.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/sms/GSMSMSInterface.cpp rename to features/unsupported/net/cellular/CellularModem/sms/GSMSMSInterface.cpp diff --git a/libraries/net/cellular/CellularModem/sms/GSMSMSInterface.h b/features/unsupported/net/cellular/CellularModem/sms/GSMSMSInterface.h similarity index 100% rename from libraries/net/cellular/CellularModem/sms/GSMSMSInterface.h rename to features/unsupported/net/cellular/CellularModem/sms/GSMSMSInterface.h diff --git a/libraries/net/cellular/CellularModem/sms/SMSInterface.h b/features/unsupported/net/cellular/CellularModem/sms/SMSInterface.h similarity index 100% rename from libraries/net/cellular/CellularModem/sms/SMSInterface.h rename to features/unsupported/net/cellular/CellularModem/sms/SMSInterface.h diff --git a/libraries/net/cellular/CellularModem/ussd/USSDInterface.cpp b/features/unsupported/net/cellular/CellularModem/ussd/USSDInterface.cpp similarity index 100% rename from libraries/net/cellular/CellularModem/ussd/USSDInterface.cpp rename to features/unsupported/net/cellular/CellularModem/ussd/USSDInterface.cpp diff --git a/libraries/net/cellular/CellularModem/ussd/USSDInterface.h b/features/unsupported/net/cellular/CellularModem/ussd/USSDInterface.h similarity index 100% rename from libraries/net/cellular/CellularModem/ussd/USSDInterface.h rename to features/unsupported/net/cellular/CellularModem/ussd/USSDInterface.h diff --git a/libraries/net/cellular/CellularUSBModem/serial/io/IOSerialStream.cpp b/features/unsupported/net/cellular/CellularUSBModem/serial/io/IOSerialStream.cpp similarity index 100% rename from libraries/net/cellular/CellularUSBModem/serial/io/IOSerialStream.cpp rename to features/unsupported/net/cellular/CellularUSBModem/serial/io/IOSerialStream.cpp diff --git a/libraries/net/cellular/CellularUSBModem/serial/io/IOSerialStream.h b/features/unsupported/net/cellular/CellularUSBModem/serial/io/IOSerialStream.h similarity index 100% rename from libraries/net/cellular/CellularUSBModem/serial/io/IOSerialStream.h rename to features/unsupported/net/cellular/CellularUSBModem/serial/io/IOSerialStream.h diff --git a/libraries/net/cellular/CellularUSBModem/serial/usb/USBSerialStream.cpp b/features/unsupported/net/cellular/CellularUSBModem/serial/usb/USBSerialStream.cpp similarity index 100% rename from libraries/net/cellular/CellularUSBModem/serial/usb/USBSerialStream.cpp rename to features/unsupported/net/cellular/CellularUSBModem/serial/usb/USBSerialStream.cpp diff --git a/libraries/net/cellular/CellularUSBModem/serial/usb/USBSerialStream.h b/features/unsupported/net/cellular/CellularUSBModem/serial/usb/USBSerialStream.h similarity index 100% rename from libraries/net/cellular/CellularUSBModem/serial/usb/USBSerialStream.h rename to features/unsupported/net/cellular/CellularUSBModem/serial/usb/USBSerialStream.h diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxCDMAModemInitializer.cpp b/features/unsupported/net/cellular/UbloxUSBModem/UbloxCDMAModemInitializer.cpp similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxCDMAModemInitializer.cpp rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxCDMAModemInitializer.cpp diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxCDMAModemInitializer.h b/features/unsupported/net/cellular/UbloxUSBModem/UbloxCDMAModemInitializer.h similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxCDMAModemInitializer.h rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxCDMAModemInitializer.h diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxGSMModemInitializer.cpp b/features/unsupported/net/cellular/UbloxUSBModem/UbloxGSMModemInitializer.cpp similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxGSMModemInitializer.cpp rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxGSMModemInitializer.cpp diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxGSMModemInitializer.h b/features/unsupported/net/cellular/UbloxUSBModem/UbloxGSMModemInitializer.h similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxGSMModemInitializer.h rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxGSMModemInitializer.h diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxModem.cpp b/features/unsupported/net/cellular/UbloxUSBModem/UbloxModem.cpp similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxModem.cpp rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxModem.cpp diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxModem.h b/features/unsupported/net/cellular/UbloxUSBModem/UbloxModem.h similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxModem.h rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxModem.h diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxUSBCDMAModem.cpp b/features/unsupported/net/cellular/UbloxUSBModem/UbloxUSBCDMAModem.cpp similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxUSBCDMAModem.cpp rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxUSBCDMAModem.cpp diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxUSBCDMAModem.h b/features/unsupported/net/cellular/UbloxUSBModem/UbloxUSBCDMAModem.h similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxUSBCDMAModem.h rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxUSBCDMAModem.h diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxUSBGSMModem.cpp b/features/unsupported/net/cellular/UbloxUSBModem/UbloxUSBGSMModem.cpp similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxUSBGSMModem.cpp rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxUSBGSMModem.cpp diff --git a/libraries/net/cellular/UbloxUSBModem/UbloxUSBGSMModem.h b/features/unsupported/net/cellular/UbloxUSBModem/UbloxUSBGSMModem.h similarity index 100% rename from libraries/net/cellular/UbloxUSBModem/UbloxUSBGSMModem.h rename to features/unsupported/net/cellular/UbloxUSBModem/UbloxUSBGSMModem.h diff --git a/libraries/net/eth/EthernetInterface/EthernetInterface.cpp b/features/unsupported/net/eth/EthernetInterface/EthernetInterface.cpp similarity index 100% rename from libraries/net/eth/EthernetInterface/EthernetInterface.cpp rename to features/unsupported/net/eth/EthernetInterface/EthernetInterface.cpp diff --git a/libraries/net/eth/EthernetInterface/EthernetInterface.h b/features/unsupported/net/eth/EthernetInterface/EthernetInterface.h similarity index 100% rename from libraries/net/eth/EthernetInterface/EthernetInterface.h rename to features/unsupported/net/eth/EthernetInterface/EthernetInterface.h diff --git a/libraries/net/eth/EthernetInterface/eth_arch.h b/features/unsupported/net/eth/EthernetInterface/eth_arch.h similarity index 100% rename from libraries/net/eth/EthernetInterface/eth_arch.h rename to features/unsupported/net/eth/EthernetInterface/eth_arch.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_Freescale/hardware_init_MK64F12.c b/features/unsupported/net/eth/lwip-eth/arch/TARGET_Freescale/hardware_init_MK64F12.c similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_Freescale/hardware_init_MK64F12.c rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_Freescale/hardware_init_MK64F12.c diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac.c b/features/unsupported/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac.c similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac.c rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac.c diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac_config.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac_config.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac_config.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_Freescale/k64f_emac_config.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_Freescale/lwipopts_conf.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_Freescale/lwipopts_conf.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_Freescale/lwipopts_conf.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_Freescale/lwipopts_conf.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc17_emac.c b/features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc17_emac.c similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc17_emac.c rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc17_emac.c diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc17xx_emac.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc17xx_emac.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc17xx_emac.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc17xx_emac.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc_emac_config.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc_emac_config.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc_emac_config.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc_emac_config.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc_phy.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc_phy.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc_phy.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc_phy.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc_phy_dp83848.c b/features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc_phy_dp83848.c similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_NXP/lpc_phy_dp83848.c rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lpc_phy_dp83848.c diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_NXP/lwipopts_conf.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lwipopts_conf.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_NXP/lwipopts_conf.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_NXP/lwipopts_conf.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_RZ_A1H/lwipopts_conf.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_RZ_A1H/lwipopts_conf.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_RZ_A1H/lwipopts_conf.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_RZ_A1H/lwipopts_conf.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_RZ_A1H/rza1_emac.c b/features/unsupported/net/eth/lwip-eth/arch/TARGET_RZ_A1H/rza1_emac.c similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_RZ_A1H/rza1_emac.c rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_RZ_A1H/rza1_emac.c diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_STM/lwipopts_conf.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_STM/lwipopts_conf.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_STM/lwipopts_conf.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_STM/lwipopts_conf.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_STM/stm32f4_emac.c b/features/unsupported/net/eth/lwip-eth/arch/TARGET_STM/stm32f4_emac.c similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_STM/stm32f4_emac.c rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_STM/stm32f4_emac.c diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_VK_RZ_A1H/lwipopts_conf.h b/features/unsupported/net/eth/lwip-eth/arch/TARGET_VK_RZ_A1H/lwipopts_conf.h similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_VK_RZ_A1H/lwipopts_conf.h rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_VK_RZ_A1H/lwipopts_conf.h diff --git a/libraries/net/eth/lwip-eth/arch/TARGET_VK_RZ_A1H/rza1_emac.c b/features/unsupported/net/eth/lwip-eth/arch/TARGET_VK_RZ_A1H/rza1_emac.c similarity index 100% rename from libraries/net/eth/lwip-eth/arch/TARGET_VK_RZ_A1H/rza1_emac.c rename to features/unsupported/net/eth/lwip-eth/arch/TARGET_VK_RZ_A1H/rza1_emac.c diff --git a/libraries/net/https/HTTPHeader.cpp b/features/unsupported/net/https/HTTPHeader.cpp similarity index 100% rename from libraries/net/https/HTTPHeader.cpp rename to features/unsupported/net/https/HTTPHeader.cpp diff --git a/libraries/net/https/HTTPHeader.h b/features/unsupported/net/https/HTTPHeader.h similarity index 100% rename from libraries/net/https/HTTPHeader.h rename to features/unsupported/net/https/HTTPHeader.h diff --git a/libraries/net/https/HTTPSClient.cpp b/features/unsupported/net/https/HTTPSClient.cpp similarity index 100% rename from libraries/net/https/HTTPSClient.cpp rename to features/unsupported/net/https/HTTPSClient.cpp diff --git a/libraries/net/https/HTTPSClient.h b/features/unsupported/net/https/HTTPSClient.h similarity index 100% rename from libraries/net/https/HTTPSClient.h rename to features/unsupported/net/https/HTTPSClient.h diff --git a/libraries/net/https/axTLS/crypto/aes.c b/features/unsupported/net/https/axTLS/crypto/aes.c similarity index 100% rename from libraries/net/https/axTLS/crypto/aes.c rename to features/unsupported/net/https/axTLS/crypto/aes.c diff --git a/libraries/net/https/axTLS/crypto/bigint.c b/features/unsupported/net/https/axTLS/crypto/bigint.c similarity index 100% rename from libraries/net/https/axTLS/crypto/bigint.c rename to features/unsupported/net/https/axTLS/crypto/bigint.c diff --git a/libraries/net/https/axTLS/crypto/bigint.h b/features/unsupported/net/https/axTLS/crypto/bigint.h similarity index 100% rename from libraries/net/https/axTLS/crypto/bigint.h rename to features/unsupported/net/https/axTLS/crypto/bigint.h diff --git a/libraries/net/https/axTLS/crypto/bigint_impl.h b/features/unsupported/net/https/axTLS/crypto/bigint_impl.h similarity index 100% rename from libraries/net/https/axTLS/crypto/bigint_impl.h rename to features/unsupported/net/https/axTLS/crypto/bigint_impl.h diff --git a/libraries/net/https/axTLS/crypto/crypto.h b/features/unsupported/net/https/axTLS/crypto/crypto.h similarity index 100% rename from libraries/net/https/axTLS/crypto/crypto.h rename to features/unsupported/net/https/axTLS/crypto/crypto.h diff --git a/libraries/net/https/axTLS/crypto/crypto_misc.c b/features/unsupported/net/https/axTLS/crypto/crypto_misc.c similarity index 100% rename from libraries/net/https/axTLS/crypto/crypto_misc.c rename to features/unsupported/net/https/axTLS/crypto/crypto_misc.c diff --git a/libraries/net/https/axTLS/crypto/hmac.c b/features/unsupported/net/https/axTLS/crypto/hmac.c similarity index 100% rename from libraries/net/https/axTLS/crypto/hmac.c rename to features/unsupported/net/https/axTLS/crypto/hmac.c diff --git a/libraries/net/https/axTLS/crypto/md2.c b/features/unsupported/net/https/axTLS/crypto/md2.c similarity index 100% rename from libraries/net/https/axTLS/crypto/md2.c rename to features/unsupported/net/https/axTLS/crypto/md2.c diff --git a/libraries/net/https/axTLS/crypto/md5.c b/features/unsupported/net/https/axTLS/crypto/md5.c similarity index 100% rename from libraries/net/https/axTLS/crypto/md5.c rename to features/unsupported/net/https/axTLS/crypto/md5.c diff --git a/libraries/net/https/axTLS/crypto/os_int.h b/features/unsupported/net/https/axTLS/crypto/os_int.h similarity index 100% rename from libraries/net/https/axTLS/crypto/os_int.h rename to features/unsupported/net/https/axTLS/crypto/os_int.h diff --git a/libraries/net/https/axTLS/crypto/rc4.c b/features/unsupported/net/https/axTLS/crypto/rc4.c similarity index 100% rename from libraries/net/https/axTLS/crypto/rc4.c rename to features/unsupported/net/https/axTLS/crypto/rc4.c diff --git a/libraries/net/https/axTLS/crypto/rsa.c b/features/unsupported/net/https/axTLS/crypto/rsa.c similarity index 100% rename from libraries/net/https/axTLS/crypto/rsa.c rename to features/unsupported/net/https/axTLS/crypto/rsa.c diff --git a/libraries/net/https/axTLS/crypto/sha1.c b/features/unsupported/net/https/axTLS/crypto/sha1.c similarity index 100% rename from libraries/net/https/axTLS/crypto/sha1.c rename to features/unsupported/net/https/axTLS/crypto/sha1.c diff --git a/libraries/net/https/axTLS/ssl/asn1.c b/features/unsupported/net/https/axTLS/ssl/asn1.c similarity index 100% rename from libraries/net/https/axTLS/ssl/asn1.c rename to features/unsupported/net/https/axTLS/ssl/asn1.c diff --git a/libraries/net/https/axTLS/ssl/cert.h b/features/unsupported/net/https/axTLS/ssl/cert.h similarity index 100% rename from libraries/net/https/axTLS/ssl/cert.h rename to features/unsupported/net/https/axTLS/ssl/cert.h diff --git a/libraries/net/https/axTLS/ssl/config.h b/features/unsupported/net/https/axTLS/ssl/config.h similarity index 100% rename from libraries/net/https/axTLS/ssl/config.h rename to features/unsupported/net/https/axTLS/ssl/config.h diff --git a/libraries/net/https/axTLS/ssl/crypto_misc.h b/features/unsupported/net/https/axTLS/ssl/crypto_misc.h similarity index 100% rename from libraries/net/https/axTLS/ssl/crypto_misc.h rename to features/unsupported/net/https/axTLS/ssl/crypto_misc.h diff --git a/libraries/net/https/axTLS/ssl/gen_cert.c b/features/unsupported/net/https/axTLS/ssl/gen_cert.c similarity index 100% rename from libraries/net/https/axTLS/ssl/gen_cert.c rename to features/unsupported/net/https/axTLS/ssl/gen_cert.c diff --git a/libraries/net/https/axTLS/ssl/loader.c b/features/unsupported/net/https/axTLS/ssl/loader.c similarity index 100% rename from libraries/net/https/axTLS/ssl/loader.c rename to features/unsupported/net/https/axTLS/ssl/loader.c diff --git a/libraries/net/https/axTLS/ssl/openssl.c b/features/unsupported/net/https/axTLS/ssl/openssl.c similarity index 100% rename from libraries/net/https/axTLS/ssl/openssl.c rename to features/unsupported/net/https/axTLS/ssl/openssl.c diff --git a/libraries/net/https/axTLS/ssl/os_port.c b/features/unsupported/net/https/axTLS/ssl/os_port.c similarity index 100% rename from libraries/net/https/axTLS/ssl/os_port.c rename to features/unsupported/net/https/axTLS/ssl/os_port.c diff --git a/libraries/net/https/axTLS/ssl/os_port.h b/features/unsupported/net/https/axTLS/ssl/os_port.h similarity index 100% rename from libraries/net/https/axTLS/ssl/os_port.h rename to features/unsupported/net/https/axTLS/ssl/os_port.h diff --git a/libraries/net/https/axTLS/ssl/os_port_old.h b/features/unsupported/net/https/axTLS/ssl/os_port_old.h similarity index 100% rename from libraries/net/https/axTLS/ssl/os_port_old.h rename to features/unsupported/net/https/axTLS/ssl/os_port_old.h diff --git a/libraries/net/https/axTLS/ssl/p12.c b/features/unsupported/net/https/axTLS/ssl/p12.c similarity index 100% rename from libraries/net/https/axTLS/ssl/p12.c rename to features/unsupported/net/https/axTLS/ssl/p12.c diff --git a/libraries/net/https/axTLS/ssl/private_key.h b/features/unsupported/net/https/axTLS/ssl/private_key.h similarity index 100% rename from libraries/net/https/axTLS/ssl/private_key.h rename to features/unsupported/net/https/axTLS/ssl/private_key.h diff --git a/libraries/net/https/axTLS/ssl/ssl.h b/features/unsupported/net/https/axTLS/ssl/ssl.h similarity index 100% rename from libraries/net/https/axTLS/ssl/ssl.h rename to features/unsupported/net/https/axTLS/ssl/ssl.h diff --git a/libraries/net/https/axTLS/ssl/tls1.c b/features/unsupported/net/https/axTLS/ssl/tls1.c similarity index 100% rename from libraries/net/https/axTLS/ssl/tls1.c rename to features/unsupported/net/https/axTLS/ssl/tls1.c diff --git a/libraries/net/https/axTLS/ssl/tls1.h b/features/unsupported/net/https/axTLS/ssl/tls1.h similarity index 100% rename from libraries/net/https/axTLS/ssl/tls1.h rename to features/unsupported/net/https/axTLS/ssl/tls1.h diff --git a/libraries/net/https/axTLS/ssl/tls1_clnt.c b/features/unsupported/net/https/axTLS/ssl/tls1_clnt.c similarity index 100% rename from libraries/net/https/axTLS/ssl/tls1_clnt.c rename to features/unsupported/net/https/axTLS/ssl/tls1_clnt.c diff --git a/libraries/net/https/axTLS/ssl/tls1_svr.c b/features/unsupported/net/https/axTLS/ssl/tls1_svr.c similarity index 100% rename from libraries/net/https/axTLS/ssl/tls1_svr.c rename to features/unsupported/net/https/axTLS/ssl/tls1_svr.c diff --git a/libraries/net/https/axTLS/ssl/version.h b/features/unsupported/net/https/axTLS/ssl/version.h similarity index 100% rename from libraries/net/https/axTLS/ssl/version.h rename to features/unsupported/net/https/axTLS/ssl/version.h diff --git a/libraries/net/https/axTLS/ssl/x509.c b/features/unsupported/net/https/axTLS/ssl/x509.c similarity index 100% rename from libraries/net/https/axTLS/ssl/x509.c rename to features/unsupported/net/https/axTLS/ssl/x509.c diff --git a/libraries/net/lwip/Socket/Endpoint.cpp b/features/unsupported/net/lwip/Socket/Endpoint.cpp similarity index 100% rename from libraries/net/lwip/Socket/Endpoint.cpp rename to features/unsupported/net/lwip/Socket/Endpoint.cpp diff --git a/libraries/net/lwip/Socket/Endpoint.h b/features/unsupported/net/lwip/Socket/Endpoint.h similarity index 100% rename from libraries/net/lwip/Socket/Endpoint.h rename to features/unsupported/net/lwip/Socket/Endpoint.h diff --git a/libraries/net/lwip/Socket/Socket.cpp b/features/unsupported/net/lwip/Socket/Socket.cpp similarity index 100% rename from libraries/net/lwip/Socket/Socket.cpp rename to features/unsupported/net/lwip/Socket/Socket.cpp diff --git a/libraries/net/lwip/Socket/Socket.h b/features/unsupported/net/lwip/Socket/Socket.h similarity index 100% rename from libraries/net/lwip/Socket/Socket.h rename to features/unsupported/net/lwip/Socket/Socket.h diff --git a/libraries/net/lwip/Socket/TCPSocketConnection.cpp b/features/unsupported/net/lwip/Socket/TCPSocketConnection.cpp similarity index 100% rename from libraries/net/lwip/Socket/TCPSocketConnection.cpp rename to features/unsupported/net/lwip/Socket/TCPSocketConnection.cpp diff --git a/libraries/net/lwip/Socket/TCPSocketConnection.h b/features/unsupported/net/lwip/Socket/TCPSocketConnection.h similarity index 100% rename from libraries/net/lwip/Socket/TCPSocketConnection.h rename to features/unsupported/net/lwip/Socket/TCPSocketConnection.h diff --git a/libraries/net/lwip/Socket/TCPSocketServer.cpp b/features/unsupported/net/lwip/Socket/TCPSocketServer.cpp similarity index 100% rename from libraries/net/lwip/Socket/TCPSocketServer.cpp rename to features/unsupported/net/lwip/Socket/TCPSocketServer.cpp diff --git a/libraries/net/lwip/Socket/TCPSocketServer.h b/features/unsupported/net/lwip/Socket/TCPSocketServer.h similarity index 100% rename from libraries/net/lwip/Socket/TCPSocketServer.h rename to features/unsupported/net/lwip/Socket/TCPSocketServer.h diff --git a/libraries/net/lwip/Socket/UDPSocket.cpp b/features/unsupported/net/lwip/Socket/UDPSocket.cpp similarity index 100% rename from libraries/net/lwip/Socket/UDPSocket.cpp rename to features/unsupported/net/lwip/Socket/UDPSocket.cpp diff --git a/libraries/net/lwip/Socket/UDPSocket.h b/features/unsupported/net/lwip/Socket/UDPSocket.h similarity index 100% rename from libraries/net/lwip/Socket/UDPSocket.h rename to features/unsupported/net/lwip/Socket/UDPSocket.h diff --git a/libraries/net/lwip/lwip-sys/arch/cc.h b/features/unsupported/net/lwip/lwip-sys/arch/cc.h similarity index 99% rename from libraries/net/lwip/lwip-sys/arch/cc.h rename to features/unsupported/net/lwip/lwip-sys/arch/cc.h index 00b6782d3b7..c960cbe9d67 100644 --- a/libraries/net/lwip/lwip-sys/arch/cc.h +++ b/features/unsupported/net/lwip/lwip-sys/arch/cc.h @@ -33,6 +33,7 @@ #define __CC_H__ #include +#include /* Types based on stdint.h */ typedef uint8_t u8_t; diff --git a/libraries/net/lwip/lwip-sys/arch/checksum.c b/features/unsupported/net/lwip/lwip-sys/arch/checksum.c similarity index 100% rename from libraries/net/lwip/lwip-sys/arch/checksum.c rename to features/unsupported/net/lwip/lwip-sys/arch/checksum.c diff --git a/libraries/net/lwip/lwip-sys/arch/memcpy.c b/features/unsupported/net/lwip/lwip-sys/arch/memcpy.c similarity index 100% rename from libraries/net/lwip/lwip-sys/arch/memcpy.c rename to features/unsupported/net/lwip/lwip-sys/arch/memcpy.c diff --git a/libraries/net/lwip/lwip-sys/arch/perf.h b/features/unsupported/net/lwip/lwip-sys/arch/perf.h similarity index 100% rename from libraries/net/lwip/lwip-sys/arch/perf.h rename to features/unsupported/net/lwip/lwip-sys/arch/perf.h diff --git a/libraries/net/lwip/lwip-sys/arch/sys_arch.c b/features/unsupported/net/lwip/lwip-sys/arch/sys_arch.c similarity index 100% rename from libraries/net/lwip/lwip-sys/arch/sys_arch.c rename to features/unsupported/net/lwip/lwip-sys/arch/sys_arch.c diff --git a/libraries/net/lwip/lwip-sys/arch/sys_arch.h b/features/unsupported/net/lwip/lwip-sys/arch/sys_arch.h similarity index 100% rename from libraries/net/lwip/lwip-sys/arch/sys_arch.h rename to features/unsupported/net/lwip/lwip-sys/arch/sys_arch.h diff --git a/libraries/net/lwip/lwip/COPYING b/features/unsupported/net/lwip/lwip/COPYING similarity index 100% rename from libraries/net/lwip/lwip/COPYING rename to features/unsupported/net/lwip/lwip/COPYING diff --git a/libraries/net/lwip/lwip/api/api_lib.c b/features/unsupported/net/lwip/lwip/api/api_lib.c similarity index 100% rename from libraries/net/lwip/lwip/api/api_lib.c rename to features/unsupported/net/lwip/lwip/api/api_lib.c diff --git a/libraries/net/lwip/lwip/api/api_msg.c b/features/unsupported/net/lwip/lwip/api/api_msg.c similarity index 100% rename from libraries/net/lwip/lwip/api/api_msg.c rename to features/unsupported/net/lwip/lwip/api/api_msg.c diff --git a/libraries/net/lwip/lwip/api/err.c b/features/unsupported/net/lwip/lwip/api/err.c similarity index 100% rename from libraries/net/lwip/lwip/api/err.c rename to features/unsupported/net/lwip/lwip/api/err.c diff --git a/libraries/net/lwip/lwip/api/netbuf.c b/features/unsupported/net/lwip/lwip/api/netbuf.c similarity index 100% rename from libraries/net/lwip/lwip/api/netbuf.c rename to features/unsupported/net/lwip/lwip/api/netbuf.c diff --git a/libraries/net/lwip/lwip/api/netdb.c b/features/unsupported/net/lwip/lwip/api/netdb.c similarity index 100% rename from libraries/net/lwip/lwip/api/netdb.c rename to features/unsupported/net/lwip/lwip/api/netdb.c diff --git a/libraries/net/lwip/lwip/api/netifapi.c b/features/unsupported/net/lwip/lwip/api/netifapi.c similarity index 100% rename from libraries/net/lwip/lwip/api/netifapi.c rename to features/unsupported/net/lwip/lwip/api/netifapi.c diff --git a/libraries/net/lwip/lwip/api/sockets.c b/features/unsupported/net/lwip/lwip/api/sockets.c similarity index 100% rename from libraries/net/lwip/lwip/api/sockets.c rename to features/unsupported/net/lwip/lwip/api/sockets.c diff --git a/libraries/net/lwip/lwip/api/tcpip.c b/features/unsupported/net/lwip/lwip/api/tcpip.c similarity index 100% rename from libraries/net/lwip/lwip/api/tcpip.c rename to features/unsupported/net/lwip/lwip/api/tcpip.c diff --git a/libraries/net/lwip/lwip/core/def.c b/features/unsupported/net/lwip/lwip/core/def.c similarity index 100% rename from libraries/net/lwip/lwip/core/def.c rename to features/unsupported/net/lwip/lwip/core/def.c diff --git a/libraries/net/lwip/lwip/core/dhcp.c b/features/unsupported/net/lwip/lwip/core/dhcp.c similarity index 100% rename from libraries/net/lwip/lwip/core/dhcp.c rename to features/unsupported/net/lwip/lwip/core/dhcp.c diff --git a/libraries/net/lwip/lwip/core/dns.c b/features/unsupported/net/lwip/lwip/core/dns.c similarity index 100% rename from libraries/net/lwip/lwip/core/dns.c rename to features/unsupported/net/lwip/lwip/core/dns.c diff --git a/libraries/net/lwip/lwip/core/init.c b/features/unsupported/net/lwip/lwip/core/init.c similarity index 100% rename from libraries/net/lwip/lwip/core/init.c rename to features/unsupported/net/lwip/lwip/core/init.c diff --git a/libraries/net/lwip/lwip/core/ipv4/autoip.c b/features/unsupported/net/lwip/lwip/core/ipv4/autoip.c similarity index 100% rename from libraries/net/lwip/lwip/core/ipv4/autoip.c rename to features/unsupported/net/lwip/lwip/core/ipv4/autoip.c diff --git a/libraries/net/lwip/lwip/core/ipv4/icmp.c b/features/unsupported/net/lwip/lwip/core/ipv4/icmp.c similarity index 100% rename from libraries/net/lwip/lwip/core/ipv4/icmp.c rename to features/unsupported/net/lwip/lwip/core/ipv4/icmp.c diff --git a/libraries/net/lwip/lwip/core/ipv4/igmp.c b/features/unsupported/net/lwip/lwip/core/ipv4/igmp.c similarity index 100% rename from libraries/net/lwip/lwip/core/ipv4/igmp.c rename to features/unsupported/net/lwip/lwip/core/ipv4/igmp.c diff --git a/libraries/net/lwip/lwip/core/ipv4/inet.c b/features/unsupported/net/lwip/lwip/core/ipv4/inet.c similarity index 100% rename from libraries/net/lwip/lwip/core/ipv4/inet.c rename to features/unsupported/net/lwip/lwip/core/ipv4/inet.c diff --git a/libraries/net/lwip/lwip/core/ipv4/inet_chksum.c b/features/unsupported/net/lwip/lwip/core/ipv4/inet_chksum.c similarity index 100% rename from libraries/net/lwip/lwip/core/ipv4/inet_chksum.c rename to features/unsupported/net/lwip/lwip/core/ipv4/inet_chksum.c diff --git a/libraries/net/lwip/lwip/core/ipv4/ip.c b/features/unsupported/net/lwip/lwip/core/ipv4/ip.c similarity index 100% rename from libraries/net/lwip/lwip/core/ipv4/ip.c rename to features/unsupported/net/lwip/lwip/core/ipv4/ip.c diff --git a/libraries/net/lwip/lwip/core/ipv4/ip_addr.c b/features/unsupported/net/lwip/lwip/core/ipv4/ip_addr.c similarity index 100% rename from libraries/net/lwip/lwip/core/ipv4/ip_addr.c rename to features/unsupported/net/lwip/lwip/core/ipv4/ip_addr.c diff --git a/libraries/net/lwip/lwip/core/ipv4/ip_frag.c b/features/unsupported/net/lwip/lwip/core/ipv4/ip_frag.c similarity index 100% rename from libraries/net/lwip/lwip/core/ipv4/ip_frag.c rename to features/unsupported/net/lwip/lwip/core/ipv4/ip_frag.c diff --git a/libraries/net/lwip/lwip/core/mem.c b/features/unsupported/net/lwip/lwip/core/mem.c similarity index 100% rename from libraries/net/lwip/lwip/core/mem.c rename to features/unsupported/net/lwip/lwip/core/mem.c diff --git a/libraries/net/lwip/lwip/core/memp.c b/features/unsupported/net/lwip/lwip/core/memp.c similarity index 100% rename from libraries/net/lwip/lwip/core/memp.c rename to features/unsupported/net/lwip/lwip/core/memp.c diff --git a/libraries/net/lwip/lwip/core/netif.c b/features/unsupported/net/lwip/lwip/core/netif.c similarity index 100% rename from libraries/net/lwip/lwip/core/netif.c rename to features/unsupported/net/lwip/lwip/core/netif.c diff --git a/libraries/net/lwip/lwip/core/pbuf.c b/features/unsupported/net/lwip/lwip/core/pbuf.c similarity index 100% rename from libraries/net/lwip/lwip/core/pbuf.c rename to features/unsupported/net/lwip/lwip/core/pbuf.c diff --git a/libraries/net/lwip/lwip/core/raw.c b/features/unsupported/net/lwip/lwip/core/raw.c similarity index 100% rename from libraries/net/lwip/lwip/core/raw.c rename to features/unsupported/net/lwip/lwip/core/raw.c diff --git a/libraries/net/lwip/lwip/core/snmp/asn1_dec.c b/features/unsupported/net/lwip/lwip/core/snmp/asn1_dec.c similarity index 100% rename from libraries/net/lwip/lwip/core/snmp/asn1_dec.c rename to features/unsupported/net/lwip/lwip/core/snmp/asn1_dec.c diff --git a/libraries/net/lwip/lwip/core/snmp/asn1_enc.c b/features/unsupported/net/lwip/lwip/core/snmp/asn1_enc.c similarity index 100% rename from libraries/net/lwip/lwip/core/snmp/asn1_enc.c rename to features/unsupported/net/lwip/lwip/core/snmp/asn1_enc.c diff --git a/libraries/net/lwip/lwip/core/snmp/mib2.c b/features/unsupported/net/lwip/lwip/core/snmp/mib2.c similarity index 100% rename from libraries/net/lwip/lwip/core/snmp/mib2.c rename to features/unsupported/net/lwip/lwip/core/snmp/mib2.c diff --git a/libraries/net/lwip/lwip/core/snmp/mib_structs.c b/features/unsupported/net/lwip/lwip/core/snmp/mib_structs.c similarity index 100% rename from libraries/net/lwip/lwip/core/snmp/mib_structs.c rename to features/unsupported/net/lwip/lwip/core/snmp/mib_structs.c diff --git a/libraries/net/lwip/lwip/core/snmp/msg_in.c b/features/unsupported/net/lwip/lwip/core/snmp/msg_in.c similarity index 100% rename from libraries/net/lwip/lwip/core/snmp/msg_in.c rename to features/unsupported/net/lwip/lwip/core/snmp/msg_in.c diff --git a/libraries/net/lwip/lwip/core/snmp/msg_out.c b/features/unsupported/net/lwip/lwip/core/snmp/msg_out.c similarity index 100% rename from libraries/net/lwip/lwip/core/snmp/msg_out.c rename to features/unsupported/net/lwip/lwip/core/snmp/msg_out.c diff --git a/libraries/net/lwip/lwip/core/stats.c b/features/unsupported/net/lwip/lwip/core/stats.c similarity index 100% rename from libraries/net/lwip/lwip/core/stats.c rename to features/unsupported/net/lwip/lwip/core/stats.c diff --git a/libraries/net/lwip/lwip/core/tcp.c b/features/unsupported/net/lwip/lwip/core/tcp.c similarity index 100% rename from libraries/net/lwip/lwip/core/tcp.c rename to features/unsupported/net/lwip/lwip/core/tcp.c diff --git a/libraries/net/lwip/lwip/core/tcp_in.c b/features/unsupported/net/lwip/lwip/core/tcp_in.c similarity index 100% rename from libraries/net/lwip/lwip/core/tcp_in.c rename to features/unsupported/net/lwip/lwip/core/tcp_in.c diff --git a/libraries/net/lwip/lwip/core/tcp_out.c b/features/unsupported/net/lwip/lwip/core/tcp_out.c similarity index 100% rename from libraries/net/lwip/lwip/core/tcp_out.c rename to features/unsupported/net/lwip/lwip/core/tcp_out.c diff --git a/libraries/net/lwip/lwip/core/timers.c b/features/unsupported/net/lwip/lwip/core/timers.c similarity index 100% rename from libraries/net/lwip/lwip/core/timers.c rename to features/unsupported/net/lwip/lwip/core/timers.c diff --git a/libraries/net/lwip/lwip/core/udp.c b/features/unsupported/net/lwip/lwip/core/udp.c similarity index 100% rename from libraries/net/lwip/lwip/core/udp.c rename to features/unsupported/net/lwip/lwip/core/udp.c diff --git a/libraries/net/lwip/lwip/include/ipv4/lwip/autoip.h b/features/unsupported/net/lwip/lwip/include/ipv4/lwip/autoip.h similarity index 100% rename from libraries/net/lwip/lwip/include/ipv4/lwip/autoip.h rename to features/unsupported/net/lwip/lwip/include/ipv4/lwip/autoip.h diff --git a/libraries/net/lwip/lwip/include/ipv4/lwip/icmp.h b/features/unsupported/net/lwip/lwip/include/ipv4/lwip/icmp.h similarity index 100% rename from libraries/net/lwip/lwip/include/ipv4/lwip/icmp.h rename to features/unsupported/net/lwip/lwip/include/ipv4/lwip/icmp.h diff --git a/libraries/net/lwip/lwip/include/ipv4/lwip/igmp.h b/features/unsupported/net/lwip/lwip/include/ipv4/lwip/igmp.h similarity index 100% rename from libraries/net/lwip/lwip/include/ipv4/lwip/igmp.h rename to features/unsupported/net/lwip/lwip/include/ipv4/lwip/igmp.h diff --git a/libraries/net/lwip/lwip/include/ipv4/lwip/inet.h b/features/unsupported/net/lwip/lwip/include/ipv4/lwip/inet.h similarity index 100% rename from libraries/net/lwip/lwip/include/ipv4/lwip/inet.h rename to features/unsupported/net/lwip/lwip/include/ipv4/lwip/inet.h diff --git a/libraries/net/lwip/lwip/include/ipv4/lwip/inet_chksum.h b/features/unsupported/net/lwip/lwip/include/ipv4/lwip/inet_chksum.h similarity index 100% rename from libraries/net/lwip/lwip/include/ipv4/lwip/inet_chksum.h rename to features/unsupported/net/lwip/lwip/include/ipv4/lwip/inet_chksum.h diff --git a/libraries/net/lwip/lwip/include/ipv4/lwip/ip.h b/features/unsupported/net/lwip/lwip/include/ipv4/lwip/ip.h similarity index 100% rename from libraries/net/lwip/lwip/include/ipv4/lwip/ip.h rename to features/unsupported/net/lwip/lwip/include/ipv4/lwip/ip.h diff --git a/libraries/net/lwip/lwip/include/ipv4/lwip/ip_addr.h b/features/unsupported/net/lwip/lwip/include/ipv4/lwip/ip_addr.h similarity index 100% rename from libraries/net/lwip/lwip/include/ipv4/lwip/ip_addr.h rename to features/unsupported/net/lwip/lwip/include/ipv4/lwip/ip_addr.h diff --git a/libraries/net/lwip/lwip/include/ipv4/lwip/ip_frag.h b/features/unsupported/net/lwip/lwip/include/ipv4/lwip/ip_frag.h similarity index 100% rename from libraries/net/lwip/lwip/include/ipv4/lwip/ip_frag.h rename to features/unsupported/net/lwip/lwip/include/ipv4/lwip/ip_frag.h diff --git a/libraries/net/lwip/lwip/include/lwip/api.h b/features/unsupported/net/lwip/lwip/include/lwip/api.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/api.h rename to features/unsupported/net/lwip/lwip/include/lwip/api.h diff --git a/libraries/net/lwip/lwip/include/lwip/api_msg.h b/features/unsupported/net/lwip/lwip/include/lwip/api_msg.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/api_msg.h rename to features/unsupported/net/lwip/lwip/include/lwip/api_msg.h diff --git a/libraries/net/lwip/lwip/include/lwip/arch.h b/features/unsupported/net/lwip/lwip/include/lwip/arch.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/arch.h rename to features/unsupported/net/lwip/lwip/include/lwip/arch.h diff --git a/libraries/net/lwip/lwip/include/lwip/debug.h b/features/unsupported/net/lwip/lwip/include/lwip/debug.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/debug.h rename to features/unsupported/net/lwip/lwip/include/lwip/debug.h diff --git a/libraries/net/lwip/lwip/include/lwip/def.h b/features/unsupported/net/lwip/lwip/include/lwip/def.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/def.h rename to features/unsupported/net/lwip/lwip/include/lwip/def.h diff --git a/libraries/net/lwip/lwip/include/lwip/dhcp.h b/features/unsupported/net/lwip/lwip/include/lwip/dhcp.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/dhcp.h rename to features/unsupported/net/lwip/lwip/include/lwip/dhcp.h diff --git a/libraries/net/lwip/lwip/include/lwip/dns.h b/features/unsupported/net/lwip/lwip/include/lwip/dns.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/dns.h rename to features/unsupported/net/lwip/lwip/include/lwip/dns.h diff --git a/libraries/net/lwip/lwip/include/lwip/err.h b/features/unsupported/net/lwip/lwip/include/lwip/err.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/err.h rename to features/unsupported/net/lwip/lwip/include/lwip/err.h diff --git a/libraries/net/lwip/lwip/include/lwip/init.h b/features/unsupported/net/lwip/lwip/include/lwip/init.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/init.h rename to features/unsupported/net/lwip/lwip/include/lwip/init.h diff --git a/libraries/net/lwip/lwip/include/lwip/mem.h b/features/unsupported/net/lwip/lwip/include/lwip/mem.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/mem.h rename to features/unsupported/net/lwip/lwip/include/lwip/mem.h diff --git a/libraries/net/lwip/lwip/include/lwip/memp.h b/features/unsupported/net/lwip/lwip/include/lwip/memp.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/memp.h rename to features/unsupported/net/lwip/lwip/include/lwip/memp.h diff --git a/libraries/net/lwip/lwip/include/lwip/memp_std.h b/features/unsupported/net/lwip/lwip/include/lwip/memp_std.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/memp_std.h rename to features/unsupported/net/lwip/lwip/include/lwip/memp_std.h diff --git a/libraries/net/lwip/lwip/include/lwip/netbuf.h b/features/unsupported/net/lwip/lwip/include/lwip/netbuf.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/netbuf.h rename to features/unsupported/net/lwip/lwip/include/lwip/netbuf.h diff --git a/libraries/net/lwip/lwip/include/lwip/netdb.h b/features/unsupported/net/lwip/lwip/include/lwip/netdb.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/netdb.h rename to features/unsupported/net/lwip/lwip/include/lwip/netdb.h diff --git a/libraries/net/lwip/lwip/include/lwip/netif.h b/features/unsupported/net/lwip/lwip/include/lwip/netif.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/netif.h rename to features/unsupported/net/lwip/lwip/include/lwip/netif.h diff --git a/libraries/net/lwip/lwip/include/lwip/netifapi.h b/features/unsupported/net/lwip/lwip/include/lwip/netifapi.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/netifapi.h rename to features/unsupported/net/lwip/lwip/include/lwip/netifapi.h diff --git a/libraries/net/lwip/lwip/include/lwip/opt.h b/features/unsupported/net/lwip/lwip/include/lwip/opt.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/opt.h rename to features/unsupported/net/lwip/lwip/include/lwip/opt.h diff --git a/libraries/net/lwip/lwip/include/lwip/pbuf.h b/features/unsupported/net/lwip/lwip/include/lwip/pbuf.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/pbuf.h rename to features/unsupported/net/lwip/lwip/include/lwip/pbuf.h diff --git a/libraries/net/lwip/lwip/include/lwip/raw.h b/features/unsupported/net/lwip/lwip/include/lwip/raw.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/raw.h rename to features/unsupported/net/lwip/lwip/include/lwip/raw.h diff --git a/libraries/net/lwip/lwip/include/lwip/sio.h b/features/unsupported/net/lwip/lwip/include/lwip/sio.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/sio.h rename to features/unsupported/net/lwip/lwip/include/lwip/sio.h diff --git a/libraries/net/lwip/lwip/include/lwip/snmp.h b/features/unsupported/net/lwip/lwip/include/lwip/snmp.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/snmp.h rename to features/unsupported/net/lwip/lwip/include/lwip/snmp.h diff --git a/libraries/net/lwip/lwip/include/lwip/snmp_asn1.h b/features/unsupported/net/lwip/lwip/include/lwip/snmp_asn1.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/snmp_asn1.h rename to features/unsupported/net/lwip/lwip/include/lwip/snmp_asn1.h diff --git a/libraries/net/lwip/lwip/include/lwip/snmp_msg.h b/features/unsupported/net/lwip/lwip/include/lwip/snmp_msg.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/snmp_msg.h rename to features/unsupported/net/lwip/lwip/include/lwip/snmp_msg.h diff --git a/libraries/net/lwip/lwip/include/lwip/snmp_structs.h b/features/unsupported/net/lwip/lwip/include/lwip/snmp_structs.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/snmp_structs.h rename to features/unsupported/net/lwip/lwip/include/lwip/snmp_structs.h diff --git a/libraries/net/lwip/lwip/include/lwip/sockets.h b/features/unsupported/net/lwip/lwip/include/lwip/sockets.h similarity index 99% rename from libraries/net/lwip/lwip/include/lwip/sockets.h rename to features/unsupported/net/lwip/lwip/include/lwip/sockets.h index 3c8fed24e6e..57c4e14cff4 100644 --- a/libraries/net/lwip/lwip/include/lwip/sockets.h +++ b/features/unsupported/net/lwip/lwip/include/lwip/sockets.h @@ -304,7 +304,7 @@ typedef struct ip_mreq { /** LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided * by your system, set this to 0 and include in cc.h */ #ifndef LWIP_TIMEVAL_PRIVATE -#define LWIP_TIMEVAL_PRIVATE 1 +#define LWIP_TIMEVAL_PRIVATE 0 #endif #if LWIP_TIMEVAL_PRIVATE diff --git a/libraries/net/lwip/lwip/include/lwip/stats.h b/features/unsupported/net/lwip/lwip/include/lwip/stats.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/stats.h rename to features/unsupported/net/lwip/lwip/include/lwip/stats.h diff --git a/libraries/net/lwip/lwip/include/lwip/sys.h b/features/unsupported/net/lwip/lwip/include/lwip/sys.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/sys.h rename to features/unsupported/net/lwip/lwip/include/lwip/sys.h diff --git a/libraries/net/lwip/lwip/include/lwip/tcp.h b/features/unsupported/net/lwip/lwip/include/lwip/tcp.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/tcp.h rename to features/unsupported/net/lwip/lwip/include/lwip/tcp.h diff --git a/libraries/net/lwip/lwip/include/lwip/tcp_impl.h b/features/unsupported/net/lwip/lwip/include/lwip/tcp_impl.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/tcp_impl.h rename to features/unsupported/net/lwip/lwip/include/lwip/tcp_impl.h diff --git a/libraries/net/lwip/lwip/include/lwip/tcpip.h b/features/unsupported/net/lwip/lwip/include/lwip/tcpip.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/tcpip.h rename to features/unsupported/net/lwip/lwip/include/lwip/tcpip.h diff --git a/libraries/net/lwip/lwip/include/lwip/timers.h b/features/unsupported/net/lwip/lwip/include/lwip/timers.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/timers.h rename to features/unsupported/net/lwip/lwip/include/lwip/timers.h diff --git a/libraries/net/lwip/lwip/include/lwip/udp.h b/features/unsupported/net/lwip/lwip/include/lwip/udp.h similarity index 100% rename from libraries/net/lwip/lwip/include/lwip/udp.h rename to features/unsupported/net/lwip/lwip/include/lwip/udp.h diff --git a/libraries/net/lwip/lwip/include/netif/etharp.h b/features/unsupported/net/lwip/lwip/include/netif/etharp.h similarity index 100% rename from libraries/net/lwip/lwip/include/netif/etharp.h rename to features/unsupported/net/lwip/lwip/include/netif/etharp.h diff --git a/libraries/net/lwip/lwip/include/netif/ppp_oe.h b/features/unsupported/net/lwip/lwip/include/netif/ppp_oe.h similarity index 100% rename from libraries/net/lwip/lwip/include/netif/ppp_oe.h rename to features/unsupported/net/lwip/lwip/include/netif/ppp_oe.h diff --git a/libraries/net/lwip/lwip/include/netif/slipif.h b/features/unsupported/net/lwip/lwip/include/netif/slipif.h similarity index 100% rename from libraries/net/lwip/lwip/include/netif/slipif.h rename to features/unsupported/net/lwip/lwip/include/netif/slipif.h diff --git a/libraries/net/lwip/lwip/lwipopts.h b/features/unsupported/net/lwip/lwip/lwipopts.h similarity index 100% rename from libraries/net/lwip/lwip/lwipopts.h rename to features/unsupported/net/lwip/lwip/lwipopts.h diff --git a/libraries/net/lwip/lwip/netif/etharp.c b/features/unsupported/net/lwip/lwip/netif/etharp.c similarity index 100% rename from libraries/net/lwip/lwip/netif/etharp.c rename to features/unsupported/net/lwip/lwip/netif/etharp.c diff --git a/libraries/net/lwip/lwip/netif/ethernetif.c b/features/unsupported/net/lwip/lwip/netif/ethernetif.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ethernetif.c rename to features/unsupported/net/lwip/lwip/netif/ethernetif.c diff --git a/libraries/net/lwip/lwip/netif/ppp/auth.c b/features/unsupported/net/lwip/lwip/netif/ppp/auth.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/auth.c rename to features/unsupported/net/lwip/lwip/netif/ppp/auth.c diff --git a/libraries/net/lwip/lwip/netif/ppp/auth.h b/features/unsupported/net/lwip/lwip/netif/ppp/auth.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/auth.h rename to features/unsupported/net/lwip/lwip/netif/ppp/auth.h diff --git a/libraries/net/lwip/lwip/netif/ppp/chap.c b/features/unsupported/net/lwip/lwip/netif/ppp/chap.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/chap.c rename to features/unsupported/net/lwip/lwip/netif/ppp/chap.c diff --git a/libraries/net/lwip/lwip/netif/ppp/chap.h b/features/unsupported/net/lwip/lwip/netif/ppp/chap.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/chap.h rename to features/unsupported/net/lwip/lwip/netif/ppp/chap.h diff --git a/libraries/net/lwip/lwip/netif/ppp/chpms.c b/features/unsupported/net/lwip/lwip/netif/ppp/chpms.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/chpms.c rename to features/unsupported/net/lwip/lwip/netif/ppp/chpms.c diff --git a/libraries/net/lwip/lwip/netif/ppp/chpms.h b/features/unsupported/net/lwip/lwip/netif/ppp/chpms.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/chpms.h rename to features/unsupported/net/lwip/lwip/netif/ppp/chpms.h diff --git a/libraries/net/lwip/lwip/netif/ppp/fsm.c b/features/unsupported/net/lwip/lwip/netif/ppp/fsm.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/fsm.c rename to features/unsupported/net/lwip/lwip/netif/ppp/fsm.c diff --git a/libraries/net/lwip/lwip/netif/ppp/fsm.h b/features/unsupported/net/lwip/lwip/netif/ppp/fsm.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/fsm.h rename to features/unsupported/net/lwip/lwip/netif/ppp/fsm.h diff --git a/libraries/net/lwip/lwip/netif/ppp/ipcp.c b/features/unsupported/net/lwip/lwip/netif/ppp/ipcp.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/ipcp.c rename to features/unsupported/net/lwip/lwip/netif/ppp/ipcp.c diff --git a/libraries/net/lwip/lwip/netif/ppp/ipcp.h b/features/unsupported/net/lwip/lwip/netif/ppp/ipcp.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/ipcp.h rename to features/unsupported/net/lwip/lwip/netif/ppp/ipcp.h diff --git a/libraries/net/lwip/lwip/netif/ppp/lcp.c b/features/unsupported/net/lwip/lwip/netif/ppp/lcp.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/lcp.c rename to features/unsupported/net/lwip/lwip/netif/ppp/lcp.c diff --git a/libraries/net/lwip/lwip/netif/ppp/lcp.h b/features/unsupported/net/lwip/lwip/netif/ppp/lcp.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/lcp.h rename to features/unsupported/net/lwip/lwip/netif/ppp/lcp.h diff --git a/libraries/net/lwip/lwip/netif/ppp/magic.c b/features/unsupported/net/lwip/lwip/netif/ppp/magic.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/magic.c rename to features/unsupported/net/lwip/lwip/netif/ppp/magic.c diff --git a/libraries/net/lwip/lwip/netif/ppp/magic.h b/features/unsupported/net/lwip/lwip/netif/ppp/magic.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/magic.h rename to features/unsupported/net/lwip/lwip/netif/ppp/magic.h diff --git a/libraries/net/lwip/lwip/netif/ppp/md5.c b/features/unsupported/net/lwip/lwip/netif/ppp/md5.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/md5.c rename to features/unsupported/net/lwip/lwip/netif/ppp/md5.c diff --git a/libraries/net/lwip/lwip/netif/ppp/md5.h b/features/unsupported/net/lwip/lwip/netif/ppp/md5.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/md5.h rename to features/unsupported/net/lwip/lwip/netif/ppp/md5.h diff --git a/libraries/net/lwip/lwip/netif/ppp/pap.c b/features/unsupported/net/lwip/lwip/netif/ppp/pap.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/pap.c rename to features/unsupported/net/lwip/lwip/netif/ppp/pap.c diff --git a/libraries/net/lwip/lwip/netif/ppp/pap.h b/features/unsupported/net/lwip/lwip/netif/ppp/pap.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/pap.h rename to features/unsupported/net/lwip/lwip/netif/ppp/pap.h diff --git a/libraries/net/lwip/lwip/netif/ppp/ppp.c b/features/unsupported/net/lwip/lwip/netif/ppp/ppp.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/ppp.c rename to features/unsupported/net/lwip/lwip/netif/ppp/ppp.c diff --git a/libraries/net/lwip/lwip/netif/ppp/ppp.h b/features/unsupported/net/lwip/lwip/netif/ppp/ppp.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/ppp.h rename to features/unsupported/net/lwip/lwip/netif/ppp/ppp.h diff --git a/libraries/net/lwip/lwip/netif/ppp/ppp_oe.c b/features/unsupported/net/lwip/lwip/netif/ppp/ppp_oe.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/ppp_oe.c rename to features/unsupported/net/lwip/lwip/netif/ppp/ppp_oe.c diff --git a/libraries/net/lwip/lwip/netif/ppp/pppdebug.h b/features/unsupported/net/lwip/lwip/netif/ppp/pppdebug.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/pppdebug.h rename to features/unsupported/net/lwip/lwip/netif/ppp/pppdebug.h diff --git a/libraries/net/lwip/lwip/netif/ppp/randm.c b/features/unsupported/net/lwip/lwip/netif/ppp/randm.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/randm.c rename to features/unsupported/net/lwip/lwip/netif/ppp/randm.c diff --git a/libraries/net/lwip/lwip/netif/ppp/randm.h b/features/unsupported/net/lwip/lwip/netif/ppp/randm.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/randm.h rename to features/unsupported/net/lwip/lwip/netif/ppp/randm.h diff --git a/libraries/net/lwip/lwip/netif/ppp/vj.c b/features/unsupported/net/lwip/lwip/netif/ppp/vj.c similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/vj.c rename to features/unsupported/net/lwip/lwip/netif/ppp/vj.c diff --git a/libraries/net/lwip/lwip/netif/ppp/vj.h b/features/unsupported/net/lwip/lwip/netif/ppp/vj.h similarity index 100% rename from libraries/net/lwip/lwip/netif/ppp/vj.h rename to features/unsupported/net/lwip/lwip/netif/ppp/vj.h diff --git a/libraries/net/lwip/lwip/netif/slipif.c b/features/unsupported/net/lwip/lwip/netif/slipif.c similarity index 100% rename from libraries/net/lwip/lwip/netif/slipif.c rename to features/unsupported/net/lwip/lwip/netif/slipif.c diff --git a/libraries/rpc/Arguments.cpp b/features/unsupported/rpc/Arguments.cpp similarity index 100% rename from libraries/rpc/Arguments.cpp rename to features/unsupported/rpc/Arguments.cpp diff --git a/libraries/rpc/Arguments.h b/features/unsupported/rpc/Arguments.h similarity index 98% rename from libraries/rpc/Arguments.h rename to features/unsupported/rpc/Arguments.h index fc5aad1da6d..ed243fd464d 100644 --- a/libraries/rpc/Arguments.h +++ b/features/unsupported/rpc/Arguments.h @@ -16,7 +16,7 @@ #ifndef ARGUMENTS_H #define ARGUMENTS_H -#include "platform.h" +#include "mbed_platform.h" #include "parse_pins.h" namespace mbed { diff --git a/libraries/rpc/RPCFunction.cpp b/features/unsupported/rpc/RPCFunction.cpp similarity index 100% rename from libraries/rpc/RPCFunction.cpp rename to features/unsupported/rpc/RPCFunction.cpp diff --git a/libraries/rpc/RPCFunction.h b/features/unsupported/rpc/RPCFunction.h similarity index 100% rename from libraries/rpc/RPCFunction.h rename to features/unsupported/rpc/RPCFunction.h diff --git a/libraries/rpc/RPCVariable.h b/features/unsupported/rpc/RPCVariable.h similarity index 100% rename from libraries/rpc/RPCVariable.h rename to features/unsupported/rpc/RPCVariable.h diff --git a/libraries/rpc/RpcClasses.h b/features/unsupported/rpc/RpcClasses.h similarity index 100% rename from libraries/rpc/RpcClasses.h rename to features/unsupported/rpc/RpcClasses.h diff --git a/libraries/rpc/mbed_rpc.h b/features/unsupported/rpc/mbed_rpc.h similarity index 100% rename from libraries/rpc/mbed_rpc.h rename to features/unsupported/rpc/mbed_rpc.h diff --git a/libraries/rpc/parse_pins.cpp b/features/unsupported/rpc/parse_pins.cpp similarity index 100% rename from libraries/rpc/parse_pins.cpp rename to features/unsupported/rpc/parse_pins.cpp diff --git a/libraries/rpc/parse_pins.h b/features/unsupported/rpc/parse_pins.h similarity index 100% rename from libraries/rpc/parse_pins.h rename to features/unsupported/rpc/parse_pins.h diff --git a/libraries/rpc/rpc.cpp b/features/unsupported/rpc/rpc.cpp similarity index 100% rename from libraries/rpc/rpc.cpp rename to features/unsupported/rpc/rpc.cpp diff --git a/libraries/rpc/rpc.h b/features/unsupported/rpc/rpc.h similarity index 100% rename from libraries/rpc/rpc.h rename to features/unsupported/rpc/rpc.h diff --git a/libraries/tests/KL25Z/lptmr/main.cpp b/features/unsupported/tests/KL25Z/lptmr/main.cpp similarity index 100% rename from libraries/tests/KL25Z/lptmr/main.cpp rename to features/unsupported/tests/KL25Z/lptmr/main.cpp diff --git a/libraries/tests/KL25Z/pit/main.cpp b/features/unsupported/tests/KL25Z/pit/main.cpp similarity index 100% rename from libraries/tests/KL25Z/pit/main.cpp rename to features/unsupported/tests/KL25Z/pit/main.cpp diff --git a/libraries/tests/KL25Z/rtc/main.cpp b/features/unsupported/tests/KL25Z/rtc/main.cpp similarity index 100% rename from libraries/tests/KL25Z/rtc/main.cpp rename to features/unsupported/tests/KL25Z/rtc/main.cpp diff --git a/libraries/tests/benchmarks/all/main.cpp b/features/unsupported/tests/benchmarks/all/main.cpp similarity index 100% rename from libraries/tests/benchmarks/all/main.cpp rename to features/unsupported/tests/benchmarks/all/main.cpp diff --git a/libraries/tests/benchmarks/cenv/main.cpp b/features/unsupported/tests/benchmarks/cenv/main.cpp similarity index 100% rename from libraries/tests/benchmarks/cenv/main.cpp rename to features/unsupported/tests/benchmarks/cenv/main.cpp diff --git a/libraries/tests/benchmarks/float_math/main.cpp b/features/unsupported/tests/benchmarks/float_math/main.cpp similarity index 100% rename from libraries/tests/benchmarks/float_math/main.cpp rename to features/unsupported/tests/benchmarks/float_math/main.cpp diff --git a/libraries/tests/benchmarks/mbed/main.cpp b/features/unsupported/tests/benchmarks/mbed/main.cpp similarity index 100% rename from libraries/tests/benchmarks/mbed/main.cpp rename to features/unsupported/tests/benchmarks/mbed/main.cpp diff --git a/libraries/tests/benchmarks/printf/main.cpp b/features/unsupported/tests/benchmarks/printf/main.cpp similarity index 100% rename from libraries/tests/benchmarks/printf/main.cpp rename to features/unsupported/tests/benchmarks/printf/main.cpp diff --git a/libraries/tests/dsp/cmsis/fir_f32/data.cpp b/features/unsupported/tests/dsp/cmsis/fir_f32/data.cpp similarity index 100% rename from libraries/tests/dsp/cmsis/fir_f32/data.cpp rename to features/unsupported/tests/dsp/cmsis/fir_f32/data.cpp diff --git a/libraries/tests/dsp/cmsis/fir_f32/main.cpp b/features/unsupported/tests/dsp/cmsis/fir_f32/main.cpp similarity index 100% rename from libraries/tests/dsp/cmsis/fir_f32/main.cpp rename to features/unsupported/tests/dsp/cmsis/fir_f32/main.cpp diff --git a/libraries/tests/dsp/mbed/fir_f32/main.cpp b/features/unsupported/tests/dsp/mbed/fir_f32/main.cpp similarity index 100% rename from libraries/tests/dsp/mbed/fir_f32/main.cpp rename to features/unsupported/tests/dsp/mbed/fir_f32/main.cpp diff --git a/libraries/tests/export/mcb1700/main.cpp b/features/unsupported/tests/export/mcb1700/main.cpp similarity index 100% rename from libraries/tests/export/mcb1700/main.cpp rename to features/unsupported/tests/export/mcb1700/main.cpp diff --git a/libraries/tests/libs/SPIHalfDuplex/SPIHalfDuplex.cpp b/features/unsupported/tests/libs/SPIHalfDuplex/SPIHalfDuplex.cpp similarity index 100% rename from libraries/tests/libs/SPIHalfDuplex/SPIHalfDuplex.cpp rename to features/unsupported/tests/libs/SPIHalfDuplex/SPIHalfDuplex.cpp diff --git a/libraries/tests/libs/SPIHalfDuplex/SPIHalfDuplex.h b/features/unsupported/tests/libs/SPIHalfDuplex/SPIHalfDuplex.h similarity index 98% rename from libraries/tests/libs/SPIHalfDuplex/SPIHalfDuplex.h rename to features/unsupported/tests/libs/SPIHalfDuplex/SPIHalfDuplex.h index 14633b85551..8675b47f195 100644 --- a/libraries/tests/libs/SPIHalfDuplex/SPIHalfDuplex.h +++ b/features/unsupported/tests/libs/SPIHalfDuplex/SPIHalfDuplex.h @@ -4,7 +4,7 @@ #ifndef MBED_SPIHALFDUPLEX_H #define MBED_SPIHALFDUPLEX_H -#include "platform.h" +#include "mbed_platform.h" #if DEVICE_SPI diff --git a/libraries/tests/libs/SerialHalfDuplex/SerialHalfDuplex.cpp b/features/unsupported/tests/libs/SerialHalfDuplex/SerialHalfDuplex.cpp similarity index 100% rename from libraries/tests/libs/SerialHalfDuplex/SerialHalfDuplex.cpp rename to features/unsupported/tests/libs/SerialHalfDuplex/SerialHalfDuplex.cpp diff --git a/libraries/tests/libs/SerialHalfDuplex/SerialHalfDuplex.h b/features/unsupported/tests/libs/SerialHalfDuplex/SerialHalfDuplex.h similarity index 98% rename from libraries/tests/libs/SerialHalfDuplex/SerialHalfDuplex.h rename to features/unsupported/tests/libs/SerialHalfDuplex/SerialHalfDuplex.h index 0ba13d38e52..5de284d0532 100644 --- a/libraries/tests/libs/SerialHalfDuplex/SerialHalfDuplex.h +++ b/features/unsupported/tests/libs/SerialHalfDuplex/SerialHalfDuplex.h @@ -4,7 +4,7 @@ #ifndef MBED_SERIALHALFDUPLEX_H #define MBED_SERIALHALFDUPLEX_H -#include "platform.h" +#include "mbed_platform.h" #if DEVICE_SERIAL diff --git a/libraries/tests/mbed/analog/main.cpp b/features/unsupported/tests/mbed/analog/main.cpp similarity index 100% rename from libraries/tests/mbed/analog/main.cpp rename to features/unsupported/tests/mbed/analog/main.cpp diff --git a/libraries/tests/mbed/analog_in/main.cpp b/features/unsupported/tests/mbed/analog_in/main.cpp similarity index 100% rename from libraries/tests/mbed/analog_in/main.cpp rename to features/unsupported/tests/mbed/analog_in/main.cpp diff --git a/libraries/tests/mbed/analog_pot/main.cpp b/features/unsupported/tests/mbed/analog_pot/main.cpp similarity index 100% rename from libraries/tests/mbed/analog_pot/main.cpp rename to features/unsupported/tests/mbed/analog_pot/main.cpp diff --git a/libraries/tests/mbed/basic/main.cpp b/features/unsupported/tests/mbed/basic/main.cpp similarity index 100% rename from libraries/tests/mbed/basic/main.cpp rename to features/unsupported/tests/mbed/basic/main.cpp diff --git a/libraries/tests/mbed/blinky/main.cpp b/features/unsupported/tests/mbed/blinky/main.cpp similarity index 100% rename from libraries/tests/mbed/blinky/main.cpp rename to features/unsupported/tests/mbed/blinky/main.cpp diff --git a/libraries/tests/mbed/bus/main.cpp b/features/unsupported/tests/mbed/bus/main.cpp similarity index 100% rename from libraries/tests/mbed/bus/main.cpp rename to features/unsupported/tests/mbed/bus/main.cpp diff --git a/libraries/tests/mbed/bus_out/main.cpp b/features/unsupported/tests/mbed/bus_out/main.cpp similarity index 100% rename from libraries/tests/mbed/bus_out/main.cpp rename to features/unsupported/tests/mbed/bus_out/main.cpp diff --git a/libraries/tests/mbed/call_before_main/main.cpp b/features/unsupported/tests/mbed/call_before_main/main.cpp similarity index 100% rename from libraries/tests/mbed/call_before_main/main.cpp rename to features/unsupported/tests/mbed/call_before_main/main.cpp diff --git a/libraries/tests/mbed/can/main.cpp b/features/unsupported/tests/mbed/can/main.cpp similarity index 100% rename from libraries/tests/mbed/can/main.cpp rename to features/unsupported/tests/mbed/can/main.cpp diff --git a/libraries/tests/mbed/can_interrupt/main.cpp b/features/unsupported/tests/mbed/can_interrupt/main.cpp similarity index 100% rename from libraries/tests/mbed/can_interrupt/main.cpp rename to features/unsupported/tests/mbed/can_interrupt/main.cpp diff --git a/libraries/tests/mbed/can_loopback/main.cpp b/features/unsupported/tests/mbed/can_loopback/main.cpp similarity index 100% rename from libraries/tests/mbed/can_loopback/main.cpp rename to features/unsupported/tests/mbed/can_loopback/main.cpp diff --git a/libraries/tests/mbed/cpp/main.cpp b/features/unsupported/tests/mbed/cpp/main.cpp similarity index 100% rename from libraries/tests/mbed/cpp/main.cpp rename to features/unsupported/tests/mbed/cpp/main.cpp diff --git a/libraries/tests/mbed/cstring/main.cpp b/features/unsupported/tests/mbed/cstring/main.cpp similarity index 100% rename from libraries/tests/mbed/cstring/main.cpp rename to features/unsupported/tests/mbed/cstring/main.cpp diff --git a/libraries/tests/mbed/detect/main.cpp b/features/unsupported/tests/mbed/detect/main.cpp similarity index 100% rename from libraries/tests/mbed/detect/main.cpp rename to features/unsupported/tests/mbed/detect/main.cpp diff --git a/libraries/tests/mbed/dev_null/main.cpp b/features/unsupported/tests/mbed/dev_null/main.cpp similarity index 100% rename from libraries/tests/mbed/dev_null/main.cpp rename to features/unsupported/tests/mbed/dev_null/main.cpp diff --git a/libraries/tests/mbed/digitalin_digitalout/main.cpp b/features/unsupported/tests/mbed/digitalin_digitalout/main.cpp similarity index 100% rename from libraries/tests/mbed/digitalin_digitalout/main.cpp rename to features/unsupported/tests/mbed/digitalin_digitalout/main.cpp diff --git a/libraries/tests/mbed/digitalinout/main.cpp b/features/unsupported/tests/mbed/digitalinout/main.cpp similarity index 100% rename from libraries/tests/mbed/digitalinout/main.cpp rename to features/unsupported/tests/mbed/digitalinout/main.cpp diff --git a/libraries/tests/mbed/dir/main.cpp b/features/unsupported/tests/mbed/dir/main.cpp similarity index 100% rename from libraries/tests/mbed/dir/main.cpp rename to features/unsupported/tests/mbed/dir/main.cpp diff --git a/libraries/tests/mbed/dir_sd/main.cpp b/features/unsupported/tests/mbed/dir_sd/main.cpp similarity index 100% rename from libraries/tests/mbed/dir_sd/main.cpp rename to features/unsupported/tests/mbed/dir_sd/main.cpp diff --git a/libraries/tests/mbed/div/main.cpp b/features/unsupported/tests/mbed/div/main.cpp similarity index 100% rename from libraries/tests/mbed/div/main.cpp rename to features/unsupported/tests/mbed/div/main.cpp diff --git a/libraries/tests/mbed/echo/main.cpp b/features/unsupported/tests/mbed/echo/main.cpp similarity index 100% rename from libraries/tests/mbed/echo/main.cpp rename to features/unsupported/tests/mbed/echo/main.cpp diff --git a/libraries/tests/mbed/echo_flow_control/main.cpp b/features/unsupported/tests/mbed/echo_flow_control/main.cpp similarity index 100% rename from libraries/tests/mbed/echo_flow_control/main.cpp rename to features/unsupported/tests/mbed/echo_flow_control/main.cpp diff --git a/libraries/tests/mbed/env/test_env.cpp b/features/unsupported/tests/mbed/env/test_env.cpp similarity index 100% rename from libraries/tests/mbed/env/test_env.cpp rename to features/unsupported/tests/mbed/env/test_env.cpp diff --git a/libraries/tests/mbed/env/test_env.h b/features/unsupported/tests/mbed/env/test_env.h similarity index 100% rename from libraries/tests/mbed/env/test_env.h rename to features/unsupported/tests/mbed/env/test_env.h diff --git a/libraries/tests/mbed/file/main.cpp b/features/unsupported/tests/mbed/file/main.cpp similarity index 100% rename from libraries/tests/mbed/file/main.cpp rename to features/unsupported/tests/mbed/file/main.cpp diff --git a/libraries/tests/mbed/freopen/TextDisplay.cpp b/features/unsupported/tests/mbed/freopen/TextDisplay.cpp similarity index 100% rename from libraries/tests/mbed/freopen/TextDisplay.cpp rename to features/unsupported/tests/mbed/freopen/TextDisplay.cpp diff --git a/libraries/tests/mbed/freopen/TextDisplay.h b/features/unsupported/tests/mbed/freopen/TextDisplay.h similarity index 100% rename from libraries/tests/mbed/freopen/TextDisplay.h rename to features/unsupported/tests/mbed/freopen/TextDisplay.h diff --git a/libraries/tests/mbed/freopen/TextLCD.cpp b/features/unsupported/tests/mbed/freopen/TextLCD.cpp similarity index 100% rename from libraries/tests/mbed/freopen/TextLCD.cpp rename to features/unsupported/tests/mbed/freopen/TextLCD.cpp diff --git a/libraries/tests/mbed/freopen/TextLCD.h b/features/unsupported/tests/mbed/freopen/TextLCD.h similarity index 100% rename from libraries/tests/mbed/freopen/TextLCD.h rename to features/unsupported/tests/mbed/freopen/TextLCD.h diff --git a/libraries/tests/mbed/freopen/main.cpp b/features/unsupported/tests/mbed/freopen/main.cpp similarity index 100% rename from libraries/tests/mbed/freopen/main.cpp rename to features/unsupported/tests/mbed/freopen/main.cpp diff --git a/libraries/tests/mbed/fs/main.cpp b/features/unsupported/tests/mbed/fs/main.cpp similarity index 100% rename from libraries/tests/mbed/fs/main.cpp rename to features/unsupported/tests/mbed/fs/main.cpp diff --git a/libraries/tests/mbed/heap_and_stack/main.cpp b/features/unsupported/tests/mbed/heap_and_stack/main.cpp similarity index 100% rename from libraries/tests/mbed/heap_and_stack/main.cpp rename to features/unsupported/tests/mbed/heap_and_stack/main.cpp diff --git a/libraries/tests/mbed/hello/main.cpp b/features/unsupported/tests/mbed/hello/main.cpp similarity index 100% rename from libraries/tests/mbed/hello/main.cpp rename to features/unsupported/tests/mbed/hello/main.cpp diff --git a/libraries/tests/mbed/i2c_MMA8451Q/main.cpp b/features/unsupported/tests/mbed/i2c_MMA8451Q/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_MMA8451Q/main.cpp rename to features/unsupported/tests/mbed/i2c_MMA8451Q/main.cpp diff --git a/libraries/tests/mbed/i2c_SRF08/main.cpp b/features/unsupported/tests/mbed/i2c_SRF08/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_SRF08/main.cpp rename to features/unsupported/tests/mbed/i2c_SRF08/main.cpp diff --git a/libraries/tests/mbed/i2c_TMP102/main.cpp b/features/unsupported/tests/mbed/i2c_TMP102/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_TMP102/main.cpp rename to features/unsupported/tests/mbed/i2c_TMP102/main.cpp diff --git a/libraries/tests/mbed/i2c_at30tse75x/main.cpp b/features/unsupported/tests/mbed/i2c_at30tse75x/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_at30tse75x/main.cpp rename to features/unsupported/tests/mbed/i2c_at30tse75x/main.cpp diff --git a/libraries/tests/mbed/i2c_eeprom/main.cpp b/features/unsupported/tests/mbed/i2c_eeprom/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_eeprom/main.cpp rename to features/unsupported/tests/mbed/i2c_eeprom/main.cpp diff --git a/libraries/tests/mbed/i2c_eeprom_line/main.cpp b/features/unsupported/tests/mbed/i2c_eeprom_line/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_eeprom_line/main.cpp rename to features/unsupported/tests/mbed/i2c_eeprom_line/main.cpp diff --git a/libraries/tests/mbed/i2c_master/main.cpp b/features/unsupported/tests/mbed/i2c_master/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_master/main.cpp rename to features/unsupported/tests/mbed/i2c_master/main.cpp diff --git a/libraries/tests/mbed/i2c_master_slave/main.cpp b/features/unsupported/tests/mbed/i2c_master_slave/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_master_slave/main.cpp rename to features/unsupported/tests/mbed/i2c_master_slave/main.cpp diff --git a/libraries/tests/mbed/i2c_mma7660/main.cpp b/features/unsupported/tests/mbed/i2c_mma7660/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_mma7660/main.cpp rename to features/unsupported/tests/mbed/i2c_mma7660/main.cpp diff --git a/libraries/tests/mbed/i2c_slave/main.cpp b/features/unsupported/tests/mbed/i2c_slave/main.cpp similarity index 100% rename from libraries/tests/mbed/i2c_slave/main.cpp rename to features/unsupported/tests/mbed/i2c_slave/main.cpp diff --git a/libraries/tests/mbed/interrupt_chaining/main.cpp b/features/unsupported/tests/mbed/interrupt_chaining/main.cpp similarity index 100% rename from libraries/tests/mbed/interrupt_chaining/main.cpp rename to features/unsupported/tests/mbed/interrupt_chaining/main.cpp diff --git a/libraries/tests/mbed/interruptin/main.cpp b/features/unsupported/tests/mbed/interruptin/main.cpp similarity index 100% rename from libraries/tests/mbed/interruptin/main.cpp rename to features/unsupported/tests/mbed/interruptin/main.cpp diff --git a/libraries/tests/mbed/interruptin_2/main.cpp b/features/unsupported/tests/mbed/interruptin_2/main.cpp similarity index 100% rename from libraries/tests/mbed/interruptin_2/main.cpp rename to features/unsupported/tests/mbed/interruptin_2/main.cpp diff --git a/libraries/tests/mbed/modserial/main.cpp b/features/unsupported/tests/mbed/modserial/main.cpp similarity index 100% rename from libraries/tests/mbed/modserial/main.cpp rename to features/unsupported/tests/mbed/modserial/main.cpp diff --git a/libraries/tests/mbed/pin_toggling/main.cpp b/features/unsupported/tests/mbed/pin_toggling/main.cpp similarity index 100% rename from libraries/tests/mbed/pin_toggling/main.cpp rename to features/unsupported/tests/mbed/pin_toggling/main.cpp diff --git a/libraries/tests/mbed/portinout/main.cpp b/features/unsupported/tests/mbed/portinout/main.cpp similarity index 100% rename from libraries/tests/mbed/portinout/main.cpp rename to features/unsupported/tests/mbed/portinout/main.cpp diff --git a/libraries/tests/mbed/portout/main.cpp b/features/unsupported/tests/mbed/portout/main.cpp similarity index 100% rename from libraries/tests/mbed/portout/main.cpp rename to features/unsupported/tests/mbed/portout/main.cpp diff --git a/libraries/tests/mbed/portout_portin/main.cpp b/features/unsupported/tests/mbed/portout_portin/main.cpp similarity index 100% rename from libraries/tests/mbed/portout_portin/main.cpp rename to features/unsupported/tests/mbed/portout_portin/main.cpp diff --git a/libraries/tests/mbed/pwm/main.cpp b/features/unsupported/tests/mbed/pwm/main.cpp similarity index 100% rename from libraries/tests/mbed/pwm/main.cpp rename to features/unsupported/tests/mbed/pwm/main.cpp diff --git a/libraries/tests/mbed/pwm_led/pwm.cpp b/features/unsupported/tests/mbed/pwm_led/pwm.cpp similarity index 100% rename from libraries/tests/mbed/pwm_led/pwm.cpp rename to features/unsupported/tests/mbed/pwm_led/pwm.cpp diff --git a/libraries/tests/mbed/reset/main.cpp b/features/unsupported/tests/mbed/reset/main.cpp similarity index 100% rename from libraries/tests/mbed/reset/main.cpp rename to features/unsupported/tests/mbed/reset/main.cpp diff --git a/libraries/tests/mbed/rpc/main.cpp b/features/unsupported/tests/mbed/rpc/main.cpp similarity index 100% rename from libraries/tests/mbed/rpc/main.cpp rename to features/unsupported/tests/mbed/rpc/main.cpp diff --git a/libraries/tests/mbed/rtc/main.cpp b/features/unsupported/tests/mbed/rtc/main.cpp similarity index 100% rename from libraries/tests/mbed/rtc/main.cpp rename to features/unsupported/tests/mbed/rtc/main.cpp diff --git a/libraries/tests/mbed/sd/main.cpp b/features/unsupported/tests/mbed/sd/main.cpp similarity index 100% rename from libraries/tests/mbed/sd/main.cpp rename to features/unsupported/tests/mbed/sd/main.cpp diff --git a/libraries/tests/mbed/sd_perf_fatfs/main.cpp b/features/unsupported/tests/mbed/sd_perf_fatfs/main.cpp similarity index 100% rename from libraries/tests/mbed/sd_perf_fatfs/main.cpp rename to features/unsupported/tests/mbed/sd_perf_fatfs/main.cpp diff --git a/libraries/tests/mbed/sd_perf_fhandle/main.cpp b/features/unsupported/tests/mbed/sd_perf_fhandle/main.cpp similarity index 100% rename from libraries/tests/mbed/sd_perf_fhandle/main.cpp rename to features/unsupported/tests/mbed/sd_perf_fhandle/main.cpp diff --git a/libraries/tests/mbed/sd_perf_stdio/main.cpp b/features/unsupported/tests/mbed/sd_perf_stdio/main.cpp similarity index 100% rename from libraries/tests/mbed/sd_perf_stdio/main.cpp rename to features/unsupported/tests/mbed/sd_perf_stdio/main.cpp diff --git a/libraries/tests/mbed/semihost/main.cpp b/features/unsupported/tests/mbed/semihost/main.cpp similarity index 100% rename from libraries/tests/mbed/semihost/main.cpp rename to features/unsupported/tests/mbed/semihost/main.cpp diff --git a/libraries/tests/mbed/serial_complete/main.cpp b/features/unsupported/tests/mbed/serial_complete/main.cpp similarity index 100% rename from libraries/tests/mbed/serial_complete/main.cpp rename to features/unsupported/tests/mbed/serial_complete/main.cpp diff --git a/libraries/tests/mbed/serial_interrupt/main.cpp b/features/unsupported/tests/mbed/serial_interrupt/main.cpp similarity index 100% rename from libraries/tests/mbed/serial_interrupt/main.cpp rename to features/unsupported/tests/mbed/serial_interrupt/main.cpp diff --git a/libraries/tests/mbed/serial_interrupt_2/main.cpp b/features/unsupported/tests/mbed/serial_interrupt_2/main.cpp similarity index 100% rename from libraries/tests/mbed/serial_interrupt_2/main.cpp rename to features/unsupported/tests/mbed/serial_interrupt_2/main.cpp diff --git a/libraries/tests/mbed/serial_nc_rx/main.cpp b/features/unsupported/tests/mbed/serial_nc_rx/main.cpp similarity index 100% rename from libraries/tests/mbed/serial_nc_rx/main.cpp rename to features/unsupported/tests/mbed/serial_nc_rx/main.cpp diff --git a/libraries/tests/mbed/serial_nc_tx/main.cpp b/features/unsupported/tests/mbed/serial_nc_tx/main.cpp similarity index 100% rename from libraries/tests/mbed/serial_nc_tx/main.cpp rename to features/unsupported/tests/mbed/serial_nc_tx/main.cpp diff --git a/libraries/tests/mbed/sleep/main.cpp b/features/unsupported/tests/mbed/sleep/main.cpp similarity index 100% rename from libraries/tests/mbed/sleep/main.cpp rename to features/unsupported/tests/mbed/sleep/main.cpp diff --git a/libraries/tests/mbed/sleep_timeout/main.cpp b/features/unsupported/tests/mbed/sleep_timeout/main.cpp similarity index 100% rename from libraries/tests/mbed/sleep_timeout/main.cpp rename to features/unsupported/tests/mbed/sleep_timeout/main.cpp diff --git a/libraries/tests/mbed/spi/main.cpp b/features/unsupported/tests/mbed/spi/main.cpp similarity index 100% rename from libraries/tests/mbed/spi/main.cpp rename to features/unsupported/tests/mbed/spi/main.cpp diff --git a/libraries/tests/mbed/spi_ADXL345/main.cpp b/features/unsupported/tests/mbed/spi_ADXL345/main.cpp similarity index 100% rename from libraries/tests/mbed/spi_ADXL345/main.cpp rename to features/unsupported/tests/mbed/spi_ADXL345/main.cpp diff --git a/libraries/tests/mbed/spi_C12832/main.cpp b/features/unsupported/tests/mbed/spi_C12832/main.cpp similarity index 100% rename from libraries/tests/mbed/spi_C12832/main.cpp rename to features/unsupported/tests/mbed/spi_C12832/main.cpp diff --git a/libraries/tests/mbed/spi_master/main.cpp b/features/unsupported/tests/mbed/spi_master/main.cpp similarity index 100% rename from libraries/tests/mbed/spi_master/main.cpp rename to features/unsupported/tests/mbed/spi_master/main.cpp diff --git a/libraries/tests/mbed/spi_slave/main.cpp b/features/unsupported/tests/mbed/spi_slave/main.cpp similarity index 100% rename from libraries/tests/mbed/spi_slave/main.cpp rename to features/unsupported/tests/mbed/spi_slave/main.cpp diff --git a/libraries/tests/mbed/spifi1/main.cpp b/features/unsupported/tests/mbed/spifi1/main.cpp similarity index 100% rename from libraries/tests/mbed/spifi1/main.cpp rename to features/unsupported/tests/mbed/spifi1/main.cpp diff --git a/libraries/tests/mbed/spifi1/spifi_rom_api.h b/features/unsupported/tests/mbed/spifi1/spifi_rom_api.h similarity index 100% rename from libraries/tests/mbed/spifi1/spifi_rom_api.h rename to features/unsupported/tests/mbed/spifi1/spifi_rom_api.h diff --git a/libraries/tests/mbed/spifi2/main.cpp b/features/unsupported/tests/mbed/spifi2/main.cpp similarity index 100% rename from libraries/tests/mbed/spifi2/main.cpp rename to features/unsupported/tests/mbed/spifi2/main.cpp diff --git a/libraries/tests/mbed/spifi2/spifi_rom_api.h b/features/unsupported/tests/mbed/spifi2/spifi_rom_api.h similarity index 100% rename from libraries/tests/mbed/spifi2/spifi_rom_api.h rename to features/unsupported/tests/mbed/spifi2/spifi_rom_api.h diff --git a/libraries/tests/mbed/spifi2/splashImage01.c b/features/unsupported/tests/mbed/spifi2/splashImage01.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage01.c rename to features/unsupported/tests/mbed/spifi2/splashImage01.c diff --git a/libraries/tests/mbed/spifi2/splashImage02.c b/features/unsupported/tests/mbed/spifi2/splashImage02.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage02.c rename to features/unsupported/tests/mbed/spifi2/splashImage02.c diff --git a/libraries/tests/mbed/spifi2/splashImage03.c b/features/unsupported/tests/mbed/spifi2/splashImage03.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage03.c rename to features/unsupported/tests/mbed/spifi2/splashImage03.c diff --git a/libraries/tests/mbed/spifi2/splashImage04.c b/features/unsupported/tests/mbed/spifi2/splashImage04.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage04.c rename to features/unsupported/tests/mbed/spifi2/splashImage04.c diff --git a/libraries/tests/mbed/spifi2/splashImage05.c b/features/unsupported/tests/mbed/spifi2/splashImage05.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage05.c rename to features/unsupported/tests/mbed/spifi2/splashImage05.c diff --git a/libraries/tests/mbed/spifi2/splashImage06.c b/features/unsupported/tests/mbed/spifi2/splashImage06.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage06.c rename to features/unsupported/tests/mbed/spifi2/splashImage06.c diff --git a/libraries/tests/mbed/spifi2/splashImage07.c b/features/unsupported/tests/mbed/spifi2/splashImage07.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage07.c rename to features/unsupported/tests/mbed/spifi2/splashImage07.c diff --git a/libraries/tests/mbed/spifi2/splashImage08.c b/features/unsupported/tests/mbed/spifi2/splashImage08.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage08.c rename to features/unsupported/tests/mbed/spifi2/splashImage08.c diff --git a/libraries/tests/mbed/spifi2/splashImage09.c b/features/unsupported/tests/mbed/spifi2/splashImage09.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage09.c rename to features/unsupported/tests/mbed/spifi2/splashImage09.c diff --git a/libraries/tests/mbed/spifi2/splashImage10.c b/features/unsupported/tests/mbed/spifi2/splashImage10.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage10.c rename to features/unsupported/tests/mbed/spifi2/splashImage10.c diff --git a/libraries/tests/mbed/spifi2/splashImage11.c b/features/unsupported/tests/mbed/spifi2/splashImage11.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage11.c rename to features/unsupported/tests/mbed/spifi2/splashImage11.c diff --git a/libraries/tests/mbed/spifi2/splashImage12.c b/features/unsupported/tests/mbed/spifi2/splashImage12.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage12.c rename to features/unsupported/tests/mbed/spifi2/splashImage12.c diff --git a/libraries/tests/mbed/spifi2/splashImage13.c b/features/unsupported/tests/mbed/spifi2/splashImage13.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage13.c rename to features/unsupported/tests/mbed/spifi2/splashImage13.c diff --git a/libraries/tests/mbed/spifi2/splashImage14.c b/features/unsupported/tests/mbed/spifi2/splashImage14.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage14.c rename to features/unsupported/tests/mbed/spifi2/splashImage14.c diff --git a/libraries/tests/mbed/spifi2/splashImage15.c b/features/unsupported/tests/mbed/spifi2/splashImage15.c similarity index 100% rename from libraries/tests/mbed/spifi2/splashImage15.c rename to features/unsupported/tests/mbed/spifi2/splashImage15.c diff --git a/libraries/tests/mbed/stdio/main.cpp b/features/unsupported/tests/mbed/stdio/main.cpp similarity index 100% rename from libraries/tests/mbed/stdio/main.cpp rename to features/unsupported/tests/mbed/stdio/main.cpp diff --git a/libraries/tests/mbed/stdio_benchmark/main.cpp b/features/unsupported/tests/mbed/stdio_benchmark/main.cpp similarity index 100% rename from libraries/tests/mbed/stdio_benchmark/main.cpp rename to features/unsupported/tests/mbed/stdio_benchmark/main.cpp diff --git a/libraries/tests/mbed/stl/main.cpp b/features/unsupported/tests/mbed/stl/main.cpp similarity index 100% rename from libraries/tests/mbed/stl/main.cpp rename to features/unsupported/tests/mbed/stl/main.cpp diff --git a/libraries/tests/mbed/ticker/main.cpp b/features/unsupported/tests/mbed/ticker/main.cpp similarity index 100% rename from libraries/tests/mbed/ticker/main.cpp rename to features/unsupported/tests/mbed/ticker/main.cpp diff --git a/libraries/tests/mbed/ticker_2/main.cpp b/features/unsupported/tests/mbed/ticker_2/main.cpp similarity index 100% rename from libraries/tests/mbed/ticker_2/main.cpp rename to features/unsupported/tests/mbed/ticker_2/main.cpp diff --git a/libraries/tests/mbed/ticker_3/main.cpp b/features/unsupported/tests/mbed/ticker_3/main.cpp similarity index 100% rename from libraries/tests/mbed/ticker_3/main.cpp rename to features/unsupported/tests/mbed/ticker_3/main.cpp diff --git a/libraries/tests/mbed/ticker_mfun/main.cpp b/features/unsupported/tests/mbed/ticker_mfun/main.cpp similarity index 100% rename from libraries/tests/mbed/ticker_mfun/main.cpp rename to features/unsupported/tests/mbed/ticker_mfun/main.cpp diff --git a/libraries/tests/mbed/time_us/main.cpp b/features/unsupported/tests/mbed/time_us/main.cpp similarity index 100% rename from libraries/tests/mbed/time_us/main.cpp rename to features/unsupported/tests/mbed/time_us/main.cpp diff --git a/libraries/tests/mbed/timeout/main.cpp b/features/unsupported/tests/mbed/timeout/main.cpp similarity index 100% rename from libraries/tests/mbed/timeout/main.cpp rename to features/unsupported/tests/mbed/timeout/main.cpp diff --git a/libraries/tests/mbed/tsi/main.cpp b/features/unsupported/tests/mbed/tsi/main.cpp similarity index 100% rename from libraries/tests/mbed/tsi/main.cpp rename to features/unsupported/tests/mbed/tsi/main.cpp diff --git a/libraries/tests/mbed/vtor_reloc/main.cpp b/features/unsupported/tests/mbed/vtor_reloc/main.cpp similarity index 100% rename from libraries/tests/mbed/vtor_reloc/main.cpp rename to features/unsupported/tests/mbed/vtor_reloc/main.cpp diff --git a/libraries/tests/mbed/wfi/main.cpp b/features/unsupported/tests/mbed/wfi/main.cpp similarity index 100% rename from libraries/tests/mbed/wfi/main.cpp rename to features/unsupported/tests/mbed/wfi/main.cpp diff --git a/libraries/tests/net/cellular/http/common/HTTPClient/HTTPClient.cpp b/features/unsupported/tests/net/cellular/http/common/HTTPClient/HTTPClient.cpp similarity index 100% rename from libraries/tests/net/cellular/http/common/HTTPClient/HTTPClient.cpp rename to features/unsupported/tests/net/cellular/http/common/HTTPClient/HTTPClient.cpp diff --git a/libraries/tests/net/cellular/http/common/HTTPClient/HTTPClient.h b/features/unsupported/tests/net/cellular/http/common/HTTPClient/HTTPClient.h similarity index 100% rename from libraries/tests/net/cellular/http/common/HTTPClient/HTTPClient.h rename to features/unsupported/tests/net/cellular/http/common/HTTPClient/HTTPClient.h diff --git a/libraries/tests/net/cellular/http/common/HTTPClient/IHTTPData.h b/features/unsupported/tests/net/cellular/http/common/HTTPClient/IHTTPData.h similarity index 100% rename from libraries/tests/net/cellular/http/common/HTTPClient/IHTTPData.h rename to features/unsupported/tests/net/cellular/http/common/HTTPClient/IHTTPData.h diff --git a/libraries/tests/net/cellular/http/common/HTTPClient/data/HTTPMap.cpp b/features/unsupported/tests/net/cellular/http/common/HTTPClient/data/HTTPMap.cpp similarity index 100% rename from libraries/tests/net/cellular/http/common/HTTPClient/data/HTTPMap.cpp rename to features/unsupported/tests/net/cellular/http/common/HTTPClient/data/HTTPMap.cpp diff --git a/libraries/tests/net/cellular/http/common/HTTPClient/data/HTTPMap.h b/features/unsupported/tests/net/cellular/http/common/HTTPClient/data/HTTPMap.h similarity index 100% rename from libraries/tests/net/cellular/http/common/HTTPClient/data/HTTPMap.h rename to features/unsupported/tests/net/cellular/http/common/HTTPClient/data/HTTPMap.h diff --git a/libraries/tests/net/cellular/http/common/HTTPClient/data/HTTPText.cpp b/features/unsupported/tests/net/cellular/http/common/HTTPClient/data/HTTPText.cpp similarity index 100% rename from libraries/tests/net/cellular/http/common/HTTPClient/data/HTTPText.cpp rename to features/unsupported/tests/net/cellular/http/common/HTTPClient/data/HTTPText.cpp diff --git a/libraries/tests/net/cellular/http/common/HTTPClient/data/HTTPText.h b/features/unsupported/tests/net/cellular/http/common/HTTPClient/data/HTTPText.h similarity index 100% rename from libraries/tests/net/cellular/http/common/HTTPClient/data/HTTPText.h rename to features/unsupported/tests/net/cellular/http/common/HTTPClient/data/HTTPText.h diff --git a/libraries/tests/net/cellular/http/common/httptest.cpp b/features/unsupported/tests/net/cellular/http/common/httptest.cpp similarity index 100% rename from libraries/tests/net/cellular/http/common/httptest.cpp rename to features/unsupported/tests/net/cellular/http/common/httptest.cpp diff --git a/libraries/tests/net/cellular/http/common/httptest.h b/features/unsupported/tests/net/cellular/http/common/httptest.h similarity index 100% rename from libraries/tests/net/cellular/http/common/httptest.h rename to features/unsupported/tests/net/cellular/http/common/httptest.h diff --git a/libraries/tests/net/cellular/http/ubloxusb/main.cpp b/features/unsupported/tests/net/cellular/http/ubloxusb/main.cpp similarity index 100% rename from libraries/tests/net/cellular/http/ubloxusb/main.cpp rename to features/unsupported/tests/net/cellular/http/ubloxusb/main.cpp diff --git a/libraries/tests/net/cellular/sms/common/smstest.cpp b/features/unsupported/tests/net/cellular/sms/common/smstest.cpp similarity index 100% rename from libraries/tests/net/cellular/sms/common/smstest.cpp rename to features/unsupported/tests/net/cellular/sms/common/smstest.cpp diff --git a/libraries/tests/net/cellular/sms/common/smstest.h b/features/unsupported/tests/net/cellular/sms/common/smstest.h similarity index 100% rename from libraries/tests/net/cellular/sms/common/smstest.h rename to features/unsupported/tests/net/cellular/sms/common/smstest.h diff --git a/libraries/tests/net/cellular/sms/ubloxusb/main.cpp b/features/unsupported/tests/net/cellular/sms/ubloxusb/main.cpp similarity index 100% rename from libraries/tests/net/cellular/sms/ubloxusb/main.cpp rename to features/unsupported/tests/net/cellular/sms/ubloxusb/main.cpp diff --git a/libraries/tests/net/echo/tcp_client/main.cpp b/features/unsupported/tests/net/echo/tcp_client/main.cpp similarity index 100% rename from libraries/tests/net/echo/tcp_client/main.cpp rename to features/unsupported/tests/net/echo/tcp_client/main.cpp diff --git a/libraries/tests/net/echo/tcp_client_loop/main.cpp b/features/unsupported/tests/net/echo/tcp_client_loop/main.cpp similarity index 100% rename from libraries/tests/net/echo/tcp_client_loop/main.cpp rename to features/unsupported/tests/net/echo/tcp_client_loop/main.cpp diff --git a/libraries/tests/net/echo/tcp_server/main.cpp b/features/unsupported/tests/net/echo/tcp_server/main.cpp similarity index 100% rename from libraries/tests/net/echo/tcp_server/main.cpp rename to features/unsupported/tests/net/echo/tcp_server/main.cpp diff --git a/libraries/tests/net/echo/udp_client/main.cpp b/features/unsupported/tests/net/echo/udp_client/main.cpp similarity index 100% rename from libraries/tests/net/echo/udp_client/main.cpp rename to features/unsupported/tests/net/echo/udp_client/main.cpp diff --git a/libraries/tests/net/echo/udp_link_layer/main.cpp b/features/unsupported/tests/net/echo/udp_link_layer/main.cpp similarity index 100% rename from libraries/tests/net/echo/udp_link_layer/main.cpp rename to features/unsupported/tests/net/echo/udp_link_layer/main.cpp diff --git a/libraries/tests/net/echo/udp_server/main.cpp b/features/unsupported/tests/net/echo/udp_server/main.cpp similarity index 100% rename from libraries/tests/net/echo/udp_server/main.cpp rename to features/unsupported/tests/net/echo/udp_server/main.cpp diff --git a/libraries/tests/net/helloworld/broadcast_receive/main.cpp b/features/unsupported/tests/net/helloworld/broadcast_receive/main.cpp similarity index 100% rename from libraries/tests/net/helloworld/broadcast_receive/main.cpp rename to features/unsupported/tests/net/helloworld/broadcast_receive/main.cpp diff --git a/libraries/tests/net/helloworld/broadcast_send/main.cpp b/features/unsupported/tests/net/helloworld/broadcast_send/main.cpp similarity index 100% rename from libraries/tests/net/helloworld/broadcast_send/main.cpp rename to features/unsupported/tests/net/helloworld/broadcast_send/main.cpp diff --git a/libraries/tests/net/helloworld/multicast_receive/main.cpp b/features/unsupported/tests/net/helloworld/multicast_receive/main.cpp similarity index 100% rename from libraries/tests/net/helloworld/multicast_receive/main.cpp rename to features/unsupported/tests/net/helloworld/multicast_receive/main.cpp diff --git a/libraries/tests/net/helloworld/multicast_send/main.cpp b/features/unsupported/tests/net/helloworld/multicast_send/main.cpp similarity index 100% rename from libraries/tests/net/helloworld/multicast_send/main.cpp rename to features/unsupported/tests/net/helloworld/multicast_send/main.cpp diff --git a/libraries/tests/net/helloworld/tcpclient/main.cpp b/features/unsupported/tests/net/helloworld/tcpclient/main.cpp similarity index 100% rename from libraries/tests/net/helloworld/tcpclient/main.cpp rename to features/unsupported/tests/net/helloworld/tcpclient/main.cpp diff --git a/libraries/tests/net/helloworld/udpclient/main.cpp b/features/unsupported/tests/net/helloworld/udpclient/main.cpp similarity index 100% rename from libraries/tests/net/helloworld/udpclient/main.cpp rename to features/unsupported/tests/net/helloworld/udpclient/main.cpp diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/HTTPClient.cpp b/features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/HTTPClient.cpp similarity index 100% rename from libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/HTTPClient.cpp rename to features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/HTTPClient.cpp diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/HTTPClient.h b/features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/HTTPClient.h similarity index 100% rename from libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/HTTPClient.h rename to features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/HTTPClient.h diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/IHTTPData.h b/features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/IHTTPData.h similarity index 100% rename from libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/IHTTPData.h rename to features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/IHTTPData.h diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPMap.cpp b/features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPMap.cpp similarity index 100% rename from libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPMap.cpp rename to features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPMap.cpp diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPMap.h b/features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPMap.h similarity index 100% rename from libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPMap.h rename to features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPMap.h diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPText.cpp b/features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPText.cpp similarity index 100% rename from libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPText.cpp rename to features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPText.cpp diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPText.h b/features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPText.h similarity index 100% rename from libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPText.h rename to features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data/HTTPText.h diff --git a/libraries/tests/net/protocols/HTTPClient_HelloWorld/main.cpp b/features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/main.cpp similarity index 100% rename from libraries/tests/net/protocols/HTTPClient_HelloWorld/main.cpp rename to features/unsupported/tests/net/protocols/HTTPClient_HelloWorld/main.cpp diff --git a/libraries/tests/net/protocols/NTPClient_HelloWorld/NTPClient/NTPClient.cpp b/features/unsupported/tests/net/protocols/NTPClient_HelloWorld/NTPClient/NTPClient.cpp similarity index 100% rename from libraries/tests/net/protocols/NTPClient_HelloWorld/NTPClient/NTPClient.cpp rename to features/unsupported/tests/net/protocols/NTPClient_HelloWorld/NTPClient/NTPClient.cpp diff --git a/libraries/tests/net/protocols/NTPClient_HelloWorld/NTPClient/NTPClient.h b/features/unsupported/tests/net/protocols/NTPClient_HelloWorld/NTPClient/NTPClient.h similarity index 100% rename from libraries/tests/net/protocols/NTPClient_HelloWorld/NTPClient/NTPClient.h rename to features/unsupported/tests/net/protocols/NTPClient_HelloWorld/NTPClient/NTPClient.h diff --git a/libraries/tests/net/protocols/NTPClient_HelloWorld/main.cpp b/features/unsupported/tests/net/protocols/NTPClient_HelloWorld/main.cpp similarity index 100% rename from libraries/tests/net/protocols/NTPClient_HelloWorld/main.cpp rename to features/unsupported/tests/net/protocols/NTPClient_HelloWorld/main.cpp diff --git a/libraries/tests/peripherals/ADXL345/ADXL345.cpp b/features/unsupported/tests/peripherals/ADXL345/ADXL345.cpp similarity index 100% rename from libraries/tests/peripherals/ADXL345/ADXL345.cpp rename to features/unsupported/tests/peripherals/ADXL345/ADXL345.cpp diff --git a/libraries/tests/peripherals/ADXL345/ADXL345.h b/features/unsupported/tests/peripherals/ADXL345/ADXL345.h similarity index 100% rename from libraries/tests/peripherals/ADXL345/ADXL345.h rename to features/unsupported/tests/peripherals/ADXL345/ADXL345.h diff --git a/libraries/tests/peripherals/AT30TSE75X/AT30TSE75X.cpp b/features/unsupported/tests/peripherals/AT30TSE75X/AT30TSE75X.cpp similarity index 100% rename from libraries/tests/peripherals/AT30TSE75X/AT30TSE75X.cpp rename to features/unsupported/tests/peripherals/AT30TSE75X/AT30TSE75X.cpp diff --git a/libraries/tests/peripherals/AT30TSE75X/AT30TSE75X.h b/features/unsupported/tests/peripherals/AT30TSE75X/AT30TSE75X.h similarity index 100% rename from libraries/tests/peripherals/AT30TSE75X/AT30TSE75X.h rename to features/unsupported/tests/peripherals/AT30TSE75X/AT30TSE75X.h diff --git a/libraries/tests/peripherals/AX12/AX12.cpp b/features/unsupported/tests/peripherals/AX12/AX12.cpp similarity index 100% rename from libraries/tests/peripherals/AX12/AX12.cpp rename to features/unsupported/tests/peripherals/AX12/AX12.cpp diff --git a/libraries/tests/peripherals/AX12/AX12.h b/features/unsupported/tests/peripherals/AX12/AX12.h similarity index 100% rename from libraries/tests/peripherals/AX12/AX12.h rename to features/unsupported/tests/peripherals/AX12/AX12.h diff --git a/libraries/tests/peripherals/C12832/C12832.cpp b/features/unsupported/tests/peripherals/C12832/C12832.cpp similarity index 100% rename from libraries/tests/peripherals/C12832/C12832.cpp rename to features/unsupported/tests/peripherals/C12832/C12832.cpp diff --git a/libraries/tests/peripherals/C12832/C12832.h b/features/unsupported/tests/peripherals/C12832/C12832.h similarity index 100% rename from libraries/tests/peripherals/C12832/C12832.h rename to features/unsupported/tests/peripherals/C12832/C12832.h diff --git a/libraries/tests/peripherals/C12832/GraphicsDisplay.cpp b/features/unsupported/tests/peripherals/C12832/GraphicsDisplay.cpp similarity index 100% rename from libraries/tests/peripherals/C12832/GraphicsDisplay.cpp rename to features/unsupported/tests/peripherals/C12832/GraphicsDisplay.cpp diff --git a/libraries/tests/peripherals/C12832/GraphicsDisplay.h b/features/unsupported/tests/peripherals/C12832/GraphicsDisplay.h similarity index 100% rename from libraries/tests/peripherals/C12832/GraphicsDisplay.h rename to features/unsupported/tests/peripherals/C12832/GraphicsDisplay.h diff --git a/libraries/tests/peripherals/C12832/Small_7.h b/features/unsupported/tests/peripherals/C12832/Small_7.h similarity index 100% rename from libraries/tests/peripherals/C12832/Small_7.h rename to features/unsupported/tests/peripherals/C12832/Small_7.h diff --git a/libraries/tests/peripherals/C12832/TextDisplay.cpp b/features/unsupported/tests/peripherals/C12832/TextDisplay.cpp similarity index 100% rename from libraries/tests/peripherals/C12832/TextDisplay.cpp rename to features/unsupported/tests/peripherals/C12832/TextDisplay.cpp diff --git a/libraries/tests/peripherals/C12832/TextDisplay.h b/features/unsupported/tests/peripherals/C12832/TextDisplay.h similarity index 100% rename from libraries/tests/peripherals/C12832/TextDisplay.h rename to features/unsupported/tests/peripherals/C12832/TextDisplay.h diff --git a/libraries/tests/peripherals/MMA7660/MMA7660.cpp b/features/unsupported/tests/peripherals/MMA7660/MMA7660.cpp similarity index 100% rename from libraries/tests/peripherals/MMA7660/MMA7660.cpp rename to features/unsupported/tests/peripherals/MMA7660/MMA7660.cpp diff --git a/libraries/tests/peripherals/MMA7660/MMA7660.h b/features/unsupported/tests/peripherals/MMA7660/MMA7660.h similarity index 100% rename from libraries/tests/peripherals/MMA7660/MMA7660.h rename to features/unsupported/tests/peripherals/MMA7660/MMA7660.h diff --git a/libraries/tests/peripherals/MMA8451Q/MMA8451Q.cpp b/features/unsupported/tests/peripherals/MMA8451Q/MMA8451Q.cpp similarity index 100% rename from libraries/tests/peripherals/MMA8451Q/MMA8451Q.cpp rename to features/unsupported/tests/peripherals/MMA8451Q/MMA8451Q.cpp diff --git a/libraries/tests/peripherals/MMA8451Q/MMA8451Q.h b/features/unsupported/tests/peripherals/MMA8451Q/MMA8451Q.h similarity index 100% rename from libraries/tests/peripherals/MMA8451Q/MMA8451Q.h rename to features/unsupported/tests/peripherals/MMA8451Q/MMA8451Q.h diff --git a/libraries/tests/peripherals/SRF08/SRF08.cpp b/features/unsupported/tests/peripherals/SRF08/SRF08.cpp similarity index 100% rename from libraries/tests/peripherals/SRF08/SRF08.cpp rename to features/unsupported/tests/peripherals/SRF08/SRF08.cpp diff --git a/libraries/tests/peripherals/SRF08/SRF08.h b/features/unsupported/tests/peripherals/SRF08/SRF08.h similarity index 100% rename from libraries/tests/peripherals/SRF08/SRF08.h rename to features/unsupported/tests/peripherals/SRF08/SRF08.h diff --git a/libraries/tests/peripherals/TMP102/TMP102.cpp b/features/unsupported/tests/peripherals/TMP102/TMP102.cpp similarity index 100% rename from libraries/tests/peripherals/TMP102/TMP102.cpp rename to features/unsupported/tests/peripherals/TMP102/TMP102.cpp diff --git a/libraries/tests/peripherals/TMP102/TMP102.h b/features/unsupported/tests/peripherals/TMP102/TMP102.h similarity index 100% rename from libraries/tests/peripherals/TMP102/TMP102.h rename to features/unsupported/tests/peripherals/TMP102/TMP102.h diff --git a/libraries/tests/peripherals/TSI/TSISensor.cpp b/features/unsupported/tests/peripherals/TSI/TSISensor.cpp similarity index 100% rename from libraries/tests/peripherals/TSI/TSISensor.cpp rename to features/unsupported/tests/peripherals/TSI/TSISensor.cpp diff --git a/libraries/tests/peripherals/TSI/TSISensor.h b/features/unsupported/tests/peripherals/TSI/TSISensor.h similarity index 100% rename from libraries/tests/peripherals/TSI/TSISensor.h rename to features/unsupported/tests/peripherals/TSI/TSISensor.h diff --git a/libraries/tests/rtos/cmsis/basic/main.cpp b/features/unsupported/tests/rtos/cmsis/basic/main.cpp similarity index 100% rename from libraries/tests/rtos/cmsis/basic/main.cpp rename to features/unsupported/tests/rtos/cmsis/basic/main.cpp diff --git a/libraries/tests/rtos/cmsis/isr/main.cpp b/features/unsupported/tests/rtos/cmsis/isr/main.cpp similarity index 100% rename from libraries/tests/rtos/cmsis/isr/main.cpp rename to features/unsupported/tests/rtos/cmsis/isr/main.cpp diff --git a/libraries/tests/rtos/cmsis/mail/main.cpp b/features/unsupported/tests/rtos/cmsis/mail/main.cpp similarity index 100% rename from libraries/tests/rtos/cmsis/mail/main.cpp rename to features/unsupported/tests/rtos/cmsis/mail/main.cpp diff --git a/libraries/tests/rtos/cmsis/mutex/main.cpp b/features/unsupported/tests/rtos/cmsis/mutex/main.cpp similarity index 100% rename from libraries/tests/rtos/cmsis/mutex/main.cpp rename to features/unsupported/tests/rtos/cmsis/mutex/main.cpp diff --git a/libraries/tests/rtos/cmsis/queue/main.cpp b/features/unsupported/tests/rtos/cmsis/queue/main.cpp similarity index 100% rename from libraries/tests/rtos/cmsis/queue/main.cpp rename to features/unsupported/tests/rtos/cmsis/queue/main.cpp diff --git a/libraries/tests/rtos/cmsis/semaphore/main.cpp b/features/unsupported/tests/rtos/cmsis/semaphore/main.cpp similarity index 100% rename from libraries/tests/rtos/cmsis/semaphore/main.cpp rename to features/unsupported/tests/rtos/cmsis/semaphore/main.cpp diff --git a/libraries/tests/rtos/cmsis/signals/main.cpp b/features/unsupported/tests/rtos/cmsis/signals/main.cpp similarity index 100% rename from libraries/tests/rtos/cmsis/signals/main.cpp rename to features/unsupported/tests/rtos/cmsis/signals/main.cpp diff --git a/libraries/tests/rtos/cmsis/timer/main.cpp b/features/unsupported/tests/rtos/cmsis/timer/main.cpp similarity index 100% rename from libraries/tests/rtos/cmsis/timer/main.cpp rename to features/unsupported/tests/rtos/cmsis/timer/main.cpp diff --git a/libraries/tests/rtos/mbed/basic/main.cpp b/features/unsupported/tests/rtos/mbed/basic/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/basic/main.cpp rename to features/unsupported/tests/rtos/mbed/basic/main.cpp diff --git a/libraries/tests/rtos/mbed/file/main.cpp b/features/unsupported/tests/rtos/mbed/file/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/file/main.cpp rename to features/unsupported/tests/rtos/mbed/file/main.cpp diff --git a/libraries/tests/rtos/mbed/isr/main.cpp b/features/unsupported/tests/rtos/mbed/isr/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/isr/main.cpp rename to features/unsupported/tests/rtos/mbed/isr/main.cpp diff --git a/libraries/tests/rtos/mbed/mail/main.cpp b/features/unsupported/tests/rtos/mbed/mail/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/mail/main.cpp rename to features/unsupported/tests/rtos/mbed/mail/main.cpp diff --git a/libraries/tests/rtos/mbed/mutex/main.cpp b/features/unsupported/tests/rtos/mbed/mutex/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/mutex/main.cpp rename to features/unsupported/tests/rtos/mbed/mutex/main.cpp diff --git a/libraries/tests/rtos/mbed/queue/main.cpp b/features/unsupported/tests/rtos/mbed/queue/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/queue/main.cpp rename to features/unsupported/tests/rtos/mbed/queue/main.cpp diff --git a/libraries/tests/rtos/mbed/semaphore/main.cpp b/features/unsupported/tests/rtos/mbed/semaphore/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/semaphore/main.cpp rename to features/unsupported/tests/rtos/mbed/semaphore/main.cpp diff --git a/libraries/tests/rtos/mbed/signals/main.cpp b/features/unsupported/tests/rtos/mbed/signals/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/signals/main.cpp rename to features/unsupported/tests/rtos/mbed/signals/main.cpp diff --git a/libraries/tests/rtos/mbed/timer/main.cpp b/features/unsupported/tests/rtos/mbed/timer/main.cpp similarity index 100% rename from libraries/tests/rtos/mbed/timer/main.cpp rename to features/unsupported/tests/rtos/mbed/timer/main.cpp diff --git a/libraries/tests/usb/device/audio/main.cpp b/features/unsupported/tests/usb/device/audio/main.cpp similarity index 100% rename from libraries/tests/usb/device/audio/main.cpp rename to features/unsupported/tests/usb/device/audio/main.cpp diff --git a/libraries/tests/usb/device/basic/main.cpp b/features/unsupported/tests/usb/device/basic/main.cpp similarity index 100% rename from libraries/tests/usb/device/basic/main.cpp rename to features/unsupported/tests/usb/device/basic/main.cpp diff --git a/libraries/tests/usb/device/keyboard/main.cpp b/features/unsupported/tests/usb/device/keyboard/main.cpp similarity index 100% rename from libraries/tests/usb/device/keyboard/main.cpp rename to features/unsupported/tests/usb/device/keyboard/main.cpp diff --git a/libraries/tests/usb/device/midi/main.cpp b/features/unsupported/tests/usb/device/midi/main.cpp similarity index 100% rename from libraries/tests/usb/device/midi/main.cpp rename to features/unsupported/tests/usb/device/midi/main.cpp diff --git a/libraries/tests/usb/device/mouse_keyboard/main.cpp b/features/unsupported/tests/usb/device/mouse_keyboard/main.cpp similarity index 100% rename from libraries/tests/usb/device/mouse_keyboard/main.cpp rename to features/unsupported/tests/usb/device/mouse_keyboard/main.cpp diff --git a/libraries/tests/usb/device/raw_hid/main.cpp b/features/unsupported/tests/usb/device/raw_hid/main.cpp similarity index 100% rename from libraries/tests/usb/device/raw_hid/main.cpp rename to features/unsupported/tests/usb/device/raw_hid/main.cpp diff --git a/libraries/tests/usb/device/serial/main.cpp b/features/unsupported/tests/usb/device/serial/main.cpp similarity index 100% rename from libraries/tests/usb/device/serial/main.cpp rename to features/unsupported/tests/usb/device/serial/main.cpp diff --git a/libraries/tests/utest/basic/basic.cpp b/features/unsupported/tests/utest/basic/basic.cpp similarity index 100% rename from libraries/tests/utest/basic/basic.cpp rename to features/unsupported/tests/utest/basic/basic.cpp diff --git a/libraries/tests/utest/bus/busout_ut.cpp b/features/unsupported/tests/utest/bus/busout_ut.cpp similarity index 100% rename from libraries/tests/utest/bus/busout_ut.cpp rename to features/unsupported/tests/utest/bus/busout_ut.cpp diff --git a/libraries/tests/utest/general/general.cpp b/features/unsupported/tests/utest/general/general.cpp similarity index 100% rename from libraries/tests/utest/general/general.cpp rename to features/unsupported/tests/utest/general/general.cpp diff --git a/libraries/tests/utest/i2c_eeprom_asynch/i2c_eeprom_asynch.cpp b/features/unsupported/tests/utest/i2c_eeprom_asynch/i2c_eeprom_asynch.cpp similarity index 100% rename from libraries/tests/utest/i2c_eeprom_asynch/i2c_eeprom_asynch.cpp rename to features/unsupported/tests/utest/i2c_eeprom_asynch/i2c_eeprom_asynch.cpp diff --git a/libraries/tests/utest/lp_ticker/lp_ticker.cpp b/features/unsupported/tests/utest/lp_ticker/lp_ticker.cpp similarity index 100% rename from libraries/tests/utest/lp_ticker/lp_ticker.cpp rename to features/unsupported/tests/utest/lp_ticker/lp_ticker.cpp diff --git a/libraries/tests/utest/semihost_fs/semihost_fs.cpp b/features/unsupported/tests/utest/semihost_fs/semihost_fs.cpp similarity index 100% rename from libraries/tests/utest/semihost_fs/semihost_fs.cpp rename to features/unsupported/tests/utest/semihost_fs/semihost_fs.cpp diff --git a/libraries/tests/utest/serial_asynch/serial_asynch.cpp b/features/unsupported/tests/utest/serial_asynch/serial_asynch.cpp similarity index 100% rename from libraries/tests/utest/serial_asynch/serial_asynch.cpp rename to features/unsupported/tests/utest/serial_asynch/serial_asynch.cpp diff --git a/libraries/tests/utest/spi_asynch/spi_master_asynch.cpp b/features/unsupported/tests/utest/spi_asynch/spi_master_asynch.cpp similarity index 100% rename from libraries/tests/utest/spi_asynch/spi_master_asynch.cpp rename to features/unsupported/tests/utest/spi_asynch/spi_master_asynch.cpp diff --git a/libraries/tests/utest/testrunner/testrunner.cpp b/features/unsupported/tests/utest/testrunner/testrunner.cpp similarity index 100% rename from libraries/tests/utest/testrunner/testrunner.cpp rename to features/unsupported/tests/utest/testrunner/testrunner.cpp diff --git a/libraries/tests/utest/testrunner/testrunner.h b/features/unsupported/tests/utest/testrunner/testrunner.h similarity index 100% rename from libraries/tests/utest/testrunner/testrunner.h rename to features/unsupported/tests/utest/testrunner/testrunner.h diff --git a/hal/.yotta_ignore b/hal/.yotta_ignore deleted file mode 100644 index 91d629dd18e..00000000000 --- a/hal/.yotta_ignore +++ /dev/null @@ -1,14 +0,0 @@ -# ignore files for targets that aren't supported by the yotta build (to -# minimise the size of the published module) - -TARGET_ARM_SSG -TARGET_Freescale -TARGET_RENESAS -TARGET_Silicon_Labs -TARGET_Atmel -TARGET_Maxim -TARGET_NXP -TARGET_STM -TARGET_WIZNET -TOOLCHAIN_IAR - diff --git a/hal/CMakeLists.txt b/hal/CMakeLists.txt deleted file mode 100644 index 6e426173413..00000000000 --- a/hal/CMakeLists.txt +++ /dev/null @@ -1,112 +0,0 @@ -# -# mbed-2 yotta-compatible build system -# - -# make sure necessary features are enabled: -project(mbed-classic) -enable_language(ASM) - -# override compilation flags: -if(CMAKE_C_COMPILER_ID MATCHES GNU) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") -endif() - -# the mbed.a library is built from two sets of source files + include -# directories: -# -# MBED_COMMON_SOURCES: the source files that are the same for all targets, -# these are easily found by globbing: -# -file(GLOB MBED_COMMON_SOURCES "common/*.cpp" "common/*.c") -# -# (always include the hal header directory, too) -set(MBED_COMMON_INCLUDE_DIRS "hal") - -# and MBED_TARGET_SOURCES: these depend on which target we are building for. To -# find these we need to walk the directories in targets/, and wherever we see a -# TARGET_ name, recurse only if matches what we're -# currently building for -macro(mbed_find_target_dirs PARENT_DIRECTORY SOURCES_LIST INCLUDES_LIST) - # append this directory to the search path: - list(APPEND ${INCLUDES_LIST} "${PARENT_DIRECTORY}") - # add all source files in this directory to the sources list: - file(GLOB sources "${PARENT_DIRECTORY}/*.cpp" "${PARENT_DIRECTORY}/*.c" "${PARENT_DIRECTORY}/*.s" "${PARENT_DIRECTORY}/*.S" ) - list(APPEND ${SOURCES_LIST} ${sources}) - - # get a list of all subdirectories that we want to recurse into: - file(GLOB dir_children RELATIVE "${PARENT_DIRECTORY}" "${PARENT_DIRECTORY}/*") - set(matching_subdirs "") - foreach(child ${dir_children}) - if(IS_DIRECTORY "${PARENT_DIRECTORY}/${child}") - # is this directory name a magic one? - if("${child}" MATCHES "^TARGET_") - # target-magic: recurse if the MBED_LEGACY_TARGET_DEFINITIONS **list** - # contains a matching value: - foreach(legacy_magic_def ${MBED_LEGACY_TARGET_DEFINITIONS}) - # we could probably unroll the list into a single regex if - # this is a performance problem: - if("${child}" MATCHES "^TARGET_${legacy_magic_def}$") - list(APPEND matching_subdirs ${child}) - break() - endif() - endforeach() - elseif("${child}" MATCHES "^TOOLCHAIN_") - # toolchain-magic: (recurse if the MBED_LEGACY_TOOLCHAIN matches - # this name) - if("${child}" MATCHES "^TOOLCHAIN_${MBED_LEGACY_TOOLCHAIN}$") - list(APPEND matching_subdirs "${child}") - endif() - else() - # not special: always recurse into this directory - list(APPEND matching_subdirs "${child}") - endif() - endif() - endforeach() - #message("matching_subdirs: ${matching_subdirs}") - - # recurse: - foreach(subdir ${matching_subdirs}) - mbed_find_target_dirs("${PARENT_DIRECTORY}/${subdir}" ${SOURCES_LIST} ${INCLUDES_LIST}) - endforeach() -endmacro() - -set(MBED_TARGET_SOURCES "") -set(MBED_TARGET_INCLUDE_DIRS "") -mbed_find_target_dirs("${CMAKE_CURRENT_SOURCE_DIR}/targets" MBED_TARGET_SOURCES MBED_TARGET_INCLUDE_DIRS) -#message("found target sources: ${MBED_TARGET_SOURCES}") -#message("found target include dirs: ${MBED_TARGET_INCLUDE_DIRS}") - -# unfortunately, for ARMCC, the startup code needs to be provided as an object -# on the command line (not as part of an archive). To do this we override the -# CMake add_executable command. -if(CMAKE_C_COMPILER_ID STREQUAL "ARMCC") - set(MBED_TARGET_STARTUP_CODE_SOURCES "") - foreach(src ${MBED_TARGET_SOURCES}) - if("${src}" MATCHES .*startup_.*\\.[sS]) - LIST(APPEND MBED_TARGET_STARTUP_CODE_SOURCES "${src}") - endif() - endforeach() - add_library(mbed_classic_startupcod OBJECT ${MBED_TARGET_STARTUP_CODE_SOURCES}) - macro (add_executable _name) - _add_executable(${ARGV} $) - endmacro() -endif() - -# we have to append any target-specific include dirs to the global include dirs -# list, so that any indirect includes (e.g. via mbed.h) of files in those -# directories will work: -# (non-target-specific include dirs are listed in extraIncludes in module.json) -foreach(dir ${MBED_TARGET_INCLUDE_DIRS}) - set_property(GLOBAL APPEND PROPERTY YOTTA_GLOBAL_INCLUDE_DIRS ${dir}) -endforeach() - -# finally, we can construct a library using the determined set of include paths -# + source files. Note that the library name must match the name of the yotta -# module (defined in module.json) for this module to link properly with other -# yotta modules. -include_directories(${MBED_COMMON_INCLUDE_DIRS}) -include_directories(${MBED_TARGET_INCLUDE_DIRS}) -add_library(mbed-classic - ${MBED_COMMON_SOURCES} - ${MBED_TARGET_SOURCES} -) diff --git a/hal/hal/analogin_api.h b/hal/analogin_api.h similarity index 100% rename from hal/hal/analogin_api.h rename to hal/analogin_api.h diff --git a/hal/hal/analogout_api.h b/hal/analogout_api.h similarity index 100% rename from hal/hal/analogout_api.h rename to hal/analogout_api.h diff --git a/hal/hal/buffer.h b/hal/buffer.h similarity index 100% rename from hal/hal/buffer.h rename to hal/buffer.h diff --git a/hal/hal/can_api.h b/hal/can_api.h similarity index 100% rename from hal/hal/can_api.h rename to hal/can_api.h diff --git a/hal/hal/dma_api.h b/hal/dma_api.h similarity index 100% rename from hal/hal/dma_api.h rename to hal/dma_api.h diff --git a/hal/hal/ethernet_api.h b/hal/ethernet_api.h similarity index 100% rename from hal/hal/ethernet_api.h rename to hal/ethernet_api.h diff --git a/hal/hal/gpio_api.h b/hal/gpio_api.h similarity index 100% rename from hal/hal/gpio_api.h rename to hal/gpio_api.h diff --git a/hal/hal/gpio_irq_api.h b/hal/gpio_irq_api.h similarity index 100% rename from hal/hal/gpio_irq_api.h rename to hal/gpio_irq_api.h diff --git a/hal/hal/i2c_api.h b/hal/i2c_api.h similarity index 100% rename from hal/hal/i2c_api.h rename to hal/i2c_api.h diff --git a/hal/hal/lp_ticker_api.h b/hal/lp_ticker_api.h similarity index 100% rename from hal/hal/lp_ticker_api.h rename to hal/lp_ticker_api.h diff --git a/hal/module.json b/hal/module.json deleted file mode 100644 index d98a54a260f..00000000000 --- a/hal/module.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "mbed-classic", - "version": "0.0.1", - "description": "mbed core SDK (for mbed 2.0, *not* mbedOS)", - "keywords": [ - "mbed" - ], - "author": "Bogdan Marinescu ", - "repository": { - "url": "git@github.com:mbedmicro/mbed.git", - "type": "git" - }, - "homepage": "https://github.com/mbedmicro/mbed", - "licenses": [ - { - "url": "https://spdx.org/licenses/Apache-2.0", - "type": "Apache-2.0" - } - ], - "extraIncludes": [ - "api", - "hal", - "targets/hal", - "targets/cmsis" - ], - "dependencies": { - }, - "targetDependencies": { - } -} diff --git a/hal/hal/pinmap.h b/hal/pinmap.h similarity index 100% rename from hal/hal/pinmap.h rename to hal/pinmap.h diff --git a/hal/hal/port_api.h b/hal/port_api.h similarity index 100% rename from hal/hal/port_api.h rename to hal/port_api.h diff --git a/hal/hal/pwmout_api.h b/hal/pwmout_api.h similarity index 100% rename from hal/hal/pwmout_api.h rename to hal/pwmout_api.h diff --git a/hal/hal/rtc_api.h b/hal/rtc_api.h similarity index 100% rename from hal/hal/rtc_api.h rename to hal/rtc_api.h diff --git a/hal/hal/serial_api.h b/hal/serial_api.h similarity index 100% rename from hal/hal/serial_api.h rename to hal/serial_api.h diff --git a/hal/hal/sleep_api.h b/hal/sleep_api.h similarity index 100% rename from hal/hal/sleep_api.h rename to hal/sleep_api.h diff --git a/hal/hal/spi_api.h b/hal/spi_api.h similarity index 100% rename from hal/hal/spi_api.h rename to hal/spi_api.h diff --git a/hal/hal/storage_abstraction/Driver_Common.h b/hal/storage_abstraction/Driver_Common.h similarity index 100% rename from hal/hal/storage_abstraction/Driver_Common.h rename to hal/storage_abstraction/Driver_Common.h diff --git a/hal/hal/storage_abstraction/Driver_Storage.h b/hal/storage_abstraction/Driver_Storage.h similarity index 100% rename from hal/hal/storage_abstraction/Driver_Storage.h rename to hal/storage_abstraction/Driver_Storage.h diff --git a/hal/hal/ticker_api.h b/hal/ticker_api.h similarity index 100% rename from hal/hal/ticker_api.h rename to hal/ticker_api.h diff --git a/hal/hal/us_ticker_api.h b/hal/us_ticker_api.h similarity index 100% rename from hal/hal/us_ticker_api.h rename to hal/us_ticker_api.h diff --git a/mbed.h b/mbed.h new file mode 100644 index 00000000000..e4c48e93216 --- /dev/null +++ b/mbed.h @@ -0,0 +1,40 @@ +/* mbed Microcontroller Library + * Copyright (c) 2006-2013 ARM Limited + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef MBED_H +#define MBED_H + +#define MBED_LIBRARY_VERSION 122 + + +// Common codebase +#include "mbed_platform.h" +#include "mbed_drivers.h" + +// RTOS +#if MBED_CONF_RTOS_PRESENT +#include "rtos/rtos.h" +#endif + +// Network-socket API +#if MBED_CONF_NSAPI_PRESENT +#include "network-socket/nsapi.h" +#endif + +using namespace std; +using namespace mbed; + + +#endif diff --git a/hal/api/CThunk.h b/platform/CThunk.h similarity index 100% rename from hal/api/CThunk.h rename to platform/CThunk.h diff --git a/hal/common/CallChain.cpp b/platform/CallChain.cpp similarity index 100% rename from hal/common/CallChain.cpp rename to platform/CallChain.cpp diff --git a/hal/api/CallChain.h b/platform/CallChain.h similarity index 100% rename from hal/api/CallChain.h rename to platform/CallChain.h diff --git a/hal/api/Callback.h b/platform/Callback.h similarity index 100% rename from hal/api/Callback.h rename to platform/Callback.h diff --git a/hal/api/FunctionPointer.h b/platform/FunctionPointer.h similarity index 100% rename from hal/api/FunctionPointer.h rename to platform/FunctionPointer.h diff --git a/hal/api/PlatformMutex.h b/platform/PlatformMutex.h similarity index 100% rename from hal/api/PlatformMutex.h rename to platform/PlatformMutex.h diff --git a/hal/api/SingletonPtr.h b/platform/SingletonPtr.h similarity index 99% rename from hal/api/SingletonPtr.h rename to platform/SingletonPtr.h index 998aff8245b..24ac67fa52b 100644 --- a/hal/api/SingletonPtr.h +++ b/platform/SingletonPtr.h @@ -17,6 +17,7 @@ #define SINGLETONPTR_H #include +#include #include #include "mbed_assert.h" #ifdef MBED_CONF_RTOS_PRESENT diff --git a/hal/api/critical.h b/platform/critical.h similarity index 100% rename from hal/api/critical.h rename to platform/critical.h diff --git a/hal/common/mbed_assert.c b/platform/mbed_assert.c similarity index 100% rename from hal/common/mbed_assert.c rename to platform/mbed_assert.c diff --git a/hal/api/mbed_assert.h b/platform/mbed_assert.h similarity index 100% rename from hal/api/mbed_assert.h rename to platform/mbed_assert.h diff --git a/hal/common/mbed_board.c b/platform/mbed_board.c similarity index 100% rename from hal/common/mbed_board.c rename to platform/mbed_board.c diff --git a/hal/common/mbed_critical.c b/platform/mbed_critical.c similarity index 100% rename from hal/common/mbed_critical.c rename to platform/mbed_critical.c diff --git a/hal/api/mbed_debug.h b/platform/mbed_debug.h similarity index 100% rename from hal/api/mbed_debug.h rename to platform/mbed_debug.h diff --git a/hal/common/mbed_error.c b/platform/mbed_error.c similarity index 100% rename from hal/common/mbed_error.c rename to platform/mbed_error.c diff --git a/hal/api/mbed_error.h b/platform/mbed_error.h similarity index 100% rename from hal/api/mbed_error.h rename to platform/mbed_error.h diff --git a/hal/common/mbed_interface.c b/platform/mbed_interface.c similarity index 100% rename from hal/common/mbed_interface.c rename to platform/mbed_interface.c diff --git a/hal/api/mbed_interface.h b/platform/mbed_interface.h similarity index 100% rename from hal/api/mbed_interface.h rename to platform/mbed_interface.h diff --git a/mbed_lib.json b/platform/mbed_lib.json similarity index 92% rename from mbed_lib.json rename to platform/mbed_lib.json index 6300a4b0f25..d8bad83fd16 100644 --- a/mbed_lib.json +++ b/platform/mbed_lib.json @@ -1,5 +1,5 @@ { - "name": "core", + "name": "platform", "config": { "stdio-convert-newlines": { "help": "Enable conversion to standard newlines on stdin/stdout", diff --git a/hal/api/platform.h b/platform/mbed_platform.h similarity index 66% rename from hal/api/platform.h rename to platform/mbed_platform.h index ee79a30f03f..b7c4f17468a 100644 --- a/hal/api/platform.h +++ b/platform/mbed_platform.h @@ -16,13 +16,36 @@ #ifndef MBED_PLATFORM_H #define MBED_PLATFORM_H + +// Toolchain definitions +#include "toolchain.h" + +// Core hardware definitions #include "device.h" #include "PinNames.h" #include "PeripheralNames.h" +// Useful C libraries +#include +#include #include #include #include #include +// mbed Debug libraries +#include "mbed_error.h" +#include "mbed_interface.h" +#include "mbed_assert.h" + +// mbed Non-hardware components +#include "Callback.h" +#include "FunctionPointer.h" +#include "PlatformMutex.h" +#include "SingletonPtr.h" + +using namespace mbed; +using namespace std; + + #endif diff --git a/hal/common/mbed_semihost_api.c b/platform/mbed_semihost_api.c similarity index 100% rename from hal/common/mbed_semihost_api.c rename to platform/mbed_semihost_api.c diff --git a/hal/common/retarget.cpp b/platform/retarget.cpp similarity index 98% rename from hal/common/retarget.cpp rename to platform/retarget.cpp index a09854fec57..f280b0d8076 100644 --- a/hal/common/retarget.cpp +++ b/platform/retarget.cpp @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include "platform.h" +#include "PlatformMutex.h" #include "FileHandle.h" #include "FileSystemLike.h" #include "FilePath.h" @@ -96,7 +96,7 @@ FileHandle::~FileHandle() { #if DEVICE_SERIAL extern int stdio_uart_inited; extern serial_t stdio_uart; -#if MBED_CONF_CORE_STDIO_CONVERT_NEWLINES +#if MBED_CONF_PLATFORM_STDIO_CONVERT_NEWLINES static char stdio_in_prev; static char stdio_out_prev; #endif @@ -106,8 +106,8 @@ static void init_serial() { #if DEVICE_SERIAL if (stdio_uart_inited) return; serial_init(&stdio_uart, STDIO_UART_TX, STDIO_UART_RX); -#if MBED_CONF_CORE_STDIO_BAUD_RATE - serial_baud(&stdio_uart, MBED_CONF_CORE_STDIO_BAUD_RATE); +#if MBED_CONF_PLATFORM_STDIO_BAUD_RATE + serial_baud(&stdio_uart, MBED_CONF_PLATFORM_STDIO_BAUD_RATE); #endif #endif } @@ -241,7 +241,7 @@ extern "C" int PREFIX(_write)(FILEHANDLE fh, const unsigned char *buffer, unsign if (fh < 3) { #if DEVICE_SERIAL if (!stdio_uart_inited) init_serial(); -#if MBED_CONF_CORE_STDIO_CONVERT_NEWLINES +#if MBED_CONF_PLATFORM_STDIO_CONVERT_NEWLINES for (unsigned int i = 0; i < length; i++) { if (buffer[i] == '\n' && stdio_out_prev != '\r') { serial_putc(&stdio_uart, '\r'); @@ -279,7 +279,7 @@ extern "C" int PREFIX(_read)(FILEHANDLE fh, unsigned char *buffer, unsigned int // only read a character at a time from stdin #if DEVICE_SERIAL if (!stdio_uart_inited) init_serial(); -#if MBED_CONF_CORE_STDIO_CONVERT_NEWLINES +#if MBED_CONF_PLATFORM_STDIO_CONVERT_NEWLINES while (true) { char c = serial_getc(&stdio_uart); if ((c == '\r' && stdio_in_prev != '\n') || diff --git a/hal/api/semihost_api.h b/platform/semihost_api.h similarity index 100% rename from hal/api/semihost_api.h rename to platform/semihost_api.h diff --git a/hal/api/toolchain.h b/platform/toolchain.h similarity index 100% rename from hal/api/toolchain.h rename to platform/toolchain.h diff --git a/rtos/rtos/RtosTimer.cpp b/rtos/rtos/RtosTimer.cpp index dbb9532dbe8..efde22e073d 100644 --- a/rtos/rtos/RtosTimer.cpp +++ b/rtos/rtos/RtosTimer.cpp @@ -23,7 +23,7 @@ #include -#include "mbed.h" +#include "Callback.h" #include "cmsis_os.h" #include "mbed_error.h" @@ -31,7 +31,7 @@ namespace rtos { void RtosTimer::constructor(mbed::Callback func, os_timer_type type) { #ifdef CMSIS_OS_RTX - _timer.ptimer = (void (*)(const void *))Callback::thunk; + _timer.ptimer = (void (*)(const void *))mbed::Callback::thunk; memset(_timer_data, 0, sizeof(_timer_data)); _timer.timer = _timer_data; diff --git a/rtos/rtos/Thread.cpp b/rtos/rtos/Thread.cpp index cb62d77165c..036b7e7999b 100644 --- a/rtos/rtos/Thread.cpp +++ b/rtos/rtos/Thread.cpp @@ -21,7 +21,8 @@ */ #include "Thread.h" -#include "mbed.h" +#include "Callback.h" +#include "mbed_error.h" #include "rtos_idle.h" // rt_tid2ptcb is an internal function which we exposed to get TCB for thread id @@ -44,7 +45,7 @@ void Thread::constructor(osPriority priority, #endif } -void Thread::constructor(Callback task, +void Thread::constructor(mbed::Callback task, osPriority priority, uint32_t stack_size, unsigned char *stack_pointer) { constructor(priority, stack_size, stack_pointer); @@ -62,7 +63,7 @@ void Thread::constructor(Callback task, } } -osStatus Thread::start(Callback task) { +osStatus Thread::start(mbed::Callback task) { _mutex.lock(); if (_tid != 0) { diff --git a/setup.py b/setup.py deleted file mode 100644 index 42d6dcb9fce..00000000000 --- a/setup.py +++ /dev/null @@ -1,49 +0,0 @@ -""" -This module defines the attributes of the -PyPI package for the Mbed SDK -""" - -from shutil import copyfileobj -from os.path import isfile, join -from tempfile import TemporaryFile -from setuptools import find_packages -from distutils.core import setup - -LICENSE = open('LICENSE').read() -DESCRIPTION = """A set of Python scripts that can be used to compile programs written on top of the `mbed framework`_. It can also be used to export mbed projects to other build systems and IDEs (uVision, IAR, makefiles). - -.. _mbed framework: http://mbed.org""" -OWNER_NAMES = 'emilmont, bogdanm' -OWNER_EMAILS = 'Emilio.Monti@arm.com, Bogdan.Marinescu@arm.com' - -# If mbed_settings.py exists in tools, read it in a temporary file -# so it can be restored later -mbed_settings = join('mbed_settings.py') -backup = None -if isfile(mbed_settings): - backup = TemporaryFile() - with open(mbed_settings, "rb") as f: - copyfileobj(f, backup) - -# Create the correct mbed_settings.py for the distribution -with open(mbed_settings, "wt") as f: - f.write("from mbed_settings import *\n") - -setup(name='mbed-tools', - version='0.1.14', - description='Build and test system for mbed', - long_description=DESCRIPTION, - author=OWNER_NAMES, - author_email=OWNER_EMAILS, - maintainer=OWNER_NAMES, - maintainer_email=OWNER_EMAILS, - url='https://github.com/mbedmicro/mbed', - packages=find_packages(), - license=LICENSE, - install_requires=["PrettyTable>=0.7.2", "PySerial>=2.7", "IntelHex>=1.3", "colorama>=0.3.3", "Jinja2>=2.7.3", "project-generator>=0.9.3,<0.10.0", "project-generator-definitions>=0.2.26,<0.3.0", "junit-xml", "requests", "pyYAML"]) - -# Restore previous mbed_settings if needed -if backup: - backup.seek(0) - with open(mbed_settings, "wb") as f: - copyfileobj(backup, f) diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/PeripheralNames.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/PeripheralNames.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/PinNames.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/PinNames.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/PinNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/PortNames.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/PortNames.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/PortNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/.gitattributes b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/.gitattributes similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/.gitattributes rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/.gitattributes diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/LICENSE-permissive-binary-license-1.0.txt b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/LICENSE-permissive-binary-license-1.0.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/LICENSE-permissive-binary-license-1.0.txt rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/LICENSE-permissive-binary-license-1.0.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/LICENSE.txt b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/LICENSE.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/LICENSE.txt rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/LICENSE.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/cordio.0.0.1.ar b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/cordio.0.0.1.ar similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/cordio.0.0.1.ar rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/cordio.0.0.1.ar diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/cordio_platform.0.0.1.ar b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/cordio_platform.0.0.1.ar similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/cordio_platform.0.0.1.ar rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/cordio_platform.0.0.1.ar diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/.gitattributes b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/.gitattributes similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/.gitattributes rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/.gitattributes diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/LICENSE-permissive-binary-license-1.0.txt b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/LICENSE-permissive-binary-license-1.0.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/LICENSE-permissive-binary-license-1.0.txt rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/LICENSE-permissive-binary-license-1.0.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/LICENSE.txt b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/LICENSE.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/LICENSE.txt rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/LICENSE.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/libcordio.0.0.1.a b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/libcordio.0.0.1.a similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/libcordio.0.0.1.a rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/libcordio.0.0.1.a diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/libcordio_platform.0.0.1.a b/targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/libcordio_platform.0.0.1.a similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/libcordio_platform.0.0.1.a rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/libcordio_platform.0.0.1.a diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/analogin_api.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/analogin_api.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/analogin_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/LICENSE-permissive-binary-license-1.0.txt b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/LICENSE-permissive-binary-license-1.0.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/LICENSE-permissive-binary-license-1.0.txt rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/LICENSE-permissive-binary-license-1.0.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/.gitattributes b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/.gitattributes similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/.gitattributes rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/.gitattributes diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/CORDIO_RO_2.1.o b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/CORDIO_RO_2.1.o similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/CORDIO_RO_2.1.o rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/CORDIO_RO_2.1.o diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/LICENSE-permissive-binary-license-1.0.txt b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/LICENSE-permissive-binary-license-1.0.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/LICENSE-permissive-binary-license-1.0.txt rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/LICENSE-permissive-binary-license-1.0.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/LICENSE.txt b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/LICENSE.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/LICENSE.txt rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/LICENSE.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/TRIM_2.1.o b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/TRIM_2.1.o similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/TRIM_2.1.o rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/TRIM_2.1.o diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/board/board.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/board/board.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/board/board.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/board/board.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/board/main_board.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/board/main_board.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/board/main_board.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/board/main_board.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/chip/chip.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/chip/chip.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/chip/chip.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/chip/chip.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/chip/chip_hw.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/chip/chip_hw.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/chip/chip_hw.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/beetle/chip/chip_hw.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/ble_init.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/ble_init.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/ble_init.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/ble_init.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/cordio_bt4_defs.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/cordio_bt4_defs.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/cordio_bt4_defs.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/cordio_bt4_defs.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/cordio_sdk_version.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/cordio_sdk_version.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/cordio_sdk_version.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/cordio_sdk_version.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_console.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_console.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_console.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_console.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_llcc.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_llcc.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_llcc.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_llcc.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_uart.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_uart.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_uart.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/driver/drv_uart.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/dual_chip/hci_core_ps.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/dual_chip/hci_core_ps.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/dual_chip/hci_core_ps.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/dual_chip/hci_core_ps.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_core.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_core.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_core.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_core.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_drv.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_drv.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_drv.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_drv.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_tr.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_tr.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_tr.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hci/include/hci_tr.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hpal/hpal_blep.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hpal/hpal_blep.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hpal/hpal_blep.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hpal/hpal_blep.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hpal/hpal_hci.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hpal/hpal_hci.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hpal/hpal_hci.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/hpal/hpal_hci.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/cfg/cfg_stack.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/cfg/cfg_stack.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/cfg/cfg_stack.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/cfg/cfg_stack.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_api.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_api.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_api.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_api.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_defs.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_defs.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_defs.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_defs.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_handler.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_handler.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_handler.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_handler.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_uuid.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_uuid.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_uuid.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/att_uuid.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/dm_api.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/dm_api.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/dm_api.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/dm_api.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/dm_handler.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/dm_handler.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/dm_handler.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/dm_handler.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_api.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_api.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_api.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_api.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_defs.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_defs.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_defs.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_defs.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_handler.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_handler.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_handler.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/hci_handler.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_api.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_api.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_api.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_api.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_defs.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_defs.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_defs.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_defs.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_handler.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_handler.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_handler.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/l2c_handler.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_api.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_api.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_api.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_api.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_defs.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_defs.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_defs.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_defs.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_handler.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_handler.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_handler.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/stack/include/smp_handler.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/bda.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/bda.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/bda.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/bda.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/bstream.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/bstream.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/bstream.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/bstream.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/utils.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/utils.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/utils.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/util/utils.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_assert.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_assert.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_assert.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_assert.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_os_int.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_os_int.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_os_int.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_os_int.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_trace.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_trace.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_trace.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_trace.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_types.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_types.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_types.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/generic/wsf_types.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_buf.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_buf.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_buf.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_buf.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_math.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_math.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_math.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_math.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_msg.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_msg.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_msg.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_msg.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_os.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_os.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_os.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_os.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_queue.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_queue.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_queue.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_queue.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_sec.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_sec.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_sec.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_sec.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_sec_int.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_sec_int.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_sec_int.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_sec_int.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_timer.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_timer.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_timer.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/include/wsf_timer.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/mbed-os/wsf_mbed_os.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/mbed-os/wsf_mbed_os.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/mbed-os/wsf_mbed_os.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/cordio/include/wsf/mbed-os/wsf_mbed_os.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/device.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/device.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/device.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/device.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/gpio_api.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/gpio_api.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/gpio_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/gpio_irq_api.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/gpio_irq_api.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/gpio_object.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/gpio_object.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/gpio_object.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/i2c_api.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/i2c_api.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/i2c_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/i2c_def.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/i2c_def.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/i2c_def.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/i2c_def.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/lp_ticker.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/lp_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/lp_ticker.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/lp_ticker.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/mbed_sdk_init.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/mbed_sdk_init.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/mbed_sdk_init.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/mbed_sdk_init.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/objects.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/objects.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/objects.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/pinmap.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/pinmap.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/pinmap.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/port_api.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/port_api.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/port_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/serial_api.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/serial_api.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/serial_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/spi_api.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/spi_api.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/spi_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/spi_def.h b/targets/TARGET_ARM_SSG/TARGET_BEETLE/spi_def.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/spi_def.h rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/spi_def.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/us_ticker.c b/targets/TARGET_ARM_SSG/TARGET_BEETLE/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/us_ticker.c rename to targets/TARGET_ARM_SSG/TARGET_BEETLE/us_ticker.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/PeripheralNames.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/PeripheralNames.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/PinNames.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/PinNames.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/PinNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/PortNames.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/PortNames.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/PortNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/ETH_MPS2.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/ETH_MPS2.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/ETH_MPS2.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/ETH_MPS2.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/ETH_MPS2.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/ETH_MPS2.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/ETH_MPS2.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/ETH_MPS2.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/fpga.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/fpga.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/fpga.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/fpga.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/fpga.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/fpga.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/fpga.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/fpga.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/mps2_ethernet_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/mps2_ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/mps2_ethernet_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/mps2_ethernet_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/mps2_ethernet_api.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/mps2_ethernet_api.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/SDK/mps2_ethernet_api.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/SDK/mps2_ethernet_api.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/analogin_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/analogin_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/analogin_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/device.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/device.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/device.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/device.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/ethernet_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/ethernet_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/ethernet_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/gpio_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/gpio_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/gpio_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/gpio_irq_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/gpio_irq_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/gpio_object.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/gpio_object.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/gpio_object.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/i2c_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/i2c_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/i2c_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/objects.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/objects.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/objects.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/objects.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/pinmap.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/pinmap.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/pinmap.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/port_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/port_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/port_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/serial_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/serial_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/serial_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/spi_api.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/spi_api.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/spi_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/spi_def.h b/targets/TARGET_ARM_SSG/TARGET_IOTSS/spi_def.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/spi_def.h rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/spi_def.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/us_ticker.c b/targets/TARGET_ARM_SSG/TARGET_IOTSS/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/us_ticker.c rename to targets/TARGET_ARM_SSG/TARGET_IOTSS/us_ticker.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/PeripheralNames.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/PeripheralNames.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/PinNames.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/PinNames.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/PinNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/PortNames.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/PortNames.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/PortNames.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/ETH_MPS2.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/ETH_MPS2.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/ETH_MPS2.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/ETH_MPS2.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/ETH_MPS2.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/ETH_MPS2.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/ETH_MPS2.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/ETH_MPS2.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/fpga.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/fpga.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/fpga.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/fpga.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/fpga.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/fpga.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/fpga.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/fpga.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/mps2_ethernet_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/mps2_ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/mps2_ethernet_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/mps2_ethernet_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/mps2_ethernet_api.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/mps2_ethernet_api.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/SDK/mps2_ethernet_api.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/SDK/mps2_ethernet_api.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/analogin_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/analogin_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/analogin_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/device.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/device.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/device.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/device.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/ethernet_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/ethernet_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/ethernet_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/gpio_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/gpio_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/gpio_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/gpio_irq_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/gpio_irq_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/gpio_object.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/gpio_object.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/gpio_object.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/i2c_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/i2c_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/i2c_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/objects.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/objects.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/objects.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/objects.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/pinmap.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/pinmap.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/pinmap.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/port_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/port_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/port_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/serial_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/serial_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/serial_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/spi_api.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/spi_api.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/spi_api.c diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/spi_def.h b/targets/TARGET_ARM_SSG/TARGET_MPS2/spi_def.h similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/spi_def.h rename to targets/TARGET_ARM_SSG/TARGET_MPS2/spi_def.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/us_ticker.c b/targets/TARGET_ARM_SSG/TARGET_MPS2/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_MPS2/us_ticker.c rename to targets/TARGET_ARM_SSG/TARGET_MPS2/us_ticker.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/PortNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/PortNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/PortNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralPins.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralPins.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralPins.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralPins.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PinNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PinNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/PinNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/SAMW25_XPLAINED_PRO/mbed_overrides.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/SAMW25_XPLAINED_PRO/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/SAMW25_XPLAINED_PRO/mbed_overrides.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/SAMW25_XPLAINED_PRO/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/SAMW25_XPLAINED_PRO/samw25_xplained_pro.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/SAMW25_XPLAINED_PRO/samw25_xplained_pro.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/SAMW25_XPLAINED_PRO/samw25_xplained_pro.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/SAMW25_XPLAINED_PRO/samw25_xplained_pro.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/analogout_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/analogout_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/analogout_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/device.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/device.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/device.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21G18A/device.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralPins.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralPins.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralPins.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralPins.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PinNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PinNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/PinNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/SAMD21_XPLAINED_PRO/mbed_overrides.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/SAMD21_XPLAINED_PRO/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/SAMD21_XPLAINED_PRO/mbed_overrides.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/SAMD21_XPLAINED_PRO/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/SAMD21_XPLAINED_PRO/samd21_xplained_pro.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/SAMD21_XPLAINED_PRO/samd21_xplained_pro.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/SAMD21_XPLAINED_PRO/samd21_xplained_pro.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/SAMD21_XPLAINED_PRO/samd21_xplained_pro.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/analogout_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/analogout_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/analogout_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/device.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/device.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/device.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21J18A/device.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralPins.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralPins.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralPins.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralPins.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PinNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PinNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/PinNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/SAML21_XPLAINED_PRO/mbed_overrides.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/SAML21_XPLAINED_PRO/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/SAML21_XPLAINED_PRO/mbed_overrides.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/SAML21_XPLAINED_PRO/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/SAML21_XPLAINED_PRO/saml21_xplained_pro.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/SAML21_XPLAINED_PRO/saml21_xplained_pro.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/SAML21_XPLAINED_PRO/saml21_xplained_pro.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/SAML21_XPLAINED_PRO/saml21_xplained_pro.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/analogout_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/analogout_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/analogout_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/device.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/device.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/device.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21J18A/device.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralPins.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralPins.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralPins.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralPins.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PinNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PinNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/PinNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/SAMR21_XPLAINED_PRO/mbed_overrides.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/SAMR21_XPLAINED_PRO/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/SAMR21_XPLAINED_PRO/mbed_overrides.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/SAMR21_XPLAINED_PRO/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/SAMR21_XPLAINED_PRO/samr21_xplained_pro.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/SAMR21_XPLAINED_PRO/samr21_xplained_pro.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/SAMR21_XPLAINED_PRO/samr21_xplained_pro.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/SAMR21_XPLAINED_PRO/samr21_xplained_pro.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/device.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/device.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/device.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21G18A/device.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/analogin_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/analogin_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/analogin_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_board.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_board.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_board.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_board.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_clocks.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_clocks.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_clocks.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_clocks.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_dma.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_dma.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_dma.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_extint.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_extint.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_extint.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_extint.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_spi.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_spi.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_spi.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_spi.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_test.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_test.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_test.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMD21/conf_test.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_board.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_board.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_board.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_board.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_clocks.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_clocks.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_clocks.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_clocks.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_dma.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_dma.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_dma.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_extint.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_extint.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_extint.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_extint.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_spi.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_spi.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_spi.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_spi.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_test.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_test.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_test.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAML21/conf_test.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_board.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_board.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_board.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_board.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_clocks.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_clocks.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_clocks.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_clocks.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_dma.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_dma.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_dma.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_extint.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_extint.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_extint.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_extint.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_spi.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_spi.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_spi.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_spi.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_test.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_test.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_test.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/config/TARGET_SAMR21/conf_test.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/dma_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/dma_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/dma_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/dma_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/dma_api_HAL.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/dma_api_HAL.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/dma_api_HAL.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/dma_api_HAL.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMD21/adc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMD21/adc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMD21/adc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMD21/adc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMD21/adc_feature.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMD21/adc_feature.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMD21/adc_feature.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMD21/adc_feature.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAML21/adc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAML21/adc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAML21/adc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAML21/adc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAML21/adc_feature.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAML21/adc_feature.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAML21/adc_feature.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAML21/adc_feature.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMR21/adc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMR21/adc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMR21/adc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMR21/adc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMR21/adc_feature.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMR21/adc_feature.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMR21/adc_feature.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/TARGET_SAMR21/adc_feature.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/adc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/adc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/adc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/adc/adc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAMD21/dac.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAMD21/dac.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAMD21/dac.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAMD21/dac.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAMD21/dac_feature.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAMD21/dac_feature.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAMD21/dac_feature.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAMD21/dac_feature.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAML21/dac.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAML21/dac.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAML21/dac.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAML21/dac.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAML21/dac_feature.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAML21/dac_feature.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAML21/dac_feature.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/TARGET_SAML21/dac_feature.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/dac.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/dac.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/dac.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dac/dac.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma_crc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma_crc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma_crc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/dma/dma_crc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAMD21/extint.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAMD21/extint.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAMD21/extint.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAMD21/extint.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAML21/extint.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAML21/extint.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAML21/extint.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAML21/extint.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAMR21/extint.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAMR21/extint.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAMR21/extint.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/TARGET_SAMR21/extint.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint_callback.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint_callback.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint_callback.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint_callback.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint_callback.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint_callback.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint_callback.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/extint/extint_callback.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/port/port.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/port/port.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/port/port.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/port/port.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/port/port.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/port/port.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/port/port.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/port/port.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAMD21/rtc_count.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAMD21/rtc_count.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAMD21/rtc_count.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAMD21/rtc_count.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAML21/module_config/conf_rtc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAML21/module_config/conf_rtc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAML21/module_config/conf_rtc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAML21/module_config/conf_rtc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAML21/rtc_count.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAML21/rtc_count.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAML21/rtc_count.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAML21/rtc_count.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAMR21/rtc_count.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAMR21/rtc_count.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAMR21/rtc_count.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/TARGET_SAMR21/rtc_count.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/rtc_count.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/rtc_count.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/rtc_count.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/rtc/rtc_count.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_common.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_common.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_common.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_common.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_master.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_master.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_master.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_master.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_master_interrupt.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_master_interrupt.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_master_interrupt.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_master_interrupt.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_master.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_master.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_master.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_master.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_master_interrupt.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_master_interrupt.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_master_interrupt.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_master_interrupt.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_slave.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_slave.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_slave.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_sam0/i2c_slave.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_slave.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_slave.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_slave.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_slave.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_slave_interrupt.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_slave_interrupt.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_slave_interrupt.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/i2c/i2c_slave_interrupt.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_interrupt.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_interrupt.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_interrupt.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_interrupt.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_interrupt.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_interrupt.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_interrupt.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_interrupt.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_pinout.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_pinout.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_pinout.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/sercom_pinout.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart_interrupt.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart_interrupt.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart_interrupt.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart_interrupt.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart_interrupt.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart_interrupt.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart_interrupt.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/sercom/usart/usart_interrupt.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/delay.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/delay.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/delay.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/delay.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/sam0/systick_counter.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/sam0/systick_counter.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/sam0/systick_counter.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/sam0/systick_counter.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/sam0/systick_counter.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/sam0/systick_counter.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/sam0/systick_counter.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/services/delay/sam0/systick_counter.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock_config_check.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock_config_check.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock_config_check.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock_config_check.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock_feature.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock_feature.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock_feature.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/clock_feature.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/gclk.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/gclk.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/gclk.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMD21/gclk.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock_config_check.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock_config_check.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock_config_check.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock_config_check.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock_feature.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock_feature.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock_feature.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/clock_feature.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/gclk.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/gclk.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/gclk.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAML21/gclk.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock_config_check.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock_config_check.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock_config_check.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock_config_check.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock_feature.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock_feature.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock_feature.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/clock_feature.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/gclk.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/gclk.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/gclk.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/TARGET_SAMR21/gclk.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/clock.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/clock.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/clock.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/clock.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/gclk.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/gclk.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/gclk.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/clock/gclk.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAMD21/system_interrupt_features.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAMD21/system_interrupt_features.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAMD21/system_interrupt_features.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAMD21/system_interrupt_features.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAML21/system_interrupt_features.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAML21/system_interrupt_features.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAML21/system_interrupt_features.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAML21/system_interrupt_features.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAMR21/system_interrupt_features.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAMR21/system_interrupt_features.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAMR21/system_interrupt_features.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/TARGET_SAMR21/system_interrupt_features.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/system_interrupt.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/system_interrupt.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/system_interrupt.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/system_interrupt.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/system_interrupt.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/system_interrupt.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/system_interrupt.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/interrupt/system_interrupt.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/pinmux/pinmux.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/pinmux/pinmux.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/pinmux/pinmux.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/pinmux/pinmux.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/pinmux/pinmux.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/pinmux/pinmux.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/pinmux/pinmux.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/pinmux/pinmux.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAMD21/power.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAMD21/power.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAMD21/power.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAMD21/power.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAML21/power.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAML21/power.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAML21/power.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAML21/power.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAMR21/power.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAMR21/power.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAMR21/power.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/power/TARGET_SAMR21/power.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAMD21/reset.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAMD21/reset.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAMD21/reset.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAMD21/reset.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAML21/reset.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAML21/reset.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAML21/reset.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAML21/reset.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAMR21/reset.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAMR21/reset.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAMR21/reset.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/reset/TARGET_SAMR21/reset.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/system.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/system.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/system.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/system.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/system.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/system.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/system.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/system/system.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAMD21/tc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAMD21/tc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAMD21/tc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAMD21/tc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAML21/tc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAML21/tc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAML21/tc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAML21/tc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAMR21/tc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAMR21/tc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAMR21/tc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/TARGET_SAMR21/tc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc_interrupt.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc_interrupt.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc_interrupt.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc_interrupt.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc_interrupt.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc_interrupt.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc_interrupt.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tc/tc_interrupt.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tcc/tcc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tcc/tcc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tcc/tcc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tcc/tcc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tcc/tcc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tcc/tcc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tcc/tcc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/drivers/tcc/tcc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_irq_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_irq_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_object.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_object.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/gpio_object.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/i2c_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/i2c_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/i2c_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/objects.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/objects.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/objects.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/objects.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap_function.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap_function.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap_function.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap_function.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap_function.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap_function.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap_function.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/pinmap_function.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/port_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/port_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/port_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/pwmout_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/pwmout_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/rtc_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/rtc_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/rtc_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/sercom_dma.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/sercom_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/sercom_dma.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/sercom_dma.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/sercom_dma.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/sercom_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/sercom_dma.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/sercom_dma.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/serial_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/serial_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/serial_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/sleep_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/sleep_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/sleep_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/sleep_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/spi_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/spi_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/spi_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/us_ticker.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM0P/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0P/us_ticker.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM0P/us_ticker.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/PortNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/PortNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/PortNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralPins.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralPins.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralPins.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralPins.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PinNames.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PinNames.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/PinNames.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/board_init.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/board_init.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/board_init.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/board_init.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/mbed_overrides.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/mbed_overrides.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/samg55_xplained_pro.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/samg55_xplained_pro.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/samg55_xplained_pro.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/SAMG55_XPLAINED_PRO/samg55_xplained_pro.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/device.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/device.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/device.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55J19/device.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/analogin_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/analogin_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/analogin_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/board.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/board.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/board.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/board.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_board.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_board.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_board.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_board.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_clock.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_clock.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_clock.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_clock.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_extint.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_extint.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_extint.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_extint.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_serialdrv.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_serialdrv.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_serialdrv.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_serialdrv.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_sleepmgr.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_sleepmgr.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_sleepmgr.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_sleepmgr.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_timer.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_timer.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_timer.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_timer.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_uart_serial.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_uart_serial.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_uart_serial.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/config/TARGET_SAMG55/conf_uart_serial.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/adc/adc2.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/adc/adc2.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/adc/adc2.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/adc/adc2.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/adc/adc2.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/adc/adc2.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/adc/adc2.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/adc/adc2.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/efc/efc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/efc/efc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/efc/efc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/efc/efc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/efc/efc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/efc/efc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/efc/efc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/efc/efc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/flexcom/flexcom.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/flexcom/flexcom.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/flexcom/flexcom.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/flexcom/flexcom.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/flexcom/flexcom.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/flexcom/flexcom.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/flexcom/flexcom.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/flexcom/flexcom.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pdc/pdc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pdc/pdc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pdc/pdc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pdc/pdc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pdc/pdc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pdc/pdc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pdc/pdc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pdc/pdc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio_handler.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio_handler.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio_handler.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio_handler.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio_handler.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio_handler.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio_handler.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pio/pio_handler.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/pmc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/pmc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/pmc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/pmc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/pmc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/pmc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/pmc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/pmc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/sleep.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/sleep.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/sleep.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/sleep.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/sleep.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/sleep.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/pmc/sleep.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtc/rtc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtc/rtc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtc/rtc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtc/rtc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtc/rtc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtc/rtc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtc/rtc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtc/rtc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtt/rtt.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtt/rtt.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtt/rtt.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtt/rtt.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtt/rtt.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtt/rtt.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtt/rtt.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/rtt/rtt.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/spi/spi_driver.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/spi/spi_driver.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/spi/spi_driver.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/spi/spi_driver.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/spi/spi_driver.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/spi/spi_driver.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/spi/spi_driver.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/spi/spi_driver.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/supc/supc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/supc/supc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/supc/supc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/supc/supc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/supc/supc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/supc/supc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/supc/supc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/supc/supc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/tc/tc.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/tc/tc.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/tc/tc.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/tc/tc.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/tc/tc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/tc/tc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/tc/tc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/tc/tc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/twi/twi.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/twi/twi.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/twi/twi.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/twi/twi.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/twi/twi.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/twi/twi.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/twi/twi.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/twi/twi.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/usart/usart.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/usart/usart.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/usart/usart.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/usart/usart.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/usart/usart.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/usart/usart.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/usart/usart.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/drivers/usart/usart.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_irq_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_irq_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_object.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_object.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/gpio_object.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/i2c_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/i2c_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/i2c_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/lp_ticker.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/lp_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/lp_ticker.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/lp_ticker.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/objects.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/objects.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/objects.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/objects.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/pinmap.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/pinmap.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/pinmap.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/port_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/port_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/port_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/pwmout_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/pwmout_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/rtc_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/rtc_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/rtc_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/serial_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/serial_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/serial_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/dfll.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/dfll.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/dfll.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/dfll.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/genclk.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/genclk.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/genclk.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/genclk.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/osc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/osc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/osc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/osc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/pll.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/pll.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/pll.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/pll.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/genclk.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/genclk.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/genclk.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/genclk.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/osc.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/osc.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/osc.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/osc.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/pll.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/pll.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/pll.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/pll.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/sysclk.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/sysclk.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/sysclk.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/sysclk.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/sysclk.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/sysclk.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/sysclk.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/samg/sysclk.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/sysclk.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/sysclk.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/sysclk.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/clock/sysclk.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/delay.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/delay.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/delay.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/delay.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/sam/cycle_counter.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/sam/cycle_counter.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/sam/cycle_counter.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/sam/cycle_counter.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/sam/cycle_counter.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/sam/cycle_counter.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/sam/cycle_counter.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/delay/sam/cycle_counter.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/gpio/gpio.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/gpio/gpio.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/gpio/gpio.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/gpio/gpio.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/gpio/sam_gpio/sam_gpio.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/gpio/sam_gpio/sam_gpio.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/gpio/sam_gpio/sam_gpio.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/gpio/sam_gpio/sam_gpio.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/ioport.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/ioport.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/ioport.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/ioport.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/sam/ioport_gpio.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/sam/ioport_gpio.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/sam/ioport_gpio.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/sam/ioport_gpio.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/sam/ioport_pio.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/sam/ioport_pio.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/sam/ioport_pio.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/ioport/sam/ioport_pio.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/sam_uart/uart_serial.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/sam_uart/uart_serial.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/sam_uart/uart_serial.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/sam_uart/uart_serial.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/serial_platform.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/serial_platform.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/serial_platform.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/serial_platform.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/usart_serial.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/usart_serial.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/usart_serial.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/serial/usart_serial.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/module_config/conf_sleepmgr.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/module_config/conf_sleepmgr.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/module_config/conf_sleepmgr.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/module_config/conf_sleepmgr.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/sleepmgr.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/sleepmgr.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/sleepmgr.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/sleepmgr.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/sleepmgr.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/sleepmgr.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/sleepmgr.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sam/sleepmgr.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sleepmgr.h b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sleepmgr.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sleepmgr.h rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/services/sleepmgr/sleepmgr.h diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/sleep_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/sleep_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/sleep_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/sleep_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/spi_api.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/spi_api.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/spi_api.c diff --git a/hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/us_ticker.c b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM4/us_ticker.c rename to targets/TARGET_Atmel/TARGET_SAM_CortexM4/us_ticker.c diff --git a/hal/targets/hal/TARGET_Atmel/common/utils/interrupt.h b/targets/TARGET_Atmel/common/utils/interrupt.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/common/utils/interrupt.h rename to targets/TARGET_Atmel/common/utils/interrupt.h diff --git a/hal/targets/hal/TARGET_Atmel/common/utils/interrupt/interrupt_sam_nvic.c b/targets/TARGET_Atmel/common/utils/interrupt/interrupt_sam_nvic.c similarity index 100% rename from hal/targets/hal/TARGET_Atmel/common/utils/interrupt/interrupt_sam_nvic.c rename to targets/TARGET_Atmel/common/utils/interrupt/interrupt_sam_nvic.c diff --git a/hal/targets/hal/TARGET_Atmel/common/utils/interrupt/interrupt_sam_nvic.h b/targets/TARGET_Atmel/common/utils/interrupt/interrupt_sam_nvic.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/common/utils/interrupt/interrupt_sam_nvic.h rename to targets/TARGET_Atmel/common/utils/interrupt/interrupt_sam_nvic.h diff --git a/hal/targets/hal/TARGET_Atmel/common/utils/parts.h b/targets/TARGET_Atmel/common/utils/parts.h similarity index 100% rename from hal/targets/hal/TARGET_Atmel/common/utils/parts.h rename to targets/TARGET_Atmel/common/utils/parts.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/PeripheralPins.h b/targets/TARGET_Freescale/TARGET_K20XX/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/PeripheralPins.h rename to targets/TARGET_Freescale/TARGET_K20XX/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/PortNames.h b/targets/TARGET_Freescale/TARGET_K20XX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/PortNames.h rename to targets/TARGET_Freescale/TARGET_K20XX/PortNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PinNames.h b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PinNames.h rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device.h b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device.h rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/us_ticker.c b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/us_ticker.c rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/us_ticker.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PinNames.h b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PinNames.h rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device.h b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device.h rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/us_ticker.c b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/us_ticker.c rename to targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/us_ticker.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/analogin_api.c b/targets/TARGET_Freescale/TARGET_K20XX/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/analogin_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/analogin_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/analogout_api.c b/targets/TARGET_Freescale/TARGET_K20XX/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/analogout_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/analogout_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/clk_freqs.h b/targets/TARGET_Freescale/TARGET_K20XX/clk_freqs.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/clk_freqs.h rename to targets/TARGET_Freescale/TARGET_K20XX/clk_freqs.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/gpio_api.c b/targets/TARGET_Freescale/TARGET_K20XX/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/gpio_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/gpio_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/gpio_irq_api.c b/targets/TARGET_Freescale/TARGET_K20XX/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/gpio_irq_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/gpio_object.h b/targets/TARGET_Freescale/TARGET_K20XX/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/gpio_object.h rename to targets/TARGET_Freescale/TARGET_K20XX/gpio_object.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/i2c_api.c b/targets/TARGET_Freescale/TARGET_K20XX/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/i2c_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/i2c_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/objects.h b/targets/TARGET_Freescale/TARGET_K20XX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/objects.h rename to targets/TARGET_Freescale/TARGET_K20XX/objects.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/pinmap.c b/targets/TARGET_Freescale/TARGET_K20XX/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/pinmap.c rename to targets/TARGET_Freescale/TARGET_K20XX/pinmap.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/port_api.c b/targets/TARGET_Freescale/TARGET_K20XX/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/port_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/port_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/pwmout_api.c b/targets/TARGET_Freescale/TARGET_K20XX/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/pwmout_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/rtc_api.c b/targets/TARGET_Freescale/TARGET_K20XX/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/rtc_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/rtc_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/serial_api.c b/targets/TARGET_Freescale/TARGET_K20XX/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/serial_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/sleep.c b/targets/TARGET_Freescale/TARGET_K20XX/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/sleep.c rename to targets/TARGET_Freescale/TARGET_K20XX/sleep.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_K20XX/spi_api.c b/targets/TARGET_Freescale/TARGET_K20XX/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_K20XX/spi_api.c rename to targets/TARGET_Freescale/TARGET_K20XX/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/PeripheralPins.h b/targets/TARGET_Freescale/TARGET_KLXX/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/PeripheralPins.h rename to targets/TARGET_Freescale/TARGET_KLXX/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/PortNames.h b/targets/TARGET_Freescale/TARGET_KLXX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/PortNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/PortNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PinNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PinNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/gpio_irq_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/gpio_irq_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/serial_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/serial_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/spi_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/spi_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PinNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PinNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/gpio_irq_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/gpio_irq_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/serial_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/serial_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/spi_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/spi_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PinNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PinNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/gpio_irq_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/gpio_irq_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/serial_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/serial_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/spi_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/spi_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PinNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PinNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/device.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/device.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/gpio_irq_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/gpio_irq_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/serial_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/serial_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/spi_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/spi_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PinNames.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PinNames.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device.h b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device.h rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/gpio_irq_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/gpio_irq_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/serial_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/serial_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/spi_api.c b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/spi_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/analogin_api.c b/targets/TARGET_Freescale/TARGET_KLXX/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/analogin_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/analogin_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/analogout_api.c b/targets/TARGET_Freescale/TARGET_KLXX/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/analogout_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/analogout_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/clk_freqs.h b/targets/TARGET_Freescale/TARGET_KLXX/clk_freqs.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/clk_freqs.h rename to targets/TARGET_Freescale/TARGET_KLXX/clk_freqs.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/gpio_api.c b/targets/TARGET_Freescale/TARGET_KLXX/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/gpio_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/gpio_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/gpio_object.h b/targets/TARGET_Freescale/TARGET_KLXX/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/gpio_object.h rename to targets/TARGET_Freescale/TARGET_KLXX/gpio_object.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/i2c_api.c b/targets/TARGET_Freescale/TARGET_KLXX/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/i2c_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/i2c_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/objects.h b/targets/TARGET_Freescale/TARGET_KLXX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/objects.h rename to targets/TARGET_Freescale/TARGET_KLXX/objects.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/pinmap.c b/targets/TARGET_Freescale/TARGET_KLXX/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/pinmap.c rename to targets/TARGET_Freescale/TARGET_KLXX/pinmap.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/port_api.c b/targets/TARGET_Freescale/TARGET_KLXX/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/port_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/port_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/pwmout_api.c b/targets/TARGET_Freescale/TARGET_KLXX/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/pwmout_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/rtc_api.c b/targets/TARGET_Freescale/TARGET_KLXX/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/rtc_api.c rename to targets/TARGET_Freescale/TARGET_KLXX/rtc_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/sleep.c b/targets/TARGET_Freescale/TARGET_KLXX/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/sleep.c rename to targets/TARGET_Freescale/TARGET_KLXX/sleep.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/us_ticker.c b/targets/TARGET_Freescale/TARGET_KLXX/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KLXX/us_ticker.c rename to targets/TARGET_Freescale/TARGET_KLXX/us_ticker.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PinNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PinNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/device.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/device.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/fsl_clock_config.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/fsl_clock_config.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/fsl_clock_config.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/fsl_clock_config.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/fsl_clock_config.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/fsl_clock_config.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/fsl_clock_config.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/fsl_clock_config.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/TARGET_FRDM/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_adc16.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_adc16.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_adc16.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_adc16.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_adc16.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_adc16.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_adc16.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_adc16.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_clock.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_clock.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_clock.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_clock.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_clock.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_clock.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_clock.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_clock.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_cmp.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_cmp.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_cmp.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_cmp.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_cmp.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_cmp.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_cmp.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_cmp.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_common.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_common.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_common.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_common.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_common.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_common.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_common.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_common.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_crc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_crc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_crc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_crc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_crc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_crc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_crc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_crc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dac.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dac.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dac.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dac.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dac.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dac.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dac.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dac.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dmamux.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dmamux.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dmamux.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dmamux.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dmamux.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dmamux.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dmamux.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dmamux.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_dspi_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ewm.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ewm.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ewm.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ewm.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ewm.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ewm.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ewm.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ewm.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flash.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flash.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flash.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flash.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flash.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flash.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flash.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flash.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flexbus.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flexbus.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flexbus.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flexbus.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flexbus.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flexbus.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flexbus.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_flexbus.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ftm.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ftm.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ftm.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ftm.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ftm.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ftm.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ftm.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_ftm.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_gpio.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_gpio.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_gpio.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_gpio.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_gpio.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_gpio.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_gpio.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_gpio.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_i2c_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_llwu.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_llwu.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_llwu.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_llwu.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_llwu.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_llwu.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_llwu.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_llwu.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lptmr.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lptmr.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lptmr.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lptmr.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lptmr.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lptmr.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lptmr.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lptmr.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_lpuart_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pdb.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pdb.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pdb.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pdb.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pdb.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pdb.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pdb.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pdb.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pit.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pit.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pit.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pit.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pit.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pit.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pit.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pit.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pmc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pmc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pmc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pmc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pmc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pmc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pmc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_pmc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_port.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_port.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_port.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_port.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rcm.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rcm.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rcm.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rcm.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rcm.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rcm.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rcm.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rcm.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rnga.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rnga.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rnga.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rnga.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rnga.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rnga.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rnga.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rnga.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rtc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rtc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rtc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rtc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rtc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rtc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rtc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_rtc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sai_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sim.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sim.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sim.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sim.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sim.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sim.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sim.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_sim.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_smc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_smc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_smc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_smc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_smc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_smc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_smc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_smc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_uart_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_vref.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_vref.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_vref.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_vref.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_vref.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_vref.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_vref.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_vref.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_wdog.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_wdog.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_wdog.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_wdog.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_wdog.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_wdog.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_wdog.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/drivers/fsl_wdog.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/peripheral_clock_defines.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/peripheral_clock_defines.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/peripheral_clock_defines.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/peripheral_clock_defines.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/pwmout_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/pwmout_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/serial_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/serial_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/spi_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/spi_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/us_ticker.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/us_ticker.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K22F/us_ticker.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PinNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PinNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/crc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/crc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/crc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/crc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/crc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/crc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/crc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/crc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/device.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/device.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_clock_config.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_clock_config.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_clock_config.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_clock_config.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_clock_config.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_clock_config.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_clock_config.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_clock_config.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_phy.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_phy.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_phy.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_phy.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_phy.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_phy.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_phy.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/fsl_phy.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_FRDM/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PinNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PinNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/device.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/device.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/fsl_clock_config.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/fsl_clock_config.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/fsl_clock_config.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/fsl_clock_config.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/fsl_clock_config.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/fsl_clock_config.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/fsl_clock_config.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/fsl_clock_config.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_HEXIWEAR/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PinNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PinNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/device.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/device.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/fsl_clock_config.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/fsl_clock_config.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/fsl_clock_config.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/fsl_clock_config.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/fsl_clock_config.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/fsl_clock_config.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/fsl_clock_config.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/fsl_clock_config.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/TARGET_MTS_GAMBIT/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_adc16.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_adc16.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_adc16.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_adc16.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_adc16.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_adc16.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_adc16.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_adc16.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_clock.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_clock.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_clock.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_clock.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_clock.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_clock.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_clock.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_clock.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmp.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmp.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmp.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmp.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmp.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmp.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmp.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmp.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmt.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmt.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmt.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmt.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmt.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmt.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmt.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_cmt.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_common.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_common.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_common.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_common.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_common.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_common.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_common.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_common.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_crc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_crc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_crc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_crc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_crc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_crc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_crc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_crc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dac.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dac.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dac.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dac.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dac.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dac.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dac.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dac.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dmamux.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dmamux.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dmamux.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dmamux.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dmamux.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dmamux.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dmamux.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dmamux.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_dspi_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_enet.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_enet.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_enet.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_enet.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_enet.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_enet.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_enet.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_enet.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ewm.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ewm.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ewm.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ewm.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ewm.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ewm.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ewm.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ewm.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flash.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flash.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flash.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flash.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flash.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flash.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flash.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flash.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexbus.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexbus.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexbus.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexbus.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexbus.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexbus.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexbus.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexbus.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexcan.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexcan.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexcan.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexcan.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexcan.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexcan.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexcan.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_flexcan.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ftm.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ftm.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ftm.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ftm.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ftm.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ftm.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ftm.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_ftm.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_gpio.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_gpio.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_gpio.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_gpio.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_gpio.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_gpio.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_gpio.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_gpio.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_i2c_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_llwu.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_llwu.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_llwu.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_llwu.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_llwu.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_llwu.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_llwu.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_llwu.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_lptmr.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_lptmr.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_lptmr.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_lptmr.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_lptmr.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_lptmr.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_lptmr.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_lptmr.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_mpu.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_mpu.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_mpu.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_mpu.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_mpu.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_mpu.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_mpu.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_mpu.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pdb.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pdb.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pdb.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pdb.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pdb.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pdb.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pdb.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pdb.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pit.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pit.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pit.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pit.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pit.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pit.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pit.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pit.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pmc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pmc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pmc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pmc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pmc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pmc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pmc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_pmc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_port.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_port.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_port.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_port.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rcm.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rcm.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rcm.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rcm.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rcm.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rcm.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rcm.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rcm.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rnga.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rnga.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rnga.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rnga.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rnga.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rnga.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rnga.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rnga.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rtc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rtc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rtc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rtc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rtc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rtc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rtc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_rtc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sai_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sdhc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sdhc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sdhc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sdhc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sdhc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sdhc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sdhc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sdhc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sim.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sim.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sim.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sim.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sim.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sim.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sim.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_sim.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_smc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_smc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_smc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_smc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_smc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_smc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_smc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_smc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart_edma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart_edma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart_edma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart_edma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart_edma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart_edma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart_edma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_uart_edma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_vref.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_vref.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_vref.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_vref.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_vref.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_vref.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_vref.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_vref.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_wdog.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_wdog.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_wdog.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_wdog.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_wdog.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_wdog.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_wdog.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers/fsl_wdog.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/entropy_hardware_poll.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/entropy_hardware_poll.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/entropy_hardware_poll.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/entropy_hardware_poll.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/peripheral_clock_defines.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/peripheral_clock_defines.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/peripheral_clock_defines.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/peripheral_clock_defines.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/pwmout_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/pwmout_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/serial_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/serial_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/spi_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/spi_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/storage_driver.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/storage_driver.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/storage_driver.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/storage_driver.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/us_ticker.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/us_ticker.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/us_ticker.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PeripheralNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PeripheralNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PeripheralPins.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PeripheralPins.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PinNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PinNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/PinNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/device.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/device.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/device.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/device.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/fsl_clock_config.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/fsl_clock_config.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/fsl_clock_config.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/fsl_clock_config.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/fsl_clock_config.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/fsl_clock_config.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/fsl_clock_config.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/fsl_clock_config.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/mbed_overrides.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/mbed_overrides.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/TARGET_FRDM/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_adc16.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_adc16.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_adc16.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_adc16.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_adc16.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_adc16.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_adc16.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_adc16.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_clock.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_clock.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_clock.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_clock.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_clock.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_clock.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_clock.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_clock.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cmp.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cmp.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cmp.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cmp.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cmp.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cmp.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cmp.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cmp.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_common.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_common.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_common.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_common.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_common.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_common.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_common.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_common.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cop.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cop.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cop.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cop.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cop.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cop.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cop.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_cop.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_crc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_crc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_crc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_crc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_crc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_crc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_crc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_crc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dmamux.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dmamux.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dmamux.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dmamux.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dmamux.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dmamux.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dmamux.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_dmamux.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flash.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flash.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flash.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flash.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flash.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flash.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flash.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flash.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2c_master.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2c_master.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2c_master.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2c_master.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2c_master.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2c_master.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2c_master.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2c_master.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s_dma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s_dma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s_dma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s_dma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s_dma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_i2s_dma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi_dma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi_dma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi_dma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi_dma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi_dma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_spi_dma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart_dma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart_dma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart_dma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart_dma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart_dma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_flexio_uart_dma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_gpio.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_gpio.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_gpio.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_gpio.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_gpio.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_gpio.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_gpio.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_gpio.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c_dma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c_dma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c_dma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c_dma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c_dma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_i2c_dma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_llwu.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_llwu.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_llwu.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_llwu.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_llwu.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_llwu.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_llwu.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_llwu.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lptmr.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lptmr.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lptmr.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lptmr.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lptmr.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lptmr.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lptmr.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lptmr.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart_dma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart_dma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart_dma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart_dma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart_dma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_lpuart_dma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pit.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pit.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pit.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pit.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pit.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pit.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pit.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pit.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pmc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pmc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pmc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pmc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pmc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pmc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pmc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_pmc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_port.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_port.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_port.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_port.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rcm.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rcm.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rcm.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rcm.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rcm.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rcm.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rcm.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rcm.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rtc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rtc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rtc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rtc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rtc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rtc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rtc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_rtc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_sim.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_sim.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_sim.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_sim.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_sim.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_sim.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_sim.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_sim.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_smc.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_smc.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_smc.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_smc.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_smc.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_smc.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_smc.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_smc.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi_dma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi_dma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi_dma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi_dma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi_dma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_spi_dma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_tpm.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart_dma.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart_dma.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart_dma.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart_dma.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart_dma.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_uart_dma.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_vref.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_vref.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_vref.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_vref.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_vref.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_vref.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_vref.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/drivers/fsl_vref.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/peripheral_clock_defines.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/peripheral_clock_defines.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/peripheral_clock_defines.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/peripheral_clock_defines.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/pwmout_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/pwmout_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/serial_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/serial_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/serial_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/spi_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/spi_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/spi_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/us_ticker.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/us_ticker.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_KL27Z/us_ticker.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/PeripheralPins.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/PeripheralPins.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/PortNames.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/PortNames.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/PortNames.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/analogin_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/analogin_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/analogin_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/analogout_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/analogout_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/analogout_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_irq_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_irq_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_object.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_object.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/gpio_object.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/i2c_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/i2c_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/i2c_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/objects.h b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/objects.h similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/objects.h rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/objects.h diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/pinmap.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/pinmap.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/pinmap.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/port_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/port_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/port_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/rtc_api.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/rtc_api.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/rtc_api.c diff --git a/hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/sleep.c b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/api/sleep.c rename to targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/sleep.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.c b/targets/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.c rename to targets/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.h b/targets/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.h rename to targets/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/PortNames.h b/targets/TARGET_Maxim/TARGET_MAX32600/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/PortNames.h rename to targets/TARGET_Maxim/TARGET_MAX32600/PortNames.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/PeripheralNames.h b/targets/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/PeripheralNames.h rename to targets/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/PinNames.h b/targets/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/PinNames.h rename to targets/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/PinNames.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/low_level_init.c b/targets/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/low_level_init.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/low_level_init.c rename to targets/TARGET_Maxim/TARGET_MAX32600/TARGET_MAX32600MBED/low_level_init.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/analogin_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/analogin_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/analogin_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/analogout_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/analogout_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/analogout_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/device.h b/targets/TARGET_Maxim/TARGET_MAX32600/device.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/device.h rename to targets/TARGET_Maxim/TARGET_MAX32600/device.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/gpio_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/gpio_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/gpio_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/gpio_irq_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/gpio_irq_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/gpio_object.h b/targets/TARGET_Maxim/TARGET_MAX32600/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/gpio_object.h rename to targets/TARGET_Maxim/TARGET_MAX32600/gpio_object.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/i2c_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/i2c_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/i2c_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/objects.h b/targets/TARGET_Maxim/TARGET_MAX32600/objects.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/objects.h rename to targets/TARGET_Maxim/TARGET_MAX32600/objects.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/pinmap.c b/targets/TARGET_Maxim/TARGET_MAX32600/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/pinmap.c rename to targets/TARGET_Maxim/TARGET_MAX32600/pinmap.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/port_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/port_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/port_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/pwmout_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/pwmout_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/rtc_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/rtc_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/rtc_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/serial_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/serial_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/serial_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/sleep.c b/targets/TARGET_Maxim/TARGET_MAX32600/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/sleep.c rename to targets/TARGET_Maxim/TARGET_MAX32600/sleep.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/spi_api.c b/targets/TARGET_Maxim/TARGET_MAX32600/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/spi_api.c rename to targets/TARGET_Maxim/TARGET_MAX32600/spi_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/us_ticker.c b/targets/TARGET_Maxim/TARGET_MAX32600/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32600/us_ticker.c rename to targets/TARGET_Maxim/TARGET_MAX32600/us_ticker.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.c b/targets/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.c rename to targets/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.h b/targets/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.h rename to targets/TARGET_Maxim/TARGET_MAX32610/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/PortNames.h b/targets/TARGET_Maxim/TARGET_MAX32610/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/PortNames.h rename to targets/TARGET_Maxim/TARGET_MAX32610/PortNames.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/PeripheralNames.h b/targets/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/PeripheralNames.h rename to targets/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/PinNames.h b/targets/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/PinNames.h rename to targets/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/PinNames.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/low_level_init.c b/targets/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/low_level_init.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/low_level_init.c rename to targets/TARGET_Maxim/TARGET_MAX32610/TARGET_MAXWSNENV/low_level_init.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/exactLE.ar b/targets/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/exactLE.ar similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/exactLE.ar rename to targets/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/exactLE.ar diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/libexactLE.a b/targets/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/libexactLE.a similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/libexactLE.a rename to targets/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/libexactLE.a diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/exactLE.a b/targets/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/exactLE.a similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/exactLE.a rename to targets/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/exactLE.a diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/analogin_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/analogin_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/analogin_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/analogout_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/analogout_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/analogout_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/device.h b/targets/TARGET_Maxim/TARGET_MAX32610/device.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/device.h rename to targets/TARGET_Maxim/TARGET_MAX32610/device.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/gpio_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/gpio_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/gpio_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/gpio_irq_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/gpio_irq_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/gpio_object.h b/targets/TARGET_Maxim/TARGET_MAX32610/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/gpio_object.h rename to targets/TARGET_Maxim/TARGET_MAX32610/gpio_object.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/i2c_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/i2c_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/i2c_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/objects.h b/targets/TARGET_Maxim/TARGET_MAX32610/objects.h similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/objects.h rename to targets/TARGET_Maxim/TARGET_MAX32610/objects.h diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/pinmap.c b/targets/TARGET_Maxim/TARGET_MAX32610/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/pinmap.c rename to targets/TARGET_Maxim/TARGET_MAX32610/pinmap.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/port_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/port_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/port_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/pwmout_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/pwmout_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/rtc_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/rtc_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/rtc_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/serial_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/serial_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/serial_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/sleep.c b/targets/TARGET_Maxim/TARGET_MAX32610/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/sleep.c rename to targets/TARGET_Maxim/TARGET_MAX32610/sleep.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/spi_api.c b/targets/TARGET_Maxim/TARGET_MAX32610/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/spi_api.c rename to targets/TARGET_Maxim/TARGET_MAX32610/spi_api.c diff --git a/hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/us_ticker.c b/targets/TARGET_Maxim/TARGET_MAX32610/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Maxim/TARGET_MAX32610/us_ticker.c rename to targets/TARGET_Maxim/TARGET_MAX32610/us_ticker.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16/crc16.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16/crc16.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16/crc16.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16/crc16.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler/app_scheduler.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler/app_scheduler.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler/app_scheduler.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler/app_scheduler.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_error.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_error.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_error.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_error.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_util.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_util.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_util.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_util.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_licence_agreement.txt b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_licence_agreement.txt similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_licence_agreement.txt rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_licence_agreement.txt diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_softdevice.hex b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_softdevice.hex similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_softdevice.hex rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_softdevice.hex diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_licence_agreement.txt b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_licence_agreement.txt similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_licence_agreement.txt rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_licence_agreement.txt diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_softdevice.hex b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_softdevice.hex similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_softdevice.hex rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_softdevice.hex diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/PeripheralNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/PeripheralNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/PortNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/PortNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/PortNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_ARCH_BLE/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/mbed_overrides.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/mbed_overrides.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/rtc_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/rtc_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_DELTA_DFCM_NNN40/rtc_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_SBKIT/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_SBKIT/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_SBKIT/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_SBKIT/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_SBKIT/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_SBKIT/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_SBKIT/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_SBKIT/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_Y5_MBUG/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DK/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_BLENANO/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_SEEED_TINY_BLE/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_TY51822R3/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/PinNames.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/PinNames.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/device.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/device.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_WALLBOT_BLE/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/analogin_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/analogin_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/analogin_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_irq_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_irq_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_object.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_object.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_object.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/objects.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/objects.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/objects.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/pinmap.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/pinmap.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/pinmap.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/port_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/port_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/port_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/pwmout_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/pwmout_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/sleep.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/sleep.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sleep.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/spi_api.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/spi_api.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/spi_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_config.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_config.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_config.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_config.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.h b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.h rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c rename to targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/LF_Clock_config.md b/targets/TARGET_NORDIC/TARGET_NRF5/LF_Clock_config.md similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/LF_Clock_config.md rename to targets/TARGET_NORDIC/TARGET_NRF5/LF_Clock_config.md diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/PeripheralNames.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/PeripheralNames.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/PortNames.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/PortNames.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/PortNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_NRF51_DK/PinNames.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_NRF51_DK/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_NRF51_DK/PinNames.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_NRF51_DK/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_NRF51_DK/device.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_NRF51_DK/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_NRF51_DK/device.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_NRF51_DK/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/analogin_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/analogin_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/analogin_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/pwmout_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/pwmout_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/nrf_drv_config.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/nrf_drv_config.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/nrf_drv_config.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/nrf_drv_config.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf51/nrf_mbr.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf51/nrf_mbr.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf51/nrf_mbr.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf51/nrf_mbr.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_err.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_err.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_err.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_err.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gap.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gap.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gap.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gap.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gatt.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gatt.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gatt.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gatt.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gattc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gattc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gattc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gattc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gatts.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gatts.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gatts.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_gatts.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_hci.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_hci.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_hci.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_hci.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_l2cap.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_l2cap.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_l2cap.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_l2cap.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_ranges.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_ranges.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_ranges.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_ranges.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_types.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_types.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_types.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_ble_types.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error_sdm.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error_sdm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error_sdm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error_sdm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error_soc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error_soc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error_soc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_error_soc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_nvic.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_nvic.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_nvic.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_nvic.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_sd_def.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_sd_def.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_sd_def.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_sd_def.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_sdm.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_sdm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_sdm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_sdm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_soc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_soc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_soc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_soc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_svc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_svc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_svc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/headers/nrf_svc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/sdk/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/PeripheralNames.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/PeripheralNames.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/PortNames.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/PortNames.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/PortNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/PinNames.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/PinNames.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/PinNames.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/device.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/device.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/device.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/device.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/analogin_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/analogin_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/analogin_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/pwmout_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/pwmout_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/pwm/nrf_drv_pwm.c b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/pwm/nrf_drv_pwm.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/pwm/nrf_drv_pwm.c rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/pwm/nrf_drv_pwm.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/pwm/nrf_drv_pwm.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/pwm/nrf_drv_pwm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/pwm/nrf_drv_pwm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/pwm/nrf_drv_pwm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/saadc/nrf_drv_saadc.c b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/saadc/nrf_drv_saadc.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/saadc/nrf_drv_saadc.c rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/saadc/nrf_drv_saadc.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/saadc/nrf_drv_saadc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/saadc/nrf_drv_saadc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/saadc/nrf_drv_saadc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/driver_nrf/saadc/nrf_drv_saadc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/nrf_drv_config.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/nrf_drv_config.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/nrf_drv_config.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/nrf_drv_config.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf52/nrf_mbr.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf52/nrf_mbr.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf52/nrf_mbr.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf52/nrf_mbr.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_err.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_err.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_err.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_err.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gap.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gap.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gap.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gap.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gatt.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gatt.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gatt.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gatt.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gattc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gattc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gattc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gattc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gatts.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gatts.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gatts.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_gatts.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_hci.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_hci.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_hci.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_hci.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_l2cap.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_l2cap.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_l2cap.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_l2cap.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_ranges.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_ranges.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_ranges.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_ranges.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_types.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_types.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_types.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_ble_types.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error_sdm.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error_sdm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error_sdm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error_sdm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error_soc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error_soc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error_soc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_error_soc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_nvic.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_nvic.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_nvic.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_nvic.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_sd_def.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_sd_def.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_sd_def.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_sd_def.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_sdm.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_sdm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_sdm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_sdm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_soc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_soc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_soc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_soc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_svc.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_svc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_svc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/headers/nrf_svc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/hex/s132_nrf52_2.0.0_softdevice.hex b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/hex/s132_nrf52_2.0.0_softdevice.hex similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/hex/s132_nrf52_2.0.0_softdevice.hex rename to targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/sdk/softdevice/s132/hex/s132_nrf52_2.0.0_softdevice.hex diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/common_rtc.h b/targets/TARGET_NORDIC/TARGET_NRF5/common_rtc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/common_rtc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/common_rtc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/gpio_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/gpio_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/gpio_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/gpio_object.h b/targets/TARGET_NORDIC/TARGET_NRF5/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/gpio_object.h rename to targets/TARGET_NORDIC/TARGET_NRF5/gpio_object.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/i2c_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/i2c_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/i2c_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/lp_ticker.c b/targets/TARGET_NORDIC/TARGET_NRF5/lp_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/lp_ticker.c rename to targets/TARGET_NORDIC/TARGET_NRF5/lp_ticker.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/objects.h b/targets/TARGET_NORDIC/TARGET_NRF5/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/objects.h rename to targets/TARGET_NORDIC/TARGET_NRF5/objects.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/pinmap.c b/targets/TARGET_NORDIC/TARGET_NRF5/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/pinmap.c rename to targets/TARGET_NORDIC/TARGET_NRF5/pinmap.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/port_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/port_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/port_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/rtc_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/rtc_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/rtc_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_advertising/ble_advertising.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_advertising/ble_advertising.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_advertising/ble_advertising.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_advertising/ble_advertising.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_advertising/ble_advertising.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_advertising/ble_advertising.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_advertising/ble_advertising.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_advertising/ble_advertising.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_db_discovery/ble_db_discovery.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_db_discovery/ble_db_discovery.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_db_discovery/ble_db_discovery.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_db_discovery/ble_db_discovery.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_db_discovery/ble_db_discovery.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_db_discovery/ble_db_discovery.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_db_discovery/ble_db_discovery.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_db_discovery/ble_db_discovery.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_debug_assert_handler/ble_debug_assert_handler.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_debug_assert_handler/ble_debug_assert_handler.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_debug_assert_handler/ble_debug_assert_handler.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_debug_assert_handler/ble_debug_assert_handler.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_debug_assert_handler/ble_debug_assert_handler.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_debug_assert_handler/ble_debug_assert_handler.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_debug_assert_handler/ble_debug_assert_handler.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_debug_assert_handler/ble_debug_assert_handler.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_dtm/ble_dtm.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_dtm/ble_dtm.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_dtm/ble_dtm.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_dtm/ble_dtm.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_dtm/ble_dtm.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_dtm/ble_dtm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_dtm/ble_dtm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_dtm/ble_dtm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_error_log/ble_error_log.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_error_log/ble_error_log.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_error_log/ble_error_log.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_error_log/ble_error_log.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_racp/ble_racp.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_racp/ble_racp.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_racp/ble_racp.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_racp/ble_racp.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_racp/ble_racp.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_racp/ble_racp.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_racp/ble_racp.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_racp/ble_racp.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_radio_notification/ble_radio_notification.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_radio_notification/ble_radio_notification.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_radio_notification/ble_radio_notification.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_radio_notification/ble_radio_notification.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_radio_notification/ble_radio_notification.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_radio_notification/ble_radio_notification.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_radio_notification/ble_radio_notification.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_radio_notification/ble_radio_notification.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_services/ble_dfu/ble_dfu.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_services/ble_dfu/ble_dfu.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_services/ble_dfu/ble_dfu.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_services/ble_dfu/ble_dfu.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_services/ble_dfu/ble_dfu.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_services/ble_dfu/ble_dfu.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_services/ble_dfu/ble_dfu.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/ble_services/ble_dfu/ble_dfu.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_advdata.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_advdata.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_advdata.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_advdata.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_advdata.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_advdata.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_advdata.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_advdata.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_params.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_params.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_params.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_params.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_state.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_state.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_state.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_state.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_state.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_state.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_state.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_conn_state.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_date_time.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_date_time.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_date_time.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_date_time.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_gatt_db.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_gatt_db.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_gatt_db.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_gatt_db.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_sensor_location.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_sensor_location.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_sensor_location.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_sensor_location.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_srv_common.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_srv_common.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_srv_common.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_srv_common.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_srv_common.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_srv_common.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_srv_common.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/common/ble_srv_common.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/config/device_manager_cnfg.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/config/device_manager_cnfg.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/config/device_manager_cnfg.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/config/device_manager_cnfg.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/device_manager.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/device_manager.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/device_manager.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/device_manager.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/device_manager_peripheral.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/device_manager_peripheral.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/device_manager_peripheral.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/device_manager/device_manager_peripheral.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatt_cache_manager.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatt_cache_manager.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatt_cache_manager.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatt_cache_manager.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatt_cache_manager.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatt_cache_manager.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatt_cache_manager.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatt_cache_manager.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gattc_cache_manager.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gattc_cache_manager.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gattc_cache_manager.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gattc_cache_manager.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gattc_cache_manager.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gattc_cache_manager.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gattc_cache_manager.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gattc_cache_manager.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatts_cache_manager.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatts_cache_manager.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatts_cache_manager.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatts_cache_manager.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatts_cache_manager.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatts_cache_manager.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatts_cache_manager.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/gatts_cache_manager.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/id_manager.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/id_manager.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/id_manager.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/id_manager.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/id_manager.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/id_manager.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/id_manager.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/id_manager.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data_storage.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data_storage.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data_storage.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data_storage.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data_storage.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data_storage.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data_storage.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_data_storage.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_database.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_database.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_database.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_database.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_database.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_database.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_database.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_database.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_id.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_id.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_id.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_id.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_id.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_id.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_id.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_id.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager_internal.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager_internal.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager_internal.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager_internal.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager_types.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager_types.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager_types.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/peer_manager_types.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_buffer.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_buffer.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_buffer.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_buffer.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_buffer.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_buffer.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_buffer.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_buffer.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_mutex.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_mutex.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_mutex.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_mutex.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_mutex.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_mutex.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_mutex.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/pm_mutex.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_dispatcher.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_dispatcher.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_dispatcher.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_dispatcher.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_dispatcher.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_dispatcher.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_dispatcher.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_dispatcher.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_manager.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_manager.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_manager.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_manager.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_manager.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_manager.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_manager.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/ble/peer_manager/security_manager.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ble_flash/ble_flash.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ble_flash/ble_flash.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ble_flash/ble_flash.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ble_flash/ble_flash.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ble_flash/ble_flash.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ble_flash/ble_flash.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ble_flash/ble_flash.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ble_flash/ble_flash.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/clock/nrf_drv_clock.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/clock/nrf_drv_clock.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/clock/nrf_drv_clock.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/clock/nrf_drv_clock.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/clock/nrf_drv_clock.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/clock/nrf_drv_clock.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/clock/nrf_drv_clock.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/clock/nrf_drv_clock.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/common/nrf_drv_common.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/common/nrf_drv_common.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/common/nrf_drv_common.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/common/nrf_drv_common.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/common/nrf_drv_common.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/common/nrf_drv_common.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/common/nrf_drv_common.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/common/nrf_drv_common.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/config/nrf_drv_config_validation.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/config/nrf_drv_config_validation.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/config/nrf_drv_config_validation.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/config/nrf_drv_config_validation.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/delay/nrf_delay.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/gpiote/nrf_drv_gpiote.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/gpiote/nrf_drv_gpiote.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/gpiote/nrf_drv_gpiote.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/gpiote/nrf_drv_gpiote.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/gpiote/nrf_drv_gpiote.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/gpiote/nrf_drv_gpiote.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/gpiote/nrf_drv_gpiote.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/gpiote/nrf_drv_gpiote.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_adc.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_adc.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_adc.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_adc.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_adc.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_adc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_adc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_adc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_clock.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_clock.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_clock.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_clock.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ecb.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ecb.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ecb.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ecb.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ecb.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ecb.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ecb.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ecb.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_gpio.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_gpio.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_gpio.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_gpio.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_gpiote.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_gpiote.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_gpiote.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_gpiote.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_nvmc.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_nvmc.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_nvmc.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_nvmc.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_nvmc.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_nvmc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_nvmc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_nvmc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_pdm.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_pdm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_pdm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_pdm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ppi.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ppi.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ppi.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_ppi.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_pwm.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_pwm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_pwm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_pwm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_rtc.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_rtc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_rtc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_rtc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_saadc.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_saadc.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_saadc.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_saadc.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_saadc.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_saadc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_saadc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_saadc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spi.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spi.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spi.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spi.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spim.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spim.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spim.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spim.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spis.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spis.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spis.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_spis.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_temp.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_temp.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_temp.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_temp.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_timer.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_timer.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_timer.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_timer.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_twi.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_twi.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_twi.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_twi.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_uart.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_uart.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_uart.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_uart.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_wdt.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_wdt.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_wdt.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/hal/nrf_wdt.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ppi/nrf_drv_ppi.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ppi/nrf_drv_ppi.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ppi/nrf_drv_ppi.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ppi/nrf_drv_ppi.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ppi/nrf_drv_ppi.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ppi/nrf_drv_ppi.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ppi/nrf_drv_ppi.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/ppi/nrf_drv_ppi.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/config/pstorage_platform.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/config/pstorage_platform.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/config/pstorage_platform.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/config/pstorage_platform.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/pstorage.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/pstorage.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/pstorage.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/pstorage.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/pstorage.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/pstorage.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/pstorage.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/pstorage/pstorage.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_master/nrf_drv_spi.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_master/nrf_drv_spi.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_master/nrf_drv_spi.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_master/nrf_drv_spi.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_master/nrf_drv_spi.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_master/nrf_drv_spi.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_master/nrf_drv_spi.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_master/nrf_drv_spi.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_slave/nrf_drv_spis.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_slave/nrf_drv_spis.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_slave/nrf_drv_spis.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_slave/nrf_drv_spis.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_slave/nrf_drv_spis.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_slave/nrf_drv_spis.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_slave/nrf_drv_spis.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/spi_slave/nrf_drv_spis.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/timer/nrf_drv_timer.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/timer/nrf_drv_timer.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/timer/nrf_drv_timer.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/timer/nrf_drv_timer.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/timer/nrf_drv_timer.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/timer/nrf_drv_timer.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/timer/nrf_drv_timer.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/timer/nrf_drv_timer.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/twi_master/nrf_drv_twi.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/twi_master/nrf_drv_twi.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/twi_master/nrf_drv_twi.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/twi_master/nrf_drv_twi.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/twi_master/nrf_drv_twi.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/twi_master/nrf_drv_twi.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/twi_master/nrf_drv_twi.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/drivers_nrf/twi_master/nrf_drv_twi.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_settings.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_settings.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_settings.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_settings.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_types.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_types.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_types.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_types.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_util.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_util.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_util.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_util.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_util.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_util.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_util.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/bootloader_util.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_app_handler.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_app_handler.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_app_handler.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_app_handler.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_app_handler.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_app_handler.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_app_handler.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_app_handler.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_bank_internal.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_bank_internal.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_bank_internal.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_bank_internal.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_ble_svc.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_ble_svc.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_ble_svc.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_ble_svc.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_ble_svc_internal.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_ble_svc_internal.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_ble_svc_internal.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_ble_svc_internal.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_init.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_init.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_init.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_init.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_init_template.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_init_template.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_init_template.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_init_template.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_transport.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_transport.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_transport.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_transport.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_types.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_types.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_types.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/dfu_types.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/hci_transport/hci_mem_pool_internal.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/hci_transport/hci_mem_pool_internal.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/hci_transport/hci_mem_pool_internal.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/hci_transport/hci_mem_pool_internal.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/hci_transport/hci_transport_config.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/hci_transport/hci_transport_config.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/hci_transport/hci_transport_config.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/bootloader_dfu/hci_transport/hci_transport_config.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/crc16/crc16.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/crc16/crc16.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/crc16/crc16.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/crc16/crc16.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/crc16/crc16.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/crc16/crc16.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/crc16/crc16.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/crc16/crc16.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/experimental_section_vars/section_vars.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/experimental_section_vars/section_vars.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/experimental_section_vars/section_vars.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/experimental_section_vars/section_vars.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/config/fds_config.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/config/fds_config.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/config/fds_config.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/config/fds_config.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds_internal_defs.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds_internal_defs.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds_internal_defs.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fds/fds_internal_defs.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/config/fstorage_config.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/config/fstorage_config.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/config/fstorage_config.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/config/fstorage_config.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage_internal_defs.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage_internal_defs.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage_internal_defs.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage_internal_defs.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage_nosd.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage_nosd.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage_nosd.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/fstorage/fstorage_nosd.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/config/hci_mem_pool_internal.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/config/hci_mem_pool_internal.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/config/hci_mem_pool_internal.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/config/hci_mem_pool_internal.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/config/hci_transport_config.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/config/hci_transport_config.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/config/hci_transport_config.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/config/hci_transport_config.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/hci_mem_pool.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/hci_mem_pool.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/hci_mem_pool.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/hci_mem_pool.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/hci_mem_pool.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/hci_mem_pool.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/hci_mem_pool.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/hci/hci_mem_pool.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm/app_pwm.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm/app_pwm.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm/app_pwm.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm/app_pwm.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm/app_pwm.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm/app_pwm.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm/app_pwm.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/pwm/app_pwm.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/scheduler/app_scheduler.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/scheduler/app_scheduler.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/scheduler/app_scheduler.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/scheduler/app_scheduler.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/scheduler/app_scheduler.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/scheduler/app_scheduler.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/scheduler/app_scheduler.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/scheduler/app_scheduler.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/trace/app_trace.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/trace/app_trace.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/trace/app_trace.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/trace/app_trace.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/trace/app_trace.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/trace/app_trace.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/trace/app_trace.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/trace/app_trace.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error_weak.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error_weak.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error_weak.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error_weak.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error_weak.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error_weak.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error_weak.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_error_weak.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_bds.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_bds.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_bds.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_bds.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_platform.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_platform.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_platform.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_platform.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_platform.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_platform.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_platform.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/app_util_platform.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/common.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/common.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/common.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/common.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nordic_common.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nordic_common.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nordic_common.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nordic_common.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_assert.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_assert.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_assert.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_assert.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_assert.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_assert.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_assert.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_assert.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_log.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_log.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_log.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_log.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_log.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_log.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_log.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/nrf_log.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_common.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_common.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_common.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_common.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_errors.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_errors.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_errors.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_errors.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_macros.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_macros.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_macros.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_macros.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_mapped_flags.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_mapped_flags.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_mapped_flags.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_mapped_flags.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_mapped_flags.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_mapped_flags.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_mapped_flags.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_mapped_flags.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_os.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_os.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_os.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_os.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_resources.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_resources.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_resources.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/libraries/util/sdk_resources.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/ant_stack_handler_types.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/ant_stack_handler_types.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/ant_stack_handler_types.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/ant_stack_handler_types.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/app_ram_base.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/app_ram_base.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/app_ram_base.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/app_ram_base.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/ble_stack_handler_types.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/ble_stack_handler_types.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/ble_stack_handler_types.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/ble_stack_handler_types.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler_appsh.c b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler_appsh.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler_appsh.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler_appsh.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler_appsh.h b/targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler_appsh.h similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler_appsh.h rename to targets/TARGET_NORDIC/TARGET_NRF5/sdk/softdevice/common/softdevice_handler/softdevice_handler_appsh.h diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/serial_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/serial_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/serial_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sleep.c b/targets/TARGET_NORDIC/TARGET_NRF5/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/sleep.c rename to targets/TARGET_NORDIC/TARGET_NRF5/sleep.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/spi_api.c b/targets/TARGET_NORDIC/TARGET_NRF5/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/spi_api.c rename to targets/TARGET_NORDIC/TARGET_NRF5/spi_api.c diff --git a/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/us_ticker.c b/targets/TARGET_NORDIC/TARGET_NRF5/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/us_ticker.c rename to targets/TARGET_NORDIC/TARGET_NRF5/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11U6X/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11U6X/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11U6X/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11U6X/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/PortNames.h b/targets/TARGET_NXP/TARGET_LPC11U6X/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC11U6X/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC11U6X/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/device.h b/targets/TARGET_NXP/TARGET_LPC11U6X/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/device.h rename to targets/TARGET_NXP/TARGET_LPC11U6X/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC11U6X/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC11U6X/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC11U6X/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC11U6X/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC11U6X/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/objects.h b/targets/TARGET_NXP/TARGET_LPC11U6X/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/objects.h rename to targets/TARGET_NXP/TARGET_LPC11U6X/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/pinmap.c b/targets/TARGET_NXP/TARGET_LPC11U6X/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC11U6X/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/rtc_api.c b/targets/TARGET_NXP/TARGET_LPC11U6X/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/rtc_api.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/rtc_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/serial_api.c b/targets/TARGET_NXP/TARGET_LPC11U6X/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/sleep.c b/targets/TARGET_NXP/TARGET_LPC11U6X/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/sleep.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/spi_api.c b/targets/TARGET_NXP/TARGET_LPC11U6X/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC11U6X/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11U6X/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC11U6X/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/PeripheralPins.h b/targets/TARGET_NXP/TARGET_LPC11UXX/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/PeripheralPins.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/PortNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_APPNEARME_MICRONFCBOARD/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_ARCH_GPRS/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_301/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U24_401/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U34_421/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U35_401/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPC11U37H_401/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_LPCCAPPUCCINO/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501_IBDAP/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_Y5_MBUG/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_XADOW_M0/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PeripheralPins.c b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PeripheralPins.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h b/targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/TARGET_OC_MBUINO/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC11UXX/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC11UXX/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC11UXX/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC11UXX/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC11UXX/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/objects.h b/targets/TARGET_NXP/TARGET_LPC11UXX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/objects.h rename to targets/TARGET_NXP/TARGET_LPC11UXX/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/pinmap.c b/targets/TARGET_NXP/TARGET_LPC11UXX/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/port_api.c b/targets/TARGET_NXP/TARGET_LPC11UXX/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/port_api.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/port_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC11UXX/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c b/targets/TARGET_NXP/TARGET_LPC11UXX/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/sleep.c b/targets/TARGET_NXP/TARGET_LPC11UXX/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/sleep.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/spi_api.c b/targets/TARGET_NXP/TARGET_LPC11UXX/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC11UXX/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11UXX/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC11UXX/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/PortNames.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/README.md b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/README.md similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/README.md rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/README.md diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/can_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/can_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/can_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/device.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/device.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/reserved_pins.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/reserved_pins.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/reserved_pins.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/reserved_pins.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/PinNames.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/device.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/device.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/reserved_pins.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/reserved_pins.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/reserved_pins.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/reserved_pins.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/objects.h b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/objects.h rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/pinmap.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/port_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/port_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/port_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/serial_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/sleep.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/sleep.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/spi_api.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC11XX_11CXX/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC11XX_11CXX/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC13XX/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC13XX/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/PinNames.h b/targets/TARGET_NXP/TARGET_LPC13XX/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC13XX/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/PortNames.h b/targets/TARGET_NXP/TARGET_LPC13XX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC13XX/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC13XX/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC13XX/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/device.h b/targets/TARGET_NXP/TARGET_LPC13XX/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/device.h rename to targets/TARGET_NXP/TARGET_LPC13XX/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC13XX/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC13XX/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC13XX/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC13XX/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC13XX/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC13XX/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC13XX/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC13XX/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/objects.h b/targets/TARGET_NXP/TARGET_LPC13XX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/objects.h rename to targets/TARGET_NXP/TARGET_LPC13XX/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/pinmap.c b/targets/TARGET_NXP/TARGET_LPC13XX/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC13XX/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/port_api.c b/targets/TARGET_NXP/TARGET_LPC13XX/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/port_api.c rename to targets/TARGET_NXP/TARGET_LPC13XX/port_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC13XX/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC13XX/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/serial_api.c b/targets/TARGET_NXP/TARGET_LPC13XX/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC13XX/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/sleep.c b/targets/TARGET_NXP/TARGET_LPC13XX/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/sleep.c rename to targets/TARGET_NXP/TARGET_LPC13XX/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/spi_api.c b/targets/TARGET_NXP/TARGET_LPC13XX/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC13XX/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC13XX/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC13XX/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC15XX/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC15XX/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/PinNames.h b/targets/TARGET_NXP/TARGET_LPC15XX/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC15XX/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/PortNames.h b/targets/TARGET_NXP/TARGET_LPC15XX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC15XX/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/analogout_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/analogout_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/analogout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/can_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/can_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/can_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/device.h b/targets/TARGET_NXP/TARGET_LPC15XX/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/device.h rename to targets/TARGET_NXP/TARGET_LPC15XX/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC15XX/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC15XX/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/objects.h b/targets/TARGET_NXP/TARGET_LPC15XX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/objects.h rename to targets/TARGET_NXP/TARGET_LPC15XX/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/pinmap.c b/targets/TARGET_NXP/TARGET_LPC15XX/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC15XX/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/rtc_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/rtc_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/rtc_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/serial_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/spi_api.c b/targets/TARGET_NXP/TARGET_LPC15XX/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC15XX/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC15XX/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC15XX/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC15XX/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC176X/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC176X/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/PortNames.h b/targets/TARGET_NXP/TARGET_LPC176X/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC176X/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/device.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/device.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/reserved_pins.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/reserved_pins.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/reserved_pins.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/reserved_pins.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/PinNames.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/reserved_pins.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/reserved_pins.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/reserved_pins.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/reserved_pins.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.c b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027_api.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/PinNames.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/device.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/device.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/mbed_overrides.c b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/mbed_overrides.c rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/reserved_pins.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/reserved_pins.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/reserved_pins.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/reserved_pins.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/PinNames.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/device.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/device.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/reserved_pins.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/reserved_pins.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/reserved_pins.h rename to targets/TARGET_NXP/TARGET_LPC176X/TARGET_XBED_LPC1768/reserved_pins.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC176X/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/analogout_api.c b/targets/TARGET_NXP/TARGET_LPC176X/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/analogout_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/analogout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/can_api.c b/targets/TARGET_NXP/TARGET_LPC176X/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/can_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/can_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/ethernet_api.c b/targets/TARGET_NXP/TARGET_LPC176X/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/ethernet_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/ethernet_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC176X/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC176X/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC176X/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC176X/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC176X/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/objects.h b/targets/TARGET_NXP/TARGET_LPC176X/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/objects.h rename to targets/TARGET_NXP/TARGET_LPC176X/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/pinmap.c b/targets/TARGET_NXP/TARGET_LPC176X/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC176X/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/port_api.c b/targets/TARGET_NXP/TARGET_LPC176X/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/port_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/port_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC176X/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/rtc_api.c b/targets/TARGET_NXP/TARGET_LPC176X/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/rtc_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/rtc_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/serial_api.c b/targets/TARGET_NXP/TARGET_LPC176X/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/sleep.c b/targets/TARGET_NXP/TARGET_LPC176X/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/sleep.c rename to targets/TARGET_NXP/TARGET_LPC176X/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/spi_api.c b/targets/TARGET_NXP/TARGET_LPC176X/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC176X/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC176X/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC176X/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC176X/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC176X/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC23XX/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC23XX/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/PinNames.h b/targets/TARGET_NXP/TARGET_LPC23XX/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC23XX/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/PortNames.h b/targets/TARGET_NXP/TARGET_LPC23XX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC23XX/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/analogout_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/analogout_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/analogout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/can_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/can_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/can_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/device.h b/targets/TARGET_NXP/TARGET_LPC23XX/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/device.h rename to targets/TARGET_NXP/TARGET_LPC23XX/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/ethernet_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/ethernet_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/ethernet_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC23XX/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC23XX/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/objects.h b/targets/TARGET_NXP/TARGET_LPC23XX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/objects.h rename to targets/TARGET_NXP/TARGET_LPC23XX/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/pinmap.c b/targets/TARGET_NXP/TARGET_LPC23XX/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC23XX/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/port_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/port_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/port_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/rtc_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/rtc_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/rtc_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/serial_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/spi_api.c b/targets/TARGET_NXP/TARGET_LPC23XX/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC23XX/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC23XX/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC23XX/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC23XX/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC2460/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC2460/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/PinNames.h b/targets/TARGET_NXP/TARGET_LPC2460/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC2460/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/PortNames.h b/targets/TARGET_NXP/TARGET_LPC2460/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC2460/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC2460/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/analogout_api.c b/targets/TARGET_NXP/TARGET_LPC2460/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/analogout_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/analogout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/can_api.c b/targets/TARGET_NXP/TARGET_LPC2460/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/can_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/can_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/device.h b/targets/TARGET_NXP/TARGET_LPC2460/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/device.h rename to targets/TARGET_NXP/TARGET_LPC2460/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/ethernet_api.c b/targets/TARGET_NXP/TARGET_LPC2460/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/ethernet_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/ethernet_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC2460/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC2460/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC2460/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC2460/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC2460/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/objects.h b/targets/TARGET_NXP/TARGET_LPC2460/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/objects.h rename to targets/TARGET_NXP/TARGET_LPC2460/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/pinmap.c b/targets/TARGET_NXP/TARGET_LPC2460/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC2460/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/port_api.c b/targets/TARGET_NXP/TARGET_LPC2460/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/port_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/port_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC2460/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/rtc_api.c b/targets/TARGET_NXP/TARGET_LPC2460/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/rtc_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/rtc_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/serial_api.c b/targets/TARGET_NXP/TARGET_LPC2460/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/spi_api.c b/targets/TARGET_NXP/TARGET_LPC2460/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC2460/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC2460/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC2460/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC2460/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC2460/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/PortNames.h b/targets/TARGET_NXP/TARGET_LPC408X/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC408X/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/PinNames.h b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/can_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/can_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/can_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/ethernet_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/ethernet_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/ethernet_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/serial_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/spi_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/PinNames.h b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/can_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/can_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/can_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/ethernet_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/ethernet_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/ethernet_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/serial_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/spi_api.c b/targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/TARGET_LPC4088_DM/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/analogout_api.c b/targets/TARGET_NXP/TARGET_LPC408X/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/analogout_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/analogout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h b/targets/TARGET_NXP/TARGET_LPC408X/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h rename to targets/TARGET_NXP/TARGET_LPC408X/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC408X/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC408X/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC408X/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC408X/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/objects.h b/targets/TARGET_NXP/TARGET_LPC408X/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/objects.h rename to targets/TARGET_NXP/TARGET_LPC408X/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/pinmap.c b/targets/TARGET_NXP/TARGET_LPC408X/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC408X/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/port_api.c b/targets/TARGET_NXP/TARGET_LPC408X/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/port_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/port_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/rtc_api.c b/targets/TARGET_NXP/TARGET_LPC408X/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/rtc_api.c rename to targets/TARGET_NXP/TARGET_LPC408X/rtc_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/sleep.c b/targets/TARGET_NXP/TARGET_LPC408X/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/sleep.c rename to targets/TARGET_NXP/TARGET_LPC408X/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC408X/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC408X/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC408X/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC408X/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/PortNames.h b/targets/TARGET_NXP/TARGET_LPC43XX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC43XX/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/README.txt b/targets/TARGET_NXP/TARGET_LPC43XX/README.txt similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/README.txt rename to targets/TARGET_NXP/TARGET_LPC43XX/README.txt diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/PinNames.h b/targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/device.h b/targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/device.h rename to targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4330/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/PinNames.h b/targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/device.h b/targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/device.h rename to targets/TARGET_NXP/TARGET_LPC43XX/TARGET_LPC4337/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/analogout_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/analogout_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/analogout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/ethernet_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/ethernet_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/ethernet_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC43XX/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC43XX/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/objects.h b/targets/TARGET_NXP/TARGET_LPC43XX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/objects.h rename to targets/TARGET_NXP/TARGET_LPC43XX/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/pinmap.c b/targets/TARGET_NXP/TARGET_LPC43XX/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC43XX/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/port_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/port_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/port_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/rtc_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/rtc_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/rtc_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/serial_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/sleep.c b/targets/TARGET_NXP/TARGET_LPC43XX/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/sleep.c rename to targets/TARGET_NXP/TARGET_LPC43XX/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/spi_api.c b/targets/TARGET_NXP/TARGET_LPC43XX/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC43XX/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC43XX/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC43XX/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC43XX/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/PortNames.h b/targets/TARGET_NXP/TARGET_LPC81X/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC81X/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/PinNames.h b/targets/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PinNames.h b/targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PinNames.h b/targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h b/targets/TARGET_NXP/TARGET_LPC81X/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h rename to targets/TARGET_NXP/TARGET_LPC81X/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC81X/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC81X/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC81X/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC81X/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC81X/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC81X/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC81X/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC81X/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/objects.h b/targets/TARGET_NXP/TARGET_LPC81X/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/objects.h rename to targets/TARGET_NXP/TARGET_LPC81X/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/pinmap.c b/targets/TARGET_NXP/TARGET_LPC81X/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC81X/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC81X/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC81X/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/serial_api.c b/targets/TARGET_NXP/TARGET_LPC81X/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC81X/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/sleep.c b/targets/TARGET_NXP/TARGET_LPC81X/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/sleep.c rename to targets/TARGET_NXP/TARGET_LPC81X/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/spi_api.c b/targets/TARGET_NXP/TARGET_LPC81X/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC81X/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC81X/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC81X/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC81X/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC81X/us_ticker.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/PortNames.h b/targets/TARGET_NXP/TARGET_LPC82X/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/PortNames.h rename to targets/TARGET_NXP/TARGET_LPC82X/PortNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/PinNames.h b/targets/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/device.h b/targets/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/device.h rename to targets/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PeripheralNames.h b/targets/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PeripheralNames.h rename to targets/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PinNames.h b/targets/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PinNames.h rename to targets/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/PinNames.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/device.h b/targets/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/device.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/device.h rename to targets/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/device.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/analogin_api.c b/targets/TARGET_NXP/TARGET_LPC82X/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/analogin_api.c rename to targets/TARGET_NXP/TARGET_LPC82X/analogin_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/gpio_api.c b/targets/TARGET_NXP/TARGET_LPC82X/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/gpio_api.c rename to targets/TARGET_NXP/TARGET_LPC82X/gpio_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/gpio_irq_api.c b/targets/TARGET_NXP/TARGET_LPC82X/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/gpio_irq_api.c rename to targets/TARGET_NXP/TARGET_LPC82X/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/gpio_object.h b/targets/TARGET_NXP/TARGET_LPC82X/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/gpio_object.h rename to targets/TARGET_NXP/TARGET_LPC82X/gpio_object.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/i2c_api.c b/targets/TARGET_NXP/TARGET_LPC82X/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/i2c_api.c rename to targets/TARGET_NXP/TARGET_LPC82X/i2c_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/objects.h b/targets/TARGET_NXP/TARGET_LPC82X/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/objects.h rename to targets/TARGET_NXP/TARGET_LPC82X/objects.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/pinmap.c b/targets/TARGET_NXP/TARGET_LPC82X/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/pinmap.c rename to targets/TARGET_NXP/TARGET_LPC82X/pinmap.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/pwmout_api.c b/targets/TARGET_NXP/TARGET_LPC82X/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/pwmout_api.c rename to targets/TARGET_NXP/TARGET_LPC82X/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/rom_i2c_8xx.h b/targets/TARGET_NXP/TARGET_LPC82X/rom_i2c_8xx.h similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/rom_i2c_8xx.h rename to targets/TARGET_NXP/TARGET_LPC82X/rom_i2c_8xx.h diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/serial_api.c b/targets/TARGET_NXP/TARGET_LPC82X/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/serial_api.c rename to targets/TARGET_NXP/TARGET_LPC82X/serial_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/sleep.c b/targets/TARGET_NXP/TARGET_LPC82X/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/sleep.c rename to targets/TARGET_NXP/TARGET_LPC82X/sleep.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/spi_api.c b/targets/TARGET_NXP/TARGET_LPC82X/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/spi_api.c rename to targets/TARGET_NXP/TARGET_LPC82X/spi_api.c diff --git a/hal/targets/hal/TARGET_NXP/TARGET_LPC82X/us_ticker.c b/targets/TARGET_NXP/TARGET_LPC82X/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NXP/TARGET_LPC82X/us_ticker.c rename to targets/TARGET_NXP/TARGET_LPC82X/us_ticker.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/PeripheralNames.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/PeripheralNames.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/PinNames.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/PinNames.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/PinNames.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/PortNames.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/PortNames.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/PortNames.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/TARGET_MBED_MBRZA1H/reserved_pins.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/TARGET_MBED_MBRZA1H/reserved_pins.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/TARGET_MBED_MBRZA1H/reserved_pins.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/TARGET_MBED_MBRZA1H/reserved_pins.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/analogin_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/analogin_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/analogin_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/can_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/can_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/can_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/device.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/device.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/ethernet_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/ethernet_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/ethernet_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/ethernetext_api.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/gpio_addrdefine.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_addrdefine.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/gpio_addrdefine.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_addrdefine.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/gpio_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/gpio_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/gpio_object.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/gpio_object.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/gpio_object.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/objects.h b/targets/TARGET_RENESAS/TARGET_RZ_A1H/objects.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/objects.h rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/objects.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/pinmap.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/pinmap.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/pinmap.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/port_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/port_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/port_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/pwmout_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/pwmout_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/pwmout_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/rtc_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/rtc_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/rtc_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/serial_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/serial_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/serial_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/spi_api.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/spi_api.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/spi_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/us_ticker.c b/targets/TARGET_RENESAS/TARGET_RZ_A1H/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/us_ticker.c rename to targets/TARGET_RENESAS/TARGET_RZ_A1H/us_ticker.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/PeripheralNames.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/PeripheralNames.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/PinNames.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/PinNames.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/PinNames.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/PortNames.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/PortNames.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/PortNames.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/TARGET_MBED_VKRZA1H/reserved_pins.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/TARGET_MBED_VKRZA1H/reserved_pins.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/TARGET_MBED_VKRZA1H/reserved_pins.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/TARGET_MBED_VKRZA1H/reserved_pins.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/analogin_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/analogin_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/analogin_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/can_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/can_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/can_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/device.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernet_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernet_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernet_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernet_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernetext_api.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernetext_api.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernetext_api.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernetext_api.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_addrdefine.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_addrdefine.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_addrdefine.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_addrdefine.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_irq_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_irq_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_object.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_object.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/gpio_object.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/i2c_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/i2c_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/i2c_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/objects.h b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/objects.h similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/objects.h rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/objects.h diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/pinmap.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/pinmap.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/pinmap.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/port_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/port_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/port_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/pwmout_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/pwmout_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/pwmout_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/rtc_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/rtc_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/rtc_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/serial_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/serial_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/serial_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/spi_api.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/spi_api.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/spi_api.c diff --git a/hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/us_ticker.c b/targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/us_ticker.c rename to targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32F0/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32F0/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PortNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/objects.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/objects.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PortNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/objects.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/objects.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PinNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PortNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/objects.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/objects.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PinNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PortNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/objects.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/objects.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PinNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PortNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/objects.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/objects.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PinNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PortNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/objects.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/objects.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PinNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PortNames.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/objects.h b/targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/objects.h rename to targets/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/analogin_api.c b/targets/TARGET_STM/TARGET_STM32F0/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32F0/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/analogout_api.c b/targets/TARGET_STM/TARGET_STM32F0/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/analogout_api.c rename to targets/TARGET_STM/TARGET_STM32F0/analogout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/can_api.c b/targets/TARGET_STM/TARGET_STM32F0/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/can_api.c rename to targets/TARGET_STM/TARGET_STM32F0/can_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/common_objects.h b/targets/TARGET_STM/TARGET_STM32F0/common_objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/common_objects.h rename to targets/TARGET_STM/TARGET_STM32F0/common_objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/gpio_api.c b/targets/TARGET_STM/TARGET_STM32F0/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32F0/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32F0/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32F0/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/gpio_object.h b/targets/TARGET_STM/TARGET_STM32F0/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32F0/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/i2c_api.c b/targets/TARGET_STM/TARGET_STM32F0/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32F0/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/lp_ticker.c b/targets/TARGET_STM/TARGET_STM32F0/lp_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/lp_ticker.c rename to targets/TARGET_STM/TARGET_STM32F0/lp_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32F0/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32F0/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/pinmap.c b/targets/TARGET_STM/TARGET_STM32F0/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/pinmap.c rename to targets/TARGET_STM/TARGET_STM32F0/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/port_api.c b/targets/TARGET_STM/TARGET_STM32F0/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/port_api.c rename to targets/TARGET_STM/TARGET_STM32F0/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32F0/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32F0/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/rtc_api.c b/targets/TARGET_STM/TARGET_STM32F0/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32F0/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/rtc_api_hal.h b/targets/TARGET_STM/TARGET_STM32F0/rtc_api_hal.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/rtc_api_hal.h rename to targets/TARGET_STM/TARGET_STM32F0/rtc_api_hal.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/serial_api.c b/targets/TARGET_STM/TARGET_STM32F0/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/serial_api.c rename to targets/TARGET_STM/TARGET_STM32F0/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/sleep.c b/targets/TARGET_STM/TARGET_STM32F0/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/sleep.c rename to targets/TARGET_STM/TARGET_STM32F0/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/spi_api.c b/targets/TARGET_STM/TARGET_STM32F0/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/spi_api.c rename to targets/TARGET_STM/TARGET_STM32F0/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/us_ticker.c b/targets/TARGET_STM/TARGET_STM32F0/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32F0/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32F1/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32F1/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PortNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/objects.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/objects.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PinNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PortNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/device.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/device.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/objects.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/objects.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PinNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PortNames.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/device.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/device.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/objects.h b/targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/objects.h rename to targets/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/analogin_api.c b/targets/TARGET_STM/TARGET_STM32F1/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32F1/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/can_api.c b/targets/TARGET_STM/TARGET_STM32F1/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/can_api.c rename to targets/TARGET_STM/TARGET_STM32F1/can_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F0/common_objects.h b/targets/TARGET_STM/TARGET_STM32F1/common_objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F0/common_objects.h rename to targets/TARGET_STM/TARGET_STM32F1/common_objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/gpio_api.c b/targets/TARGET_STM/TARGET_STM32F1/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32F1/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32F1/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32F1/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/gpio_object.h b/targets/TARGET_STM/TARGET_STM32F1/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32F1/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/i2c_api.c b/targets/TARGET_STM/TARGET_STM32F1/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32F1/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32F1/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32F1/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/pinmap.c b/targets/TARGET_STM/TARGET_STM32F1/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/pinmap.c rename to targets/TARGET_STM/TARGET_STM32F1/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/port_api.c b/targets/TARGET_STM/TARGET_STM32F1/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/port_api.c rename to targets/TARGET_STM/TARGET_STM32F1/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32F1/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32F1/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/rtc_api.c b/targets/TARGET_STM/TARGET_STM32F1/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32F1/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/serial_api.c b/targets/TARGET_STM/TARGET_STM32F1/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/serial_api.c rename to targets/TARGET_STM/TARGET_STM32F1/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/sleep.c b/targets/TARGET_STM/TARGET_STM32F1/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/sleep.c rename to targets/TARGET_STM/TARGET_STM32F1/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/spi_api.c b/targets/TARGET_STM/TARGET_STM32F1/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/spi_api.c rename to targets/TARGET_STM/TARGET_STM32F1/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/us_ticker.c b/targets/TARGET_STM/TARGET_STM32F1/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32F1/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32F2/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32F2/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/PortNames.h b/targets/TARGET_STM/TARGET_STM32F2/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F2/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PinNames.h b/targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/analogin_api.c b/targets/TARGET_STM/TARGET_STM32F2/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32F2/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/analogout_api.c b/targets/TARGET_STM/TARGET_STM32F2/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/analogout_api.c rename to targets/TARGET_STM/TARGET_STM32F2/analogout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/can_api.c b/targets/TARGET_STM/TARGET_STM32F2/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/can_api.c rename to targets/TARGET_STM/TARGET_STM32F2/can_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/device.h b/targets/TARGET_STM/TARGET_STM32F2/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/device.h rename to targets/TARGET_STM/TARGET_STM32F2/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/gpio_api.c b/targets/TARGET_STM/TARGET_STM32F2/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32F2/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32F2/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32F2/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/gpio_object.h b/targets/TARGET_STM/TARGET_STM32F2/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32F2/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/i2c_api.c b/targets/TARGET_STM/TARGET_STM32F2/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32F2/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32F2/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32F2/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/objects.h b/targets/TARGET_STM/TARGET_STM32F2/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/objects.h rename to targets/TARGET_STM/TARGET_STM32F2/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/pinmap.c b/targets/TARGET_STM/TARGET_STM32F2/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/pinmap.c rename to targets/TARGET_STM/TARGET_STM32F2/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/port_api.c b/targets/TARGET_STM/TARGET_STM32F2/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/port_api.c rename to targets/TARGET_STM/TARGET_STM32F2/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32F2/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32F2/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/rtc_api.c b/targets/TARGET_STM/TARGET_STM32F2/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32F2/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/serial_api.c b/targets/TARGET_STM/TARGET_STM32F2/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/serial_api.c rename to targets/TARGET_STM/TARGET_STM32F2/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/sleep.c b/targets/TARGET_STM/TARGET_STM32F2/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/sleep.c rename to targets/TARGET_STM/TARGET_STM32F2/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/spi_api.c b/targets/TARGET_STM/TARGET_STM32F2/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/spi_api.c rename to targets/TARGET_STM/TARGET_STM32F2/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F2/us_ticker.c b/targets/TARGET_STM/TARGET_STM32F2/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F2/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32F2/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32F3/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32F3/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PinNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PortNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/device.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/device.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/objects.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/objects.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PortNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/device.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/device.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/objects.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/objects.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PortNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/objects.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/objects.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PortNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/objects.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/objects.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/device.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/device.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/objects.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/objects.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PinNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PortNames.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/device.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/device.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/objects.h b/targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/objects.h rename to targets/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/analogin_api.c b/targets/TARGET_STM/TARGET_STM32F3/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32F3/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/analogout_api.c b/targets/TARGET_STM/TARGET_STM32F3/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/analogout_api.c rename to targets/TARGET_STM/TARGET_STM32F3/analogout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/can_api.c b/targets/TARGET_STM/TARGET_STM32F3/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/can_api.c rename to targets/TARGET_STM/TARGET_STM32F3/can_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F1/common_objects.h b/targets/TARGET_STM/TARGET_STM32F3/common_objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F1/common_objects.h rename to targets/TARGET_STM/TARGET_STM32F3/common_objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_api.c b/targets/TARGET_STM/TARGET_STM32F3/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32F3/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32F3/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32F3/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_object.h b/targets/TARGET_STM/TARGET_STM32F3/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32F3/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/i2c_api.c b/targets/TARGET_STM/TARGET_STM32F3/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32F3/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32F3/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32F3/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/pinmap.c b/targets/TARGET_STM/TARGET_STM32F3/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/pinmap.c rename to targets/TARGET_STM/TARGET_STM32F3/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/port_api.c b/targets/TARGET_STM/TARGET_STM32F3/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/port_api.c rename to targets/TARGET_STM/TARGET_STM32F3/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32F3/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32F3/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/rtc_api.c b/targets/TARGET_STM/TARGET_STM32F3/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32F3/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/serial_api.c b/targets/TARGET_STM/TARGET_STM32F3/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/serial_api.c rename to targets/TARGET_STM/TARGET_STM32F3/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/sleep.c b/targets/TARGET_STM/TARGET_STM32F3/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/sleep.c rename to targets/TARGET_STM/TARGET_STM32F3/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/spi_api.c b/targets/TARGET_STM/TARGET_STM32F3/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/spi_api.c rename to targets/TARGET_STM/TARGET_STM32F3/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/us_ticker.c b/targets/TARGET_STM/TARGET_STM32F3/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32F3/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32F4/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32F4/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F407VG/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PinNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PortNames.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/device.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/device.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/objects.h b/targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/objects.h rename to targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/analogin_api.c b/targets/TARGET_STM/TARGET_STM32F4/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32F4/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/analogout_api.c b/targets/TARGET_STM/TARGET_STM32F4/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/analogout_api.c rename to targets/TARGET_STM/TARGET_STM32F4/analogout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/can_api.c b/targets/TARGET_STM/TARGET_STM32F4/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/can_api.c rename to targets/TARGET_STM/TARGET_STM32F4/can_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F3/common_objects.h b/targets/TARGET_STM/TARGET_STM32F4/common_objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F3/common_objects.h rename to targets/TARGET_STM/TARGET_STM32F4/common_objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_api.c b/targets/TARGET_STM/TARGET_STM32F4/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32F4/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32F4/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32F4/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_object.h b/targets/TARGET_STM/TARGET_STM32F4/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32F4/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/i2c_api.c b/targets/TARGET_STM/TARGET_STM32F4/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32F4/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32F4/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32F4/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c b/targets/TARGET_STM/TARGET_STM32F4/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c rename to targets/TARGET_STM/TARGET_STM32F4/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/port_api.c b/targets/TARGET_STM/TARGET_STM32F4/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/port_api.c rename to targets/TARGET_STM/TARGET_STM32F4/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32F4/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32F4/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/rtc_api.c b/targets/TARGET_STM/TARGET_STM32F4/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32F4/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c b/targets/TARGET_STM/TARGET_STM32F4/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c rename to targets/TARGET_STM/TARGET_STM32F4/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/sleep.c b/targets/TARGET_STM/TARGET_STM32F4/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/sleep.c rename to targets/TARGET_STM/TARGET_STM32F4/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/spi_api.c b/targets/TARGET_STM/TARGET_STM32F4/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/spi_api.c rename to targets/TARGET_STM/TARGET_STM32F4/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/us_ticker.c b/targets/TARGET_STM/TARGET_STM32F4/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32F4/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32F7/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32F7/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PinNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PortNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/device.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/device.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/objects.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/objects.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PinNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PortNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/objects.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/objects.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PinNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PinNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PortNames.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PortNames.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/device.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/device.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/objects.h b/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/objects.h rename to targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/analogin_api.c b/targets/TARGET_STM/TARGET_STM32F7/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32F7/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/analogout_api.c b/targets/TARGET_STM/TARGET_STM32F7/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/analogout_api.c rename to targets/TARGET_STM/TARGET_STM32F7/analogout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/can_api.c b/targets/TARGET_STM/TARGET_STM32F7/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/can_api.c rename to targets/TARGET_STM/TARGET_STM32F7/can_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F4/common_objects.h b/targets/TARGET_STM/TARGET_STM32F7/common_objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F4/common_objects.h rename to targets/TARGET_STM/TARGET_STM32F7/common_objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/gpio_api.c b/targets/TARGET_STM/TARGET_STM32F7/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32F7/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32F7/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32F7/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/gpio_object.h b/targets/TARGET_STM/TARGET_STM32F7/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32F7/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/i2c_api.c b/targets/TARGET_STM/TARGET_STM32F7/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32F7/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32F7/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32F7/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/pinmap.c b/targets/TARGET_STM/TARGET_STM32F7/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/pinmap.c rename to targets/TARGET_STM/TARGET_STM32F7/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/port_api.c b/targets/TARGET_STM/TARGET_STM32F7/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/port_api.c rename to targets/TARGET_STM/TARGET_STM32F7/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32F7/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32F7/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/rtc_api.c b/targets/TARGET_STM/TARGET_STM32F7/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32F7/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/serial_api.c b/targets/TARGET_STM/TARGET_STM32F7/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/serial_api.c rename to targets/TARGET_STM/TARGET_STM32F7/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/sleep.c b/targets/TARGET_STM/TARGET_STM32F7/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/sleep.c rename to targets/TARGET_STM/TARGET_STM32F7/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/spi_api.c b/targets/TARGET_STM/TARGET_STM32F7/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/spi_api.c rename to targets/TARGET_STM/TARGET_STM32F7/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/us_ticker.c b/targets/TARGET_STM/TARGET_STM32F7/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32F7/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32L0/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32L0/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PinNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PortNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/device.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/device.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/objects.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/objects.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PinNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PortNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/device.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/device.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/objects.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/objects.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PinNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PortNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/device.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/device.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/objects.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/objects.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PinNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PortNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/objects.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/objects.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PinNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PortNames.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/objects.h b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/objects.h rename to targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/analogin_api.c b/targets/TARGET_STM/TARGET_STM32L0/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32L0/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/analogout_api.c b/targets/TARGET_STM/TARGET_STM32L0/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/analogout_api.c rename to targets/TARGET_STM/TARGET_STM32L0/analogout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32F7/common_objects.h b/targets/TARGET_STM/TARGET_STM32L0/common_objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32F7/common_objects.h rename to targets/TARGET_STM/TARGET_STM32L0/common_objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/gpio_api.c b/targets/TARGET_STM/TARGET_STM32L0/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32L0/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32L0/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32L0/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/gpio_object.h b/targets/TARGET_STM/TARGET_STM32L0/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32L0/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/i2c_api.c b/targets/TARGET_STM/TARGET_STM32L0/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32L0/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32L0/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32L0/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/pinmap.c b/targets/TARGET_STM/TARGET_STM32L0/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/pinmap.c rename to targets/TARGET_STM/TARGET_STM32L0/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/port_api.c b/targets/TARGET_STM/TARGET_STM32L0/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/port_api.c rename to targets/TARGET_STM/TARGET_STM32L0/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32L0/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32L0/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/rtc_api.c b/targets/TARGET_STM/TARGET_STM32L0/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32L0/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/serial_api.c b/targets/TARGET_STM/TARGET_STM32L0/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/serial_api.c rename to targets/TARGET_STM/TARGET_STM32L0/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/sleep.c b/targets/TARGET_STM/TARGET_STM32L0/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/sleep.c rename to targets/TARGET_STM/TARGET_STM32L0/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/spi_api.c b/targets/TARGET_STM/TARGET_STM32L0/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/spi_api.c rename to targets/TARGET_STM/TARGET_STM32L0/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/us_ticker.c b/targets/TARGET_STM/TARGET_STM32L0/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32L0/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32L1/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32L1/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PinNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PortNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/objects.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/objects.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PinNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PortNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/device.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/device.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/objects.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/objects.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PinNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PortNames.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/device.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/device.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/objects.h b/targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/objects.h rename to targets/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/analogin_api.c b/targets/TARGET_STM/TARGET_STM32L1/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32L1/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/analogout_api.c b/targets/TARGET_STM/TARGET_STM32L1/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/analogout_api.c rename to targets/TARGET_STM/TARGET_STM32L1/analogout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L0/common_objects.h b/targets/TARGET_STM/TARGET_STM32L1/common_objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L0/common_objects.h rename to targets/TARGET_STM/TARGET_STM32L1/common_objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/gpio_api.c b/targets/TARGET_STM/TARGET_STM32L1/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32L1/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32L1/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32L1/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/gpio_object.h b/targets/TARGET_STM/TARGET_STM32L1/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32L1/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/i2c_api.c b/targets/TARGET_STM/TARGET_STM32L1/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32L1/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32L1/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32L1/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/pinmap.c b/targets/TARGET_STM/TARGET_STM32L1/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/pinmap.c rename to targets/TARGET_STM/TARGET_STM32L1/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/port_api.c b/targets/TARGET_STM/TARGET_STM32L1/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/port_api.c rename to targets/TARGET_STM/TARGET_STM32L1/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32L1/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32L1/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/rtc_api.c b/targets/TARGET_STM/TARGET_STM32L1/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32L1/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/serial_api.c b/targets/TARGET_STM/TARGET_STM32L1/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/serial_api.c rename to targets/TARGET_STM/TARGET_STM32L1/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/sleep.c b/targets/TARGET_STM/TARGET_STM32L1/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/sleep.c rename to targets/TARGET_STM/TARGET_STM32L1/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/spi_api.c b/targets/TARGET_STM/TARGET_STM32L1/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/spi_api.c rename to targets/TARGET_STM/TARGET_STM32L1/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L1/us_ticker.c b/targets/TARGET_STM/TARGET_STM32L1/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L1/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32L1/us_ticker.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/PeripheralPins.h b/targets/TARGET_STM/TARGET_STM32L4/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/PeripheralPins.h rename to targets/TARGET_STM/TARGET_STM32L4/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PinNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PortNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/device.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/device.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/objects.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/objects.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PinNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PortNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/objects.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/objects.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PeripheralNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PeripheralNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PeripheralPins.c b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PeripheralPins.c rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PinNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PinNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PinNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PortNames.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PortNames.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/PortNames.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/objects.h b/targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/objects.h rename to targets/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/analogin_api.c b/targets/TARGET_STM/TARGET_STM32L4/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/analogin_api.c rename to targets/TARGET_STM/TARGET_STM32L4/analogin_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/analogout_api.c b/targets/TARGET_STM/TARGET_STM32L4/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/analogout_api.c rename to targets/TARGET_STM/TARGET_STM32L4/analogout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/can_api.c b/targets/TARGET_STM/TARGET_STM32L4/can_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/can_api.c rename to targets/TARGET_STM/TARGET_STM32L4/can_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/common_objects.h b/targets/TARGET_STM/TARGET_STM32L4/common_objects.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/common_objects.h rename to targets/TARGET_STM/TARGET_STM32L4/common_objects.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/gpio_api.c b/targets/TARGET_STM/TARGET_STM32L4/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/gpio_api.c rename to targets/TARGET_STM/TARGET_STM32L4/gpio_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/gpio_irq_api.c b/targets/TARGET_STM/TARGET_STM32L4/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/gpio_irq_api.c rename to targets/TARGET_STM/TARGET_STM32L4/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/gpio_object.h b/targets/TARGET_STM/TARGET_STM32L4/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/gpio_object.h rename to targets/TARGET_STM/TARGET_STM32L4/gpio_object.h diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/i2c_api.c b/targets/TARGET_STM/TARGET_STM32L4/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/i2c_api.c rename to targets/TARGET_STM/TARGET_STM32L4/i2c_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/mbed_overrides.c b/targets/TARGET_STM/TARGET_STM32L4/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/mbed_overrides.c rename to targets/TARGET_STM/TARGET_STM32L4/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/pinmap.c b/targets/TARGET_STM/TARGET_STM32L4/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/pinmap.c rename to targets/TARGET_STM/TARGET_STM32L4/pinmap.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/port_api.c b/targets/TARGET_STM/TARGET_STM32L4/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/port_api.c rename to targets/TARGET_STM/TARGET_STM32L4/port_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/pwmout_api.c b/targets/TARGET_STM/TARGET_STM32L4/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/pwmout_api.c rename to targets/TARGET_STM/TARGET_STM32L4/pwmout_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/rtc_api.c b/targets/TARGET_STM/TARGET_STM32L4/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/rtc_api.c rename to targets/TARGET_STM/TARGET_STM32L4/rtc_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/serial_api.c b/targets/TARGET_STM/TARGET_STM32L4/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/serial_api.c rename to targets/TARGET_STM/TARGET_STM32L4/serial_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/sleep.c b/targets/TARGET_STM/TARGET_STM32L4/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/sleep.c rename to targets/TARGET_STM/TARGET_STM32L4/sleep.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/spi_api.c b/targets/TARGET_STM/TARGET_STM32L4/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/spi_api.c rename to targets/TARGET_STM/TARGET_STM32L4/spi_api.c diff --git a/hal/targets/hal/TARGET_STM/TARGET_STM32L4/us_ticker.c b/targets/TARGET_STM/TARGET_STM32L4/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_STM/TARGET_STM32L4/us_ticker.c rename to targets/TARGET_STM/TARGET_STM32L4/us_ticker.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/Modules.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/Modules.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/Modules.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/Modules.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralPins.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralPins.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralPins.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralPins.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PinNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PinNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PinNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PortNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PortNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/PortNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device_peripherals.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device_peripherals.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device_peripherals.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device_peripherals.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/Modules.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/Modules.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/Modules.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/Modules.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralPins.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralPins.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralPins.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralPins.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PinNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PinNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PinNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PortNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PortNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/PortNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device_peripherals.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device_peripherals.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device_peripherals.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device_peripherals.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/Modules.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/Modules.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/Modules.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/Modules.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralPins.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralPins.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralPins.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralPins.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PinNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PinNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PinNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PortNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PortNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/PortNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device_peripherals.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device_peripherals.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device_peripherals.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device_peripherals.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/Modules.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/Modules.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/Modules.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/Modules.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PinNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PinNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PinNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PortNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PortNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PortNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device_peripherals.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device_peripherals.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device_peripherals.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/device_peripherals.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/Modules.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/Modules.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/Modules.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/Modules.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralPins.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralPins.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralPins.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralPins.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PinNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PinNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PinNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PortNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PortNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/PortNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device_peripherals.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device_peripherals.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device_peripherals.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device_peripherals.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/Modules.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/Modules.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/Modules.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/Modules.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralPins.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralPins.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralPins.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralPins.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PinNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PinNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PinNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PortNames.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PortNames.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/PortNames.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device_peripherals.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device_peripherals.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device_peripherals.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device_peripherals.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TESTS/.mbedignore b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TESTS/.mbedignore similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TESTS/.mbedignore rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TESTS/.mbedignore diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TESTS/spi/basic-spi/main.cpp b/targets/TARGET_Silicon_Labs/TARGET_EFM32/TESTS/spi/basic-spi/main.cpp similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TESTS/spi/basic-spi/main.cpp rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/TESTS/spi/basic-spi/main.cpp diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/analogin_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/analogin_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/analogin_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/analogout_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/analogout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/analogout_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/analogout_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/clocking.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/clocking.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/clocking.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/clocking.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/dma_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/dma_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/dma_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/dma_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/dma_api_HAL.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/dma_api_HAL.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/dma_api_HAL.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/dma_api_HAL.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/Changes_emlib.txt b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/Changes_emlib.txt similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/Changes_emlib.txt rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/Changes_emlib.txt diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/ReadMe_emlib.txt b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/ReadMe_emlib.txt similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/ReadMe_emlib.txt rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/ReadMe_emlib.txt diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_acmp.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_acmp.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_acmp.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_acmp.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_adc.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_adc.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_adc.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_adc.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_aes.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_aes.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_aes.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_aes.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_assert.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_assert.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_assert.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_assert.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_bitband.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_bitband.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_bitband.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_bitband.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_burtc.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_burtc.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_burtc.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_burtc.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_bus.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_bus.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_bus.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_bus.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_chip.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_chip.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_chip.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_chip.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_cmu.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_cmu.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_cmu.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_cmu.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_common.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_common.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_common.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_common.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_crc.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_crc.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_crc.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_crc.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_cryotimer.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_cryotimer.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_cryotimer.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_cryotimer.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_crypto.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_crypto.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_crypto.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_crypto.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dac.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dac.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dac.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dac.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dbg.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dbg.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dbg.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dbg.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dma.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dma.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dma.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_dma.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_ebi.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_ebi.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_ebi.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_ebi.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_emu.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_emu.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_emu.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_emu.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_gpio.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_gpio.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_gpio.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_gpio.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_i2c.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_i2c.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_i2c.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_i2c.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_idac.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_idac.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_idac.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_idac.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_int.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_int.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_int.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_int.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lcd.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lcd.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lcd.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lcd.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_ldma.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_ldma.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_ldma.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_ldma.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lesense.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lesense.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lesense.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_lesense.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_letimer.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_letimer.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_letimer.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_letimer.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_leuart.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_leuart.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_leuart.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_leuart.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_mpu.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_mpu.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_mpu.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_mpu.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_msc.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_msc.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_msc.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_msc.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_opamp.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_opamp.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_opamp.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_opamp.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_part.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_part.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_part.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_part.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_pcnt.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_pcnt.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_pcnt.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_pcnt.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_prs.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_prs.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_prs.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_prs.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rmu.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rmu.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rmu.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rmu.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rtc.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rtc.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rtc.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rtc.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rtcc.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rtcc.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rtcc.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_rtcc.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_system.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_system.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_system.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_system.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_timer.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_timer.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_timer.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_timer.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_usart.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_usart.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_usart.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_usart.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_vcmp.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_vcmp.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_vcmp.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_vcmp.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_version.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_version.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_version.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_version.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_wdog.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_wdog.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_wdog.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/inc/em_wdog.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_acmp.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_acmp.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_acmp.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_acmp.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_adc.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_adc.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_adc.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_adc.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_aes.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_aes.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_aes.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_aes.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_assert.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_assert.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_assert.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_assert.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_burtc.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_burtc.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_burtc.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_burtc.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_cmu.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_cmu.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_cmu.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_cmu.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_crc.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_crc.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_crc.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_crc.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_cryotimer.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_cryotimer.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_cryotimer.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_cryotimer.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_crypto.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_crypto.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_crypto.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_crypto.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dac.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dac.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dac.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dac.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dbg.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dbg.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dbg.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dbg.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dma.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dma.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dma.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_dma.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_ebi.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_ebi.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_ebi.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_ebi.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_emu.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_emu.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_emu.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_emu.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_gpio.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_gpio.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_gpio.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_gpio.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_i2c.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_i2c.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_i2c.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_i2c.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_idac.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_idac.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_idac.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_idac.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_int.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_int.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_int.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_int.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lcd.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lcd.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lcd.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lcd.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_ldma.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_ldma.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_ldma.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_ldma.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lesense.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lesense.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lesense.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_lesense.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_letimer.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_letimer.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_letimer.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_letimer.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_leuart.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_leuart.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_leuart.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_leuart.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_mpu.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_mpu.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_mpu.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_mpu.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_msc.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_msc.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_msc.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_msc.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_opamp.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_opamp.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_opamp.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_opamp.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_pcnt.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_pcnt.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_pcnt.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_pcnt.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_prs.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_prs.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_prs.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_prs.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rmu.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rmu.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rmu.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rmu.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rtc.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rtc.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rtc.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rtc.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rtcc.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rtcc.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rtcc.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_rtcc.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_system.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_system.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_system.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_system.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_timer.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_timer.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_timer.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_timer.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_usart.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_usart.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_usart.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_usart.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_vcmp.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_vcmp.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_vcmp.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_vcmp.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_wdog.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_wdog.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_wdog.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/emlib/src/em_wdog.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/error.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/error.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/error.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/error.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/gpio_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/gpio_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/gpio_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/gpio_irq_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/gpio_irq_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/i2c_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/i2c_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/i2c_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/lp_ticker.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/lp_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/lp_ticker.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/lp_ticker.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/mbed_overrides.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/mbed_overrides.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/objects.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/objects.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/objects.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/objects.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/pinmap.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/pinmap.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/pinmap.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/pinmap_function.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/pinmap_function.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/pinmap_function.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/pinmap_function.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/pinmap_function.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/pinmap_function.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/pinmap_function.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/pinmap_function.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/port_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/port_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/port_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/pwmout_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/pwmout_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/pwmout_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api_HAL.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api_HAL.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api_HAL.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api_HAL.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/serial_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/serial_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/serial_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/serial_api_HAL.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/serial_api_HAL.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/serial_api_HAL.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/serial_api_HAL.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/sleep.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/sleep.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/sleep.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/sleepmodes.h b/targets/TARGET_Silicon_Labs/TARGET_EFM32/sleepmodes.h similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/sleepmodes.h rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/sleepmodes.h diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c diff --git a/hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/us_ticker.c b/targets/TARGET_Silicon_Labs/TARGET_EFM32/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/us_ticker.c rename to targets/TARGET_Silicon_Labs/TARGET_EFM32/us_ticker.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/PeripheralNames.h b/targets/TARGET_WIZNET/TARGET_W7500x/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/PeripheralNames.h rename to targets/TARGET_WIZNET/TARGET_W7500x/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/PeripheralPins.h b/targets/TARGET_WIZNET/TARGET_W7500x/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/PeripheralPins.h rename to targets/TARGET_WIZNET/TARGET_W7500x/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/PortNames.h b/targets/TARGET_WIZNET/TARGET_W7500x/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/PortNames.h rename to targets/TARGET_WIZNET/TARGET_W7500x/PortNames.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/PeripheralPins.c b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/PeripheralPins.c rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/PinNames.h b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/PinNames.h rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/PinNames.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device.h b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device.h rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/device.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/PeripheralPins.c b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/PeripheralPins.c rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/PinNames.h b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/PinNames.h rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/PinNames.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device.h b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device.h rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/device.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/PeripheralPins.c b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/PeripheralPins.c rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/PinNames.h b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/PinNames.h rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/PinNames.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device.h b/targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device.h rename to targets/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/device.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.c b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.c rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_adc.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_conf.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_conf.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_conf.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_conf.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_crg.c b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_crg.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_crg.c rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_crg.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_crg.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_crg.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_crg.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_crg.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_dualtimer.c b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_dualtimer.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_dualtimer.c rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_dualtimer.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_dualtimer.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_dualtimer.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_dualtimer.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_dualtimer.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_exti.c b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_exti.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_exti.c rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_exti.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_exti.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_exti.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_exti.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_exti.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_gpio.c b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_gpio.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_gpio.c rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_gpio.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_gpio.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_gpio.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_gpio.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_gpio.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_i2c.c b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_i2c.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_i2c.c rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_i2c.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_i2c.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_i2c.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_i2c.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_i2c.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_pwm.c b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_pwm.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_pwm.c rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_pwm.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_pwm.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_pwm.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_pwm.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_pwm.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.c b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.c rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.h b/targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.h rename to targets/TARGET_WIZNET/TARGET_W7500x/W7500x_Peripheral_Library/W7500x_uart.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/analogin_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/analogin_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/analogin_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/gpio_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/gpio_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/gpio_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/gpio_irq_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/gpio_irq_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/gpio_object.h b/targets/TARGET_WIZNET/TARGET_W7500x/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/gpio_object.h rename to targets/TARGET_WIZNET/TARGET_W7500x/gpio_object.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/i2c_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/i2c_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/i2c_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/mbed_overrides.c b/targets/TARGET_WIZNET/TARGET_W7500x/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/mbed_overrides.c rename to targets/TARGET_WIZNET/TARGET_W7500x/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/objects.h b/targets/TARGET_WIZNET/TARGET_W7500x/objects.h similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/objects.h rename to targets/TARGET_WIZNET/TARGET_W7500x/objects.h diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/pinmap.c b/targets/TARGET_WIZNET/TARGET_W7500x/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/pinmap.c rename to targets/TARGET_WIZNET/TARGET_W7500x/pinmap.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/port_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/port_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/port_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/pwmout_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/pwmout_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/pwmout_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/rtc_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/rtc_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/rtc_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/serial_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/serial_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/serial_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/sleep.c b/targets/TARGET_WIZNET/TARGET_W7500x/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/sleep.c rename to targets/TARGET_WIZNET/TARGET_W7500x/sleep.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/spi_api.c b/targets/TARGET_WIZNET/TARGET_W7500x/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/spi_api.c rename to targets/TARGET_WIZNET/TARGET_W7500x/spi_api.c diff --git a/hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/us_ticker.c b/targets/TARGET_WIZNET/TARGET_W7500x/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_WIZNET/TARGET_W7500x/us_ticker.c rename to targets/TARGET_WIZNET/TARGET_W7500x/us_ticker.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/CMSDK_BEETLE.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/CMSDK_BEETLE.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/CMSDK_BEETLE.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/CMSDK_BEETLE.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/BEETLE.sct b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/BEETLE.sct similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/BEETLE.sct rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/BEETLE.sct diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/startup_BEETLE.s b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/startup_BEETLE.s similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/startup_BEETLE.s rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/startup_BEETLE.s diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/BEETLE.ld b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/BEETLE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/BEETLE.ld rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/BEETLE.ld diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/startup_BEETLE.S b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/startup_BEETLE.S similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/startup_BEETLE.S rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_GCC_ARM/startup_BEETLE.S diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/BEETLE.icf b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/BEETLE.icf similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/BEETLE.icf rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/BEETLE.icf diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/startup_BEETLE.s b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/startup_BEETLE.s similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/startup_BEETLE.s rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/startup_BEETLE.s diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_dualtimer.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_dualtimer.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_dualtimer.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_dualtimer.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_dualtimer.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_dualtimer.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_dualtimer.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_dualtimer.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_timer.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_timer.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_timer.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_timer.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_timer.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_timer.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/apb_timer.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis_nvic.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis_nvic.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis_nvic.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis_nvic.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/eflash_api.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/eflash_api.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/eflash_api.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/eflash_api.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/eflash_api.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/eflash_api.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/eflash_api.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/eflash_api.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/fcache_api.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/fcache_api.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/fcache_api.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/fcache_api.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/fcache_api.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/fcache_api.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/fcache_api.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/fcache_api.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_CMSDK_BEETLE.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_CMSDK_BEETLE.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_CMSDK_BEETLE.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_CMSDK_BEETLE.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_CMSDK_BEETLE.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_CMSDK_BEETLE.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_CMSDK_BEETLE.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_CMSDK_BEETLE.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_beetle.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_beetle.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_beetle.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_beetle.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_beetle.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_beetle.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_beetle.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_beetle.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_version.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_version.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_version.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_version.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_version.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_version.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_version.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/system_core_version.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/systick_timer.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/systick_timer.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/systick_timer.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/systick_timer.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/systick_timer.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/systick_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/systick_timer.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_BEETLE/systick_timer.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/CMSDK_BEID.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/CMSDK_BEID.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/CMSDK_BEID.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/CMSDK_BEID.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/SMM_MPS2.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/SMM_MPS2.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/SMM_MPS2.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/SMM_MPS2.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/TOOLCHAIN_ARM_STD/MPS2.sct b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/TOOLCHAIN_ARM_STD/MPS2.sct similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/TOOLCHAIN_ARM_STD/MPS2.sct rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/TOOLCHAIN_ARM_STD/MPS2.sct diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/TOOLCHAIN_ARM_STD/startup_MPS2.s b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/TOOLCHAIN_ARM_STD/startup_MPS2.s similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/TOOLCHAIN_ARM_STD/startup_MPS2.s rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/TOOLCHAIN_ARM_STD/startup_MPS2.s diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis_nvic.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis_nvic.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis_nvic.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis_nvic.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/peripherallink.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/peripherallink.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/peripherallink.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/peripherallink.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/system_CMSDK_BEID.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/system_CMSDK_BEID.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/system_CMSDK_BEID.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/system_CMSDK_BEID.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/system_CMSDK_BEID.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/system_CMSDK_BEID.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/system_CMSDK_BEID.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_IOTSS_BEID/system_CMSDK_BEID.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/CMSDK_CM0.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/CMSDK_CM0.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/CMSDK_CM0.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/CMSDK_CM0.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/SMM_MPS2.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/SMM_MPS2.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/SMM_MPS2.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/SMM_MPS2.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/TOOLCHAIN_ARM_STD/MPS2.sct b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/TOOLCHAIN_ARM_STD/MPS2.sct similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/TOOLCHAIN_ARM_STD/MPS2.sct rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/TOOLCHAIN_ARM_STD/MPS2.sct diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/TOOLCHAIN_ARM_STD/startup_MPS2.s b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/TOOLCHAIN_ARM_STD/startup_MPS2.s similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/TOOLCHAIN_ARM_STD/startup_MPS2.s rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/TOOLCHAIN_ARM_STD/startup_MPS2.s diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis_nvic.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis_nvic.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis_nvic.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis_nvic.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/peripherallink.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/peripherallink.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/peripherallink.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/peripherallink.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/system_CMSDK_CM0.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/system_CMSDK_CM0.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/system_CMSDK_CM0.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/system_CMSDK_CM0.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/system_CMSDK_CM0.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/system_CMSDK_CM0.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/system_CMSDK_CM0.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0/system_CMSDK_CM0.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/CMSDK_CM0plus.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/CMSDK_CM0plus.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/CMSDK_CM0plus.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/CMSDK_CM0plus.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/SMM_MPS2.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/SMM_MPS2.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/SMM_MPS2.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/SMM_MPS2.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/TOOLCHAIN_ARM_STD/MPS2.sct b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/TOOLCHAIN_ARM_STD/MPS2.sct similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/TOOLCHAIN_ARM_STD/MPS2.sct rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/TOOLCHAIN_ARM_STD/MPS2.sct diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/TOOLCHAIN_ARM_STD/startup_MPS2.s b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/TOOLCHAIN_ARM_STD/startup_MPS2.s similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/TOOLCHAIN_ARM_STD/startup_MPS2.s rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/TOOLCHAIN_ARM_STD/startup_MPS2.s diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis_nvic.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis_nvic.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis_nvic.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis_nvic.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/peripherallink.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/peripherallink.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/peripherallink.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/peripherallink.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/system_CMSDK_CM0plus.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/system_CMSDK_CM0plus.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/system_CMSDK_CM0plus.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/system_CMSDK_CM0plus.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/system_CMSDK_CM0plus.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/system_CMSDK_CM0plus.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/system_CMSDK_CM0plus.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M0P/system_CMSDK_CM0plus.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/CMSDK_CM3.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/CMSDK_CM3.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/CMSDK_CM3.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/CMSDK_CM3.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/SMM_MPS2.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/SMM_MPS2.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/SMM_MPS2.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/SMM_MPS2.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/TOOLCHAIN_ARM_STD/MPS2.sct b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/TOOLCHAIN_ARM_STD/MPS2.sct similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/TOOLCHAIN_ARM_STD/MPS2.sct rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/TOOLCHAIN_ARM_STD/MPS2.sct diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/TOOLCHAIN_ARM_STD/startup_MPS2.s b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/TOOLCHAIN_ARM_STD/startup_MPS2.s similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/TOOLCHAIN_ARM_STD/startup_MPS2.s rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/TOOLCHAIN_ARM_STD/startup_MPS2.s diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis_nvic.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis_nvic.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis_nvic.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis_nvic.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/peripherallink.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/peripherallink.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/peripherallink.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/peripherallink.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/system_CMSDK_CM3.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/system_CMSDK_CM3.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/system_CMSDK_CM3.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/system_CMSDK_CM3.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/system_CMSDK_CM3.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/system_CMSDK_CM3.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/system_CMSDK_CM3.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M3/system_CMSDK_CM3.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/CMSDK_CM4.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/CMSDK_CM4.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/CMSDK_CM4.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/CMSDK_CM4.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/SMM_MPS2.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/SMM_MPS2.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/SMM_MPS2.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/SMM_MPS2.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/TOOLCHAIN_ARM_STD/MPS2.sct b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/TOOLCHAIN_ARM_STD/MPS2.sct similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/TOOLCHAIN_ARM_STD/MPS2.sct rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/TOOLCHAIN_ARM_STD/MPS2.sct diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/TOOLCHAIN_ARM_STD/startup_MPS2.s b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/TOOLCHAIN_ARM_STD/startup_MPS2.s similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/TOOLCHAIN_ARM_STD/startup_MPS2.s rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/TOOLCHAIN_ARM_STD/startup_MPS2.s diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis_nvic.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis_nvic.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis_nvic.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis_nvic.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/peripherallink.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/peripherallink.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/peripherallink.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/peripherallink.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/system_CMSDK_CM4.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/system_CMSDK_CM4.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/system_CMSDK_CM4.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/system_CMSDK_CM4.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/system_CMSDK_CM4.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/system_CMSDK_CM4.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/system_CMSDK_CM4.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M4/system_CMSDK_CM4.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/CMSDK_CM7.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/CMSDK_CM7.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/CMSDK_CM7.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/CMSDK_CM7.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/SMM_MPS2.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/SMM_MPS2.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/SMM_MPS2.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/SMM_MPS2.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/TOOLCHAIN_ARM_STD/MPS2.sct b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/TOOLCHAIN_ARM_STD/MPS2.sct similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/TOOLCHAIN_ARM_STD/MPS2.sct rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/TOOLCHAIN_ARM_STD/MPS2.sct diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/TOOLCHAIN_ARM_STD/startup_CMSDK_CM7.s b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/TOOLCHAIN_ARM_STD/startup_CMSDK_CM7.s similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/TOOLCHAIN_ARM_STD/startup_CMSDK_CM7.s rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/TOOLCHAIN_ARM_STD/startup_CMSDK_CM7.s diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis_nvic.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis_nvic.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis_nvic.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis_nvic.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/peripherallink.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/peripherallink.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/peripherallink.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/peripherallink.h diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/system_CMSDK_CM7.c b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/system_CMSDK_CM7.c similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/system_CMSDK_CM7.c rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/system_CMSDK_CM7.c diff --git a/hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/system_CMSDK_CM7.h b/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/system_CMSDK_CM7.h similarity index 100% rename from hal/targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/system_CMSDK_CM7.h rename to targets/cmsis/TARGET_ARM_SSG/TARGET_MPS2_M7/system_CMSDK_CM7.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/SAMD21G18A.sct b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/SAMD21G18A.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/SAMD21G18A.sct rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/SAMD21G18A.sct diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/startup_SAMD21.s b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/startup_SAMD21.s similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/startup_SAMD21.s rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/startup_SAMD21.s diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/SAMD21G18A.sct b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/SAMD21G18A.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/SAMD21G18A.sct rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/SAMD21G18A.sct diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/startup_SAMD21.s b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/startup_SAMD21.s similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/startup_SAMD21.s rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/startup_SAMD21.s diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_GCC_ARM/samd21g18a.ld b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_GCC_ARM/samd21g18a.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_GCC_ARM/samd21g18a.ld rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_GCC_ARM/samd21g18a.ld diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_GCC_ARM/startup_samd21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_GCC_ARM/startup_samd21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_GCC_ARM/startup_samd21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_GCC_ARM/startup_samd21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_IAR/startup_samd21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_IAR/startup_samd21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_IAR/startup_samd21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21G18A/TOOLCHAIN_IAR/startup_samd21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/SAMD21J18A.sct b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/SAMD21J18A.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/SAMD21J18A.sct rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/SAMD21J18A.sct diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/startup_SAMD21.s b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/startup_SAMD21.s similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/startup_SAMD21.s rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/startup_SAMD21.s diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/SAMD21J18A.sct b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/SAMD21J18A.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/SAMD21J18A.sct rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/SAMD21J18A.sct diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/startup_SAMD21.s b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/startup_SAMD21.s similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/startup_SAMD21.s rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/startup_SAMD21.s diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_GCC_ARM/samd21j18a.ld b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_GCC_ARM/samd21j18a.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_GCC_ARM/samd21j18a.ld rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_GCC_ARM/samd21j18a.ld diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_GCC_ARM/startup_samd21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_GCC_ARM/startup_samd21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_GCC_ARM/startup_samd21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_GCC_ARM/startup_samd21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_IAR/startup_samd21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_IAR/startup_samd21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_IAR/startup_samd21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/TARGET_SAMD21J18A/TOOLCHAIN_IAR/startup_samd21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis_nvic.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis_nvic.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis_nvic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis_nvic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMD21/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/SAML21J18A.sct b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/SAML21J18A.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/SAML21J18A.sct rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/SAML21J18A.sct diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/startup_SAML21.s b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/startup_SAML21.s similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/startup_SAML21.s rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/startup_SAML21.s diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/SAML21J18A.sct b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/SAML21J18A.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/SAML21J18A.sct rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/SAML21J18A.sct diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/startup_SAML21.s b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/startup_SAML21.s similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/startup_SAML21.s rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/startup_SAML21.s diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_GCC_ARM/saml21j18a.ld b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_GCC_ARM/saml21j18a.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_GCC_ARM/saml21j18a.ld rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_GCC_ARM/saml21j18a.ld diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_GCC_ARM/startup_saml21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_GCC_ARM/startup_saml21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_GCC_ARM/startup_saml21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_GCC_ARM/startup_saml21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_IAR/startup_saml21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_IAR/startup_saml21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_IAR/startup_saml21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/TARGET_SAML21J18A/TOOLCHAIN_IAR/startup_saml21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis_nvic.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis_nvic.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis_nvic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis_nvic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAML21/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/SAMR21G18A.sct b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/SAMR21G18A.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/SAMR21G18A.sct rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/SAMR21G18A.sct diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/startup_SAMR21.s b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/startup_SAMR21.s similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/startup_SAMR21.s rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/startup_SAMR21.s diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/SAMR21G18A.sct b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/SAMR21G18A.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/SAMR21G18A.sct rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/SAMR21G18A.sct diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/startup_SAMR21.s b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/startup_SAMR21.s similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/startup_SAMR21.s rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/startup_SAMR21.s diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_GCC_ARM/samr21g18a.ld b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_GCC_ARM/samr21g18a.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_GCC_ARM/samr21g18a.ld rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_GCC_ARM/samr21g18a.ld diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_GCC_ARM/startup_samr21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_GCC_ARM/startup_samr21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_GCC_ARM/startup_samr21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_GCC_ARM/startup_samr21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_IAR/startup_samr21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_IAR/startup_samr21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_IAR/startup_samr21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/TARGET_SAMR21G18A/TOOLCHAIN_IAR/startup_samr21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis_nvic.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis_nvic.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis_nvic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis_nvic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/TARGET_SAMR21/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_ac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_ac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_ac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_ac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_adc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_adc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_adc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dmac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dmac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dmac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dmac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dsu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dsu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dsu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_dsu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_eic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_eic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_eic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_eic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_evsys.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_evsys.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_evsys.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_evsys.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_gclk.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_gclk.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_gclk.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_gclk.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_hmatrixb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_hmatrixb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_hmatrixb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_hmatrixb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_i2s.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_i2s.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_i2s.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_mtb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_mtb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_mtb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_mtb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_nvmctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_nvmctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_nvmctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_nvmctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_pac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_pac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_pac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_pac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_pm.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_pm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_pm.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_pm.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_port.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_port.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_port.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_port.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_rtc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_rtc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_rtc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_sercom.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_sercom.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_sercom.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_sercom.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_sysctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_sysctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_sysctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_sysctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tcc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tcc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tcc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tcc_lighting.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tcc_lighting.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tcc_lighting.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_tcc_lighting.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_usb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_usb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_usb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_wdt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_wdt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/component/comp_wdt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_ac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_ac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_ac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_ac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_ac1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_ac1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_ac1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_ac1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_adc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_adc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_adc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dmac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dmac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dmac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dmac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dsu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dsu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dsu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_dsu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_eic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_eic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_eic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_eic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_evsys.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_evsys.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_evsys.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_evsys.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_gclk.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_gclk.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_gclk.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_gclk.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_i2s.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_i2s.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_i2s.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_mtb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_mtb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_mtb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_mtb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_nvmctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_nvmctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_nvmctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_nvmctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pac2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pm.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pm.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_pm.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_port.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_port.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_port.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_port.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_rtc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_rtc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_rtc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sbmatrix.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sbmatrix.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sbmatrix.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sbmatrix.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sercom5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sysctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sysctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sysctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_sysctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc6.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc6.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc6.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc6.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc7.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc7.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc7.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tc7.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_tcc2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_usb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_usb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_usb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_wdt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_wdt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/instance/ins_wdt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15bu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15bu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15bu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15bu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15l.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15l.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15l.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e15l.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16bu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16bu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16bu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16bu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16l.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16l.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16l.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e16l.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21e18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g15a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g15a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g15a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g15a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g15b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g15b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g15b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g15b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g16b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g16b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g16b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g16b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g17au.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g17au.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g17au.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g17au.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g18au.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g18au.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g18au.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21g18au.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j15a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j15a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j15a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j15a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j15b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j15b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j15b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j15b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j16b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j16b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j16b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j16b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/pio/pio_samd21j18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15bu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15bu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15bu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15bu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15l.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15l.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15l.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e15l.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16bu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16bu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16bu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16bu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16l.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16l.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16l.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e16l.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21e18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g15a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g15a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g15a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g15a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g15b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g15b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g15b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g15b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g16b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g16b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g16b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g16b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g17au.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g17au.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g17au.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g17au.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g18au.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g18au.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g18au.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21g18au.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j15a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j15a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j15a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j15a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j15b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j15b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j15b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j15b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j16b.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j16b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j16b.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j16b.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/include/samd21j18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/source/system_samd21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/source/system_samd21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/source/system_samd21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/source/system_samd21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/source/system_samd21.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/source/system_samd21.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/source/system_samd21.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMD21/source/system_samd21.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_ac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_ac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_ac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_ac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_adc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_adc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_adc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_aes.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_aes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_aes.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_aes.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_ccl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_ccl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_ccl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_ccl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dmac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dmac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dmac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dmac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dsu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dsu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dsu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_dsu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_eic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_eic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_eic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_eic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_evsys.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_evsys.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_evsys.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_evsys.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_gclk.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_gclk.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_gclk.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_gclk.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_mclk.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_mclk.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_mclk.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_mclk.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_mtb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_mtb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_mtb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_mtb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_nvmctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_nvmctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_nvmctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_nvmctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_opamp.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_opamp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_opamp.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_opamp.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_osc32kctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_osc32kctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_osc32kctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_osc32kctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_oscctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_oscctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_oscctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_oscctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_pac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_pac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_pac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_pac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_pm.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_pm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_pm.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_pm.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_port.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_port.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_port.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_port.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_rstc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_rstc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_rstc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_rstc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_rtc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_rtc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_rtc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_sercom.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_sercom.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_sercom.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_sercom.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_supc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_supc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_supc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_supc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tal.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tal.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tal.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tal.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tcc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tcc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_tcc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_trng.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_trng.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_trng.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_trng.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_usb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_usb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_usb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_wdt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_wdt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/component/comp_wdt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_ac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_ac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_ac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_ac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_adc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_adc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_adc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_aes.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_aes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_aes.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_aes.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_ccl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_ccl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_ccl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_ccl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dmac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dmac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dmac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dmac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dsu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dsu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dsu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_dsu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_eic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_eic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_eic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_eic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_evsys.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_evsys.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_evsys.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_evsys.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_gclk.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_gclk.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_gclk.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_gclk.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_mclk.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_mclk.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_mclk.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_mclk.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_mtb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_mtb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_mtb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_mtb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_nvmctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_nvmctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_nvmctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_nvmctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_opamp.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_opamp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_opamp.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_opamp.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_osc32kctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_osc32kctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_osc32kctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_osc32kctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_oscctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_oscctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_oscctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_oscctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_pac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_pac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_pac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_pac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_pm.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_pm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_pm.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_pm.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_port.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_port.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_port.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_port.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_rstc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_rstc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_rstc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_rstc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_rtc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_rtc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_rtc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_sercom5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_supc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_supc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_supc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_supc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tal.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tal.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tal.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tal.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tc4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_tcc2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_trng.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_trng.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_trng.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_trng.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_usb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_usb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_usb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_wdt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_wdt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/instance/ins_wdt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e15a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e15a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e15a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e15a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21e17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21g18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/pio/pio_saml21j18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e15a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e15a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e15a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e15a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21e17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21g18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/include/saml21j18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/source/system_saml21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/source/system_saml21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/source/system_saml21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/source/system_saml21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/source/system_saml21.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/source/system_saml21.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/source/system_saml21.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAML21/source/system_saml21.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_ac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_ac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_ac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_ac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_adc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_adc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_adc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_dmac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_dmac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_dmac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_dmac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_dsu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_dsu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_dsu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_dsu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_eic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_eic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_eic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_eic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_evsys.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_evsys.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_evsys.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_evsys.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_gclk.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_gclk.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_gclk.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_gclk.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_hmatrixb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_hmatrixb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_hmatrixb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_hmatrixb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_mtb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_mtb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_mtb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_mtb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_nvmctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_nvmctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_nvmctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_nvmctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_pac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_pac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_pac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_pac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_pm.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_pm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_pm.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_pm.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_port.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_port.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_port.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_port.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_rfctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_rfctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_rfctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_rfctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_rtc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_rtc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_rtc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_sercom.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_sercom.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_sercom.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_sercom.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_sysctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_sysctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_sysctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_sysctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_tc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_tc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_tc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_tc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_tcc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_tcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_tcc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_tcc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_usb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_usb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_usb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_wdt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_wdt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/component/comp_wdt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_ac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_ac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_ac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_ac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_adc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_adc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_adc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_dmac.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_dmac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_dmac.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_dmac.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_dsu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_dsu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_dsu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_dsu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_eic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_eic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_eic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_eic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_evsys.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_evsys.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_evsys.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_evsys.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_gclk.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_gclk.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_gclk.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_gclk.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_mtb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_mtb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_mtb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_mtb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_nvmctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_nvmctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_nvmctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_nvmctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pac2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pm.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pm.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_pm.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_port.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_port.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_port.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_port.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_rfctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_rfctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_rfctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_rfctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_rtc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_rtc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_rtc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sbmatrix.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sbmatrix.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sbmatrix.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sbmatrix.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sercom5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sysctrl.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sysctrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sysctrl.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_sysctrl.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tc5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_tcc2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_usb.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_usb.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_usb.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_wdt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_wdt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/instance/ins_wdt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21e18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/pio/pio_samr21g18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21e18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g16a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g16a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g16a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g16a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g17a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g17a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g17a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g17a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g18a.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g18a.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g18a.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/include/samr21g18a.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/source/system_samr21.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/source/system_samr21.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/source/system_samr21.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/source/system_samr21.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/source/system_samr21.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/source/system_samr21.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/source/system_samr21.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/cmsis/TARGET_SAMR21/source/system_samr21.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/compiler.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/compiler.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/compiler.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/compiler.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/header_files/io.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/header_files/io.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/header_files/io.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/header_files/io.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/mrecursion.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/mrecursion.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/mrecursion.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/mrecursion.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/mrepeat.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/mrepeat.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/mrepeat.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/mrepeat.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/preprocessor.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/preprocessor.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/preprocessor.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/preprocessor.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/stringz.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/stringz.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/stringz.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/stringz.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/tpaste.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/tpaste.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/tpaste.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/preprocessor/tpaste.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/status_codes.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/status_codes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/status_codes.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM0P/utils/status_codes.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/TARGET_SAMG55J19/TOOLCHAIN_GCC_ARM/samg55j19.ld b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/TARGET_SAMG55J19/TOOLCHAIN_GCC_ARM/samg55j19.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/TARGET_SAMG55J19/TOOLCHAIN_GCC_ARM/samg55j19.ld rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/TARGET_SAMG55J19/TOOLCHAIN_GCC_ARM/samg55j19.ld diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/TARGET_SAMG55J19/TOOLCHAIN_GCC_ARM/startup_samg55.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/TARGET_SAMG55J19/TOOLCHAIN_GCC_ARM/startup_samg55.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/TARGET_SAMG55J19/TOOLCHAIN_GCC_ARM/startup_samg55.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/TARGET_SAMG55J19/TOOLCHAIN_GCC_ARM/startup_samg55.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis_nvic.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis_nvic.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis_nvic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis_nvic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/TARGET_SAMG55/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_adc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_adc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_adc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_chipid.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_chipid.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_chipid.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_chipid.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_cmcc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_cmcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_cmcc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_cmcc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_crccu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_crccu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_crccu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_crccu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_efc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_efc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_efc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_efc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_flexcom.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_flexcom.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_flexcom.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_flexcom.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_gpbr.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_gpbr.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_gpbr.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_gpbr.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_i2sc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_i2sc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_i2sc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_i2sc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_matrix.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_matrix.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_matrix.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_matrix.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_mem2mem.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_mem2mem.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_mem2mem.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_mem2mem.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pdc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pdc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pdc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pdc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pdmic.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pdmic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pdmic.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pdmic.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pio.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pio.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pio.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pio.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pmc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pmc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_pmc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rstc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rstc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rstc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rstc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rtc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rtc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rtc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rtt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rtt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rtt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_rtt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_spi.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_spi.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_spi.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_supc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_supc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_supc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_supc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_tc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_tc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_tc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_tc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_twi.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_twi.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_twi.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_twi.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_udp.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_udp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_udp.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_udp.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_uhp.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_uhp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_uhp.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_uhp.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_usart.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_usart.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_usart.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_wdt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_wdt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/component/comp_wdt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_adc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_adc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_adc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_chipid.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_chipid.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_chipid.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_chipid.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_cmcc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_cmcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_cmcc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_cmcc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_crccu.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_crccu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_crccu.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_crccu.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_efc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_efc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_efc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_efc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom6.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom6.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom6.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom6.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom7.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom7.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom7.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_flexcom7.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_gpbr.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_gpbr.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_gpbr.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_gpbr.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_i2sc0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_i2sc0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_i2sc0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_i2sc0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_i2sc1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_i2sc1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_i2sc1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_i2sc1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_matrix.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_matrix.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_matrix.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_matrix.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_mem2mem.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_mem2mem.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_mem2mem.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_mem2mem.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pdmic0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pdmic0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pdmic0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pdmic0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pdmic1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pdmic1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pdmic1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pdmic1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pioa.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pioa.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pioa.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pioa.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_piob.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_piob.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_piob.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_piob.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pmc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pmc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_pmc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rstc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rstc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rstc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rstc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rtc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rtc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rtc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rtt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rtt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rtt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_rtt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi6.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi6.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi6.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi6.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi7.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi7.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi7.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_spi7.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_supc.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_supc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_supc.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_supc.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_tc0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_tc0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_tc0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_tc0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_tc1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_tc1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_tc1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_tc1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi6.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi6.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi6.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi6.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi7.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi7.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi7.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_twi7.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_udp.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_udp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_udp.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_udp.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_uhp.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_uhp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_uhp.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_uhp.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart0.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart0.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart0.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart0.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart1.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart1.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart1.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart1.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart2.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart2.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart2.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart2.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart3.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart3.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart3.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart3.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart4.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart4.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart4.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart5.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart5.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart5.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart6.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart6.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart6.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart6.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart7.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart7.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart7.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_usart7.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_wdt.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_wdt.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/instance/ins_wdt.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55g18.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55g18.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55g18.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55g18.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55g19.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55g19.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55g19.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55g19.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55j18.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55j18.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55j18.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55j18.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55j19.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55j19.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55j19.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55j19.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55n19.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55n19.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55n19.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/pio/pio_samg55n19.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55g18.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55g18.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55g18.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55g18.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55g19.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55g19.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55g19.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55g19.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55j18.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55j18.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55j18.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55j18.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55j19.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55j19.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55j19.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55j19.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55n19.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55n19.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55n19.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/include/samg55n19.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.c b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.c similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.c rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.c diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/cmsis/TARGET_SAMG55/source/system_samg55.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/compiler.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/compiler.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/compiler.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/compiler.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/header_files/io.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/header_files/io.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/header_files/io.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/header_files/io.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/mrepeat.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/mrepeat.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/mrepeat.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/mrepeat.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/preprocessor.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/preprocessor.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/preprocessor.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/preprocessor.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/stringz.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/stringz.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/stringz.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/stringz.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/tpaste.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/tpaste.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/tpaste.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/preprocessor/tpaste.h diff --git a/hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/status_codes.h b/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/status_codes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/status_codes.h rename to targets/cmsis/TARGET_Atmel/TARGET_SAM_CortexM4/utils/status_codes.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/MK20D5.h b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/MK20D5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/MK20D5.h rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/MK20D5.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/MK20D5.sct b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/MK20D5.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/MK20D5.sct rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/MK20D5.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/startup_MK20D5.S b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/startup_MK20D5.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/startup_MK20D5.S rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/startup_MK20D5.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM/MK20D5.ld b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM/MK20D5.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM/MK20D5.ld rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM/MK20D5.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM/startup_MK20D5.S b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM/startup_MK20D5.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM/startup_MK20D5.S rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM/startup_MK20D5.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_IAR/MK20D5.icf b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_IAR/MK20D5.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_IAR/MK20D5.icf rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_IAR/MK20D5.icf diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_IAR/startup_MK20D5.S b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_IAR/startup_MK20D5.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_IAR/startup_MK20D5.S rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_IAR/startup_MK20D5.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/system_MK20D5.c b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/system_MK20D5.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/system_MK20D5.c rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/system_MK20D5.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/system_MK20D5.h b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/system_MK20D5.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/system_MK20D5.h rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/system_MK20D5.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/MK20DX256.h b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/MK20DX256.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/MK20DX256.h rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/MK20DX256.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/MK20DX256.sct b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/MK20DX256.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/MK20DX256.sct rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/MK20DX256.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/startup_MK20DX256.S b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/startup_MK20DX256.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/startup_MK20DX256.S rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/startup_MK20DX256.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_GCC_ARM/MK20DX256.ld b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_GCC_ARM/MK20DX256.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_GCC_ARM/MK20DX256.ld rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_GCC_ARM/MK20DX256.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_GCC_ARM/startup_MK20DX256.S b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_GCC_ARM/startup_MK20DX256.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_GCC_ARM/startup_MK20DX256.S rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/TOOLCHAIN_GCC_ARM/startup_MK20DX256.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.c b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.c rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.h b/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.h rename to targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/system_MK20DX256.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212.h b/targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212.h rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212_features.h b/targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212_features.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212_features.h rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212_features.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/MK22FN512xxx12.sct b/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/MK22FN512xxx12.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/MK22FN512xxx12.sct rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/MK22FN512xxx12.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/startup_MK22F51212.S b/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/startup_MK22F51212.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/startup_MK22F51212.S rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/startup_MK22F51212.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld b/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_GCC_ARM/startup_MK22F51212.S b/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_GCC_ARM/startup_MK22F51212.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_GCC_ARM/startup_MK22F51212.S rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_GCC_ARM/startup_MK22F51212.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_IAR/MK22F51212.icf b/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_IAR/MK22F51212.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_IAR/MK22F51212.icf rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_IAR/MK22F51212.icf diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_IAR/startup_MK22F12.S b/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_IAR/startup_MK22F12.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_IAR/startup_MK22F12.S rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_IAR/startup_MK22F12.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/fsl_device_registers.h b/targets/cmsis/TARGET_Freescale/TARGET_K22F/fsl_device_registers.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/fsl_device_registers.h rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/fsl_device_registers.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.c b/targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.c rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.h b/targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.h rename to targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/MK64F12.h b/targets/cmsis/TARGET_Freescale/TARGET_K64F/MK64F12.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/MK64F12.h rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/MK64F12.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/MK64F12_features.h b/targets/cmsis/TARGET_Freescale/TARGET_K64F/MK64F12_features.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/MK64F12_features.h rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/MK64F12_features.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct b/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/startup_MK64F12.S b/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/startup_MK64F12.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/startup_MK64F12.S rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/startup_MK64F12.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld b/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM/startup_MK64F12.S b/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM/startup_MK64F12.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM/startup_MK64F12.S rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM/startup_MK64F12.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_IAR/MK64FN1M0xxx12.icf b/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_IAR/MK64FN1M0xxx12.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_IAR/MK64FN1M0xxx12.icf rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_IAR/MK64FN1M0xxx12.icf diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_IAR/startup_MK64F12.S b/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_IAR/startup_MK64F12.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_IAR/startup_MK64F12.S rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_IAR/startup_MK64F12.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/fsl_device_registers.h b/targets/cmsis/TARGET_Freescale/TARGET_K64F/fsl_device_registers.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/fsl_device_registers.h rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/fsl_device_registers.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/system_MK64F12.c b/targets/cmsis/TARGET_Freescale/TARGET_K64F/system_MK64F12.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/system_MK64F12.c rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/system_MK64F12.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/system_MK64F12.h b/targets/cmsis/TARGET_Freescale/TARGET_K64F/system_MK64F12.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/system_MK64F12.h rename to targets/cmsis/TARGET_Freescale/TARGET_K64F/system_MK64F12.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/MKL27Z644.h b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/MKL27Z644.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/MKL27Z644.h rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/MKL27Z644.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/MKL27Z644_features.h b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/MKL27Z644_features.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/MKL27Z644_features.h rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/MKL27Z644_features.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/MKL27Z64xxx4.sct b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/MKL27Z64xxx4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/MKL27Z64xxx4.sct rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/MKL27Z64xxx4.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/startup_MKL27Z644.S b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/startup_MKL27Z644.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/startup_MKL27Z644.S rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/startup_MKL27Z644.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/startup_MKL27Z644.S b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/startup_MKL27Z644.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/startup_MKL27Z644.S rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/startup_MKL27Z644.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_IAR/MKL27Z64xxx4.icf b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_IAR/MKL27Z64xxx4.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_IAR/MKL27Z64xxx4.icf rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_IAR/MKL27Z64xxx4.icf diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_IAR/startup_MKL27Z644.S b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_IAR/startup_MKL27Z644.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_IAR/startup_MKL27Z644.S rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/TOOLCHAIN_IAR/startup_MKL27Z644.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/fsl_device_registers.h b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/fsl_device_registers.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/fsl_device_registers.h rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/fsl_device_registers.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/system_MKL27Z644.c b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/system_MKL27Z644.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/system_MKL27Z644.c rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/system_MKL27Z644.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/system_MKL27Z644.h b/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/system_MKL27Z644.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KL27Z/system_MKL27Z644.h rename to targets/cmsis/TARGET_Freescale/TARGET_KL27Z/system_MKL27Z644.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/MKL05Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/MKL05Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/MKL05Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/MKL05Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/MKL05Z4.sct b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/MKL05Z4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/MKL05Z4.sct rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/MKL05Z4.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/startup_MKL05Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/startup_MKL05Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/startup_MKL05Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/startup_MKL05Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/MKL05Z4.sct b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/MKL05Z4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/MKL05Z4.sct rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/MKL05Z4.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/startup_MKL05Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/startup_MKL05Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/startup_MKL05Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/startup_MKL05Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_GCC_ARM/MKL05Z4.ld b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_GCC_ARM/MKL05Z4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_GCC_ARM/MKL05Z4.ld rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_GCC_ARM/MKL05Z4.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_GCC_ARM/startup_MKL05Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_GCC_ARM/startup_MKL05Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_GCC_ARM/startup_MKL05Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_GCC_ARM/startup_MKL05Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_IAR/MKL05Z4.icf b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_IAR/MKL05Z4.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_IAR/MKL05Z4.icf rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_IAR/MKL05Z4.icf diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_IAR/startup_MKL05Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_IAR/startup_MKL05Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_IAR/startup_MKL05Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/TOOLCHAIN_IAR/startup_MKL05Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/system_MKL05Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/MKL25Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/MKL25Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/MKL25Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/MKL25Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/MKL25Z4.sct b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/MKL25Z4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/MKL25Z4.sct rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/MKL25Z4.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/startup_MKL25Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/startup_MKL25Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/startup_MKL25Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/startup_MKL25Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/MKL25Z4.sct b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/MKL25Z4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/MKL25Z4.sct rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/MKL25Z4.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/startup_MKL25Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/startup_MKL25Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/startup_MKL25Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/startup_MKL25Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/MKL25Z4.ld b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/MKL25Z4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/MKL25Z4.ld rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/MKL25Z4.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/startup_MKL25Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/startup_MKL25Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/startup_MKL25Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_ARM/startup_MKL25Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_EWL/startup_MKL25Z4.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_EWL/startup_MKL25Z4.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_EWL/startup_MKL25Z4.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_EWL/startup_MKL25Z4.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_NEWLIB/startup_MKL25Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_NEWLIB/startup_MKL25Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_NEWLIB/startup_MKL25Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_GCC_CW_NEWLIB/startup_MKL25Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_IAR/MKL25Z4.icf b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_IAR/MKL25Z4.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_IAR/MKL25Z4.icf rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_IAR/MKL25Z4.icf diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_IAR/startup_MKL25Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_IAR/startup_MKL25Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_IAR/startup_MKL25Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/TOOLCHAIN_IAR/startup_MKL25Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/system_MKL25Z4.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/system_MKL25Z4.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/system_MKL25Z4.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/system_MKL25Z4.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/system_MKL25Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/system_MKL25Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/system_MKL25Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/system_MKL25Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/MKL26Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/MKL26Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/MKL26Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/MKL26Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/MKL26Z4.sct b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/MKL26Z4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/MKL26Z4.sct rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/MKL26Z4.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/startup_MKL26Z4.s b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/startup_MKL26Z4.s similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/startup_MKL26Z4.s rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/startup_MKL26Z4.s diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_GCC_ARM/MKL26Z4.ld b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_GCC_ARM/MKL26Z4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_GCC_ARM/MKL26Z4.ld rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_GCC_ARM/MKL26Z4.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_GCC_ARM/startup_MKL26Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_GCC_ARM/startup_MKL26Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_GCC_ARM/startup_MKL26Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_GCC_ARM/startup_MKL26Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_IAR/MKL26Z4.icf b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_IAR/MKL26Z4.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_IAR/MKL26Z4.icf rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_IAR/MKL26Z4.icf diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_IAR/startup_MKL26Z4.s b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_IAR/startup_MKL26Z4.s similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_IAR/startup_MKL26Z4.s rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/TOOLCHAIN_IAR/startup_MKL26Z4.s diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/system_MKL26Z4.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/system_MKL26Z4.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/system_MKL26Z4.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/system_MKL26Z4.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/system_MKL26Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/system_MKL26Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/system_MKL26Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/system_MKL26Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/MKL43Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/MKL43Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/MKL43Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/MKL43Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/MKL43Z4.sct b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/MKL43Z4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/MKL43Z4.sct rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/MKL43Z4.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/startup_MKL43Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/startup_MKL43Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/startup_MKL43Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/startup_MKL43Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_GCC_ARM/MKL43Z4.ld b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_GCC_ARM/MKL43Z4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_GCC_ARM/MKL43Z4.ld rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_GCC_ARM/MKL43Z4.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_GCC_ARM/startup_MKL43Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_GCC_ARM/startup_MKL43Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_GCC_ARM/startup_MKL43Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/TOOLCHAIN_GCC_ARM/startup_MKL43Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/system_MKL43Z4.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/system_MKL43Z4.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/system_MKL43Z4.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/system_MKL43Z4.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/system_MKL43Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/system_MKL43Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/system_MKL43Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL43Z/system_MKL43Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/MKL46Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/MKL46Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/MKL46Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/MKL46Z4.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/MKL46Z4.sct b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/MKL46Z4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/MKL46Z4.sct rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/MKL46Z4.sct diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/startup_MKL46Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/startup_MKL46Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/startup_MKL46Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/startup_MKL46Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_GCC_ARM/MKL46Z4.ld b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_GCC_ARM/MKL46Z4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_GCC_ARM/MKL46Z4.ld rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_GCC_ARM/MKL46Z4.ld diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_GCC_ARM/startup_MKL46Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_GCC_ARM/startup_MKL46Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_GCC_ARM/startup_MKL46Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_GCC_ARM/startup_MKL46Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/startup_MKL46Z4.S b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/startup_MKL46Z4.S similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/startup_MKL46Z4.S rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/startup_MKL46Z4.S diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis_nvic.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis_nvic.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis_nvic.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis_nvic.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/system_MKL46Z4.c b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/system_MKL46Z4.c similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/system_MKL46Z4.c rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/system_MKL46Z4.c diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/system_MKL46Z4.h b/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/system_MKL46Z4.h similarity index 100% rename from hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/system_MKL46Z4.h rename to targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/system_MKL46Z4.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/MAX32600.sct b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/MAX32600.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/MAX32600.sct rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/MAX32600.sct diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/startup_MAX32600.S b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/startup_MAX32600.S similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/startup_MAX32600.S rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/startup_MAX32600.S diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_GCC_ARM/max32600.ld b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_GCC_ARM/max32600.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_GCC_ARM/max32600.ld rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_GCC_ARM/max32600.ld diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_GCC_ARM/startup_max32600.S b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_GCC_ARM/startup_max32600.S similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_GCC_ARM/startup_max32600.S rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_GCC_ARM/startup_max32600.S diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_IAR/MAX32600.icf b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_IAR/MAX32600.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_IAR/MAX32600.icf rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_IAR/MAX32600.icf diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_IAR/startup_MAX32600.S b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_IAR/startup_MAX32600.S similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_IAR/startup_MAX32600.S rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/TOOLCHAIN_IAR/startup_MAX32600.S diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/adc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/adc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/adc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/adc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/aes_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/aes_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/aes_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/aes_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/afe_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/afe_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/afe_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/afe_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/clkman_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/clkman_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/clkman_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/clkman_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis_nvic.c b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis_nvic.c rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis_nvic.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis_nvic.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/crc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/crc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/crc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/crc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/dac_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/dac_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/dac_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/dac_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/flc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/flc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/flc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/flc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/gpio_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/gpio_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/gpio_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/gpio_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/i2cm_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/i2cm_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/i2cm_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/i2cm_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/icc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/icc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/icc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/icc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/ioman_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/ioman_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/ioman_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/ioman_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/lcd_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/lcd_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/lcd_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/lcd_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/maa_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/maa_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/maa_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/maa_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/max32600.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/max32600.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/max32600.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/max32600.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pmu_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pmu_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pmu_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pmu_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pt_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pt_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pt_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pt_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pwrman_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pwrman_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pwrman_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pwrman_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pwrseq_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pwrseq_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pwrseq_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/pwrseq_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/rtc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/rtc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/rtc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/rtc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/spi_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/spi_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/spi_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/spi_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/system_max32600.c b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/system_max32600.c similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/system_max32600.c rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/system_max32600.c diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/system_max32600.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/system_max32600.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/system_max32600.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/system_max32600.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/tmr_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/tmr_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/tmr_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/tmr_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/tpu_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/tpu_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/tpu_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/tpu_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/trim_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/trim_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/trim_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/trim_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/uart_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/uart_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/uart_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/uart_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/usb_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/usb_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/usb_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/usb_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/wdt_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/wdt_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32600/wdt_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32600/wdt_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/MAX32610.sct b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/MAX32610.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/MAX32610.sct rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/MAX32610.sct diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/startup_MAX32610.S b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/startup_MAX32610.S similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/startup_MAX32610.S rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/startup_MAX32610.S diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/max32610.ld b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/max32610.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/max32610.ld rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/max32610.ld diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/startup_max32610.S b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/startup_max32610.S similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/startup_max32610.S rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_GCC_ARM/startup_max32610.S diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/MAX32610.icf b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/MAX32610.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/MAX32610.icf rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/MAX32610.icf diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/startup_MAX32610.S b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/startup_MAX32610.S similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/startup_MAX32610.S rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/TOOLCHAIN_IAR/startup_MAX32610.S diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/adc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/adc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/adc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/adc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/aes_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/aes_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/aes_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/aes_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/afe_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/afe_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/afe_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/afe_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/clkman_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/clkman_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/clkman_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/clkman_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis_nvic.c b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis_nvic.c rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis_nvic.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis_nvic.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/crc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/crc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/crc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/crc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/dac_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/dac_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/dac_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/dac_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/flc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/flc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/flc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/flc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/gpio_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/gpio_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/gpio_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/gpio_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/i2cm_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/i2cm_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/i2cm_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/i2cm_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/icc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/icc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/icc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/icc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/ioman_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/ioman_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/ioman_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/ioman_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/maa_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/maa_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/maa_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/maa_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/max32610.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/max32610.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/max32610.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/max32610.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pmu_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pmu_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pmu_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pmu_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pt_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pt_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pt_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pt_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pwrman_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pwrman_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pwrman_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pwrman_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pwrseq_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pwrseq_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pwrseq_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/pwrseq_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/rtc_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/rtc_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/rtc_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/rtc_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/spi_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/spi_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/spi_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/spi_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/system_max32610.c b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/system_max32610.c similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/system_max32610.c rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/system_max32610.c diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/system_max32610.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/system_max32610.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/system_max32610.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/system_max32610.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/tmr_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/tmr_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/tmr_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/tmr_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/tpu_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/tpu_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/tpu_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/tpu_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/trim_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/trim_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/trim_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/trim_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/uart_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/uart_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/uart_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/uart_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/usb_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/usb_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/usb_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/usb_regs.h diff --git a/hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/wdt_regs.h b/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/wdt_regs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Maxim/TARGET_MAX32610/wdt_regs.h rename to targets/cmsis/TARGET_Maxim/TARGET_MAX32610/wdt_regs.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_16K/startup_nRF51822.S b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_16K/startup_nRF51822.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_16K/startup_nRF51822.S rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_16K/startup_nRF51822.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/nRF51822.sct b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/nRF51822.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/nRF51822.sct rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/nRF51822.sct diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/startup_nRF51822.S b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/startup_nRF51822.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/startup_nRF51822.S rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/startup_nRF51822.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S110/nRF51822.sct b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S110/nRF51822.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S110/nRF51822.sct rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S110/nRF51822.sct diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S130/nRF51822.sct b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S130/nRF51822.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S130/nRF51822.sct rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S130/nRF51822.sct diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110/NRF51822.ld b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110/NRF51822.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110/NRF51822.ld rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110/NRF51822.ld diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/startup_NRF51822.S b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/startup_NRF51822.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/startup_NRF51822.S rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/startup_NRF51822.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/startup_NRF51822_IAR.S b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/startup_NRF51822_IAR.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/startup_NRF51822_IAR.S rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/startup_NRF51822_IAR.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/startup_NRF51822_IAR.S b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/startup_NRF51822_IAR.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/startup_NRF51822_IAR.S rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/startup_NRF51822_IAR.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/s110_nrf51822_7.1.0_softdevice.bin b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/s110_nrf51822_7.1.0_softdevice.bin similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/s110_nrf51822_7.1.0_softdevice.bin rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR/s110_nrf51822_7.1.0_softdevice.bin diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis_nvic.c b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis_nvic.c rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis_nvic.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis_nvic.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/compiler_abstraction.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/compiler_abstraction.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/compiler_abstraction.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/compiler_abstraction.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51_bitfields.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51_bitfields.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51_bitfields.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51_bitfields.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51_deprecated.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51_deprecated.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51_deprecated.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51_deprecated.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf_delay.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf_delay.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf_delay.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf_delay.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.c b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.c similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.c rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.c diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.h b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.h rename to targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/system_nrf51.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_16K/startup_nRF51822.S b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_16K/startup_nRF51822.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_16K/startup_nRF51822.S rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_16K/startup_nRF51822.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/nRF51822.sct b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/nRF51822.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/nRF51822.sct rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/nRF51822.sct diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/startup_nRF51822.S b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/startup_nRF51822.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/startup_nRF51822.S rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NORDIC_32K/startup_nRF51822.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S110/nRF51822.sct b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S110/nRF51822.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S110/nRF51822.sct rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S110/nRF51822.sct diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S130/nRF51822.sct b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S130/nRF51822.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S130/nRF51822.sct rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/TARGET_MCU_NRF51_16K_S130/nRF51822.sct diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NORDIC_32K/NRF51822.ld diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110/NRF51822.ld b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110/NRF51822.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110/NRF51822.ld rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110/NRF51822.ld diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/startup_NRF51822.S b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/startup_NRF51822.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/startup_NRF51822.S rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_GCC_ARM/startup_NRF51822.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/nRF51822_QFAA.icf diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/startup_NRF51822_IAR.S b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/startup_NRF51822_IAR.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/startup_NRF51822_IAR.S rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_16K/startup_NRF51822_IAR.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/nRF51822_QFAA.icf diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/startup_NRF51822_IAR.S b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/startup_NRF51822_IAR.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/startup_NRF51822_IAR.S rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TOOLCHAIN_IAR/TARGET_MCU_NORDIC_32K/startup_NRF51822_IAR.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis_nvic.c b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis_nvic.c rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis_nvic.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis_nvic.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/system_nrf51.c b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/system_nrf51.c similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/system_nrf51.c rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/system_nrf51.c diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/system_nrf51.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/system_nrf51.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/system_nrf51.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/system_nrf51.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/nRF52832.sct b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/nRF52832.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/nRF52832.sct rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/nRF52832.sct diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/startup_nrf52832.s b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/startup_nrf52832.s similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/startup_nrf52832.s rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/startup_nrf52832.s diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM/NRF52832.ld b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM/NRF52832.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM/NRF52832.ld rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM/NRF52832.ld diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM/startup_NRF52832.S b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM/startup_NRF52832.S similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM/startup_NRF52832.S rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM/startup_NRF52832.S diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_IAR/nRF52832.icf b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_IAR/nRF52832.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_IAR/nRF52832.icf rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_IAR/nRF52832.icf diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_IAR/startup_NRF52832_IAR.s b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_IAR/startup_NRF52832_IAR.s similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_IAR/startup_NRF52832_IAR.s rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_IAR/startup_NRF52832_IAR.s diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis_nvic.c b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis_nvic.c rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis_nvic.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis_nvic.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.c b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.c similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.c rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.c diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/system_nrf52.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/nrf5x_lf_clk_helper.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/nrf5x_lf_clk_helper.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/nrf5x_lf_clk_helper.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/nrf5x_lf_clk_helper.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/compiler_abstraction.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/compiler_abstraction.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/compiler_abstraction.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/compiler_abstraction.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_bitfields.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_bitfields.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_bitfields.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_bitfields.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_deprecated.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_deprecated.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_deprecated.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_deprecated.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_to_nrf52.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_to_nrf52.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_to_nrf52.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf51_to_nrf52.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52_bitfields.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52_bitfields.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52_bitfields.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52_bitfields.h diff --git a/hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52_name_change.h b/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52_name_change.h similarity index 100% rename from hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52_name_change.h rename to targets/cmsis/TARGET_NORDIC/TARGET_NRF5/sdk/device/nrf52_name_change.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/NUC472_442.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/NUC472_442.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/NUC472_442.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/NUC472_442.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_acmp.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_acmp.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_acmp.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_acmp.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_acmp.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_acmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_acmp.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_acmp.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_adc.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_adc.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_adc.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_adc.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_adc.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_adc.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_can.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_can.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_can.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_can.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_can.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_can.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_can.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_can.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_cap.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_cap.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_cap.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_cap.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_cap.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_cap.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_cap.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_cap.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_clk.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_clk.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_clk.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_clk.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_clk.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_clk.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_clk.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_clk.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_crypto.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_crypto.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_crypto.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_crypto.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_crypto.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_crypto.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_crypto.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_crypto.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_eadc.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_eadc.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_eadc.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_eadc.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_eadc.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_eadc.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_eadc.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_eadc.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ebi.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ebi.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ebi.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ebi.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ebi.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ebi.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ebi.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ebi.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_emac.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_emac.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_emac.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_emac.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_emac.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_emac.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_emac.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_emac.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_fmc.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_fmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_fmc.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_fmc.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_fmc.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_fmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_fmc.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_fmc.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_gpio.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_gpio.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_gpio.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_gpio.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_gpio.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_gpio.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2c.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2c.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2c.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2c.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2c.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2c.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2s.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2s.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2s.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2s.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2s.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_i2s.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pdma.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pdma.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pdma.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pdma.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pdma.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pdma.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pdma.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pdma.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ps2.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ps2.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ps2.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ps2.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ps2.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ps2.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ps2.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_ps2.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pwm.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pwm.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pwm.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pwm.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pwm.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pwm.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pwm.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_pwm.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_rtc.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_rtc.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_rtc.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_rtc.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_rtc.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_rtc.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sc.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sc.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sc.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sc.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sc.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sc.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sc.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sc.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_scuart.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_scuart.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_scuart.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_scuart.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_scuart.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_scuart.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_scuart.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_scuart.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sd.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sd.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sd.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sd.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sd.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sd.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sd.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sd.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_spi.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_spi.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_spi.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_spi.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_spi.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_spi.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sys.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sys.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sys.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sys.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sys.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sys.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sys.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_sys.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_timer.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_timer.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_timer.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_timer.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_timer.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_timer.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_timer.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_uart.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_uart.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_uart.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_uart.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_uart.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_uart.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_usbd.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_usbd.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_usbd.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_usbd.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_usbd.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_usbd.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_usbd.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_usbd.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wdt.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wdt.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wdt.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wdt.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wdt.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wdt.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wdt.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wwdt.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wwdt.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wwdt.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wwdt.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wwdt.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wwdt.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wwdt.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/StdDriver/nuc472_wwdt.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_MICRO/NUC472.sct b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_MICRO/NUC472.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_MICRO/NUC472.sct rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_MICRO/NUC472.sct diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_STD/NUC472.sct b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_STD/NUC472.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_STD/NUC472.sct rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_STD/NUC472.sct diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/NUC472.ld b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/NUC472.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/NUC472.ld rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/NUC472.ld diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/retarget.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/retarget.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/retarget.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_GCC_ARM/retarget.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_IAR/NUC472_442.icf b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_IAR/NUC472_442.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_IAR/NUC472_442.icf rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/TOOLCHAIN_IAR/NUC472_442.icf diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/startup_NUC472_442.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/startup_NUC472_442.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/startup_NUC472_442.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/startup_NUC472_442.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis_nvic.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis_nvic.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis_nvic.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis_nvic.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/system_NUC472_442.c b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/system_NUC472_442.c similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/system_NUC472_442.c rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/system_NUC472_442.c diff --git a/hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/system_NUC472_442.h b/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/system_NUC472_442.h similarity index 100% rename from hal/targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/system_NUC472_442.h rename to targets/cmsis/TARGET_NUVOTON/TARGET_NUC472/system_NUC472_442.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/LPC11U6x.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/LPC11U6x.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/LPC11U6x.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/LPC11U6x.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U68/LPC11U68.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U68/LPC11U68.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U68/LPC11U68.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U68/LPC11U68.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U68/startup_LPC11U6x.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U68/startup_LPC11U6x.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U68/startup_LPC11U6x.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U68/startup_LPC11U6x.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/TARGET_LPC11U68/LPC11U68.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/TARGET_LPC11U68/LPC11U68.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/TARGET_LPC11U68/LPC11U68.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/TARGET_LPC11U68/LPC11U68.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/TARGET_LPC11U68/startup_LPC11U6x.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/TARGET_LPC11U68/startup_LPC11U6x.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/TARGET_LPC11U68/startup_LPC11U6x.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/TARGET_LPC11U68/startup_LPC11U6x.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68/LPC11U68.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68/LPC11U68.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68/LPC11U68.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68/LPC11U68.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68/startup_LPC11U68.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68/startup_LPC11U68.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68/startup_LPC11U68.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68/startup_LPC11U68.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/LPC11U68.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/LPC11U68.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/LPC11U68.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/LPC11U68.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/aeabi_romdiv_patch.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/aeabi_romdiv_patch.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/aeabi_romdiv_patch.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/aeabi_romdiv_patch.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/mtb.c b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/mtb.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/mtb.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/mtb.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/startup_LPC11U68.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/startup_LPC11U68.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/startup_LPC11U68.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_CR/TARGET_LPC11U68/startup_LPC11U68.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_IAR/TARGET_LPC11U68/LPC11U68.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_IAR/TARGET_LPC11U68/LPC11U68.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_IAR/TARGET_LPC11U68/LPC11U68.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_IAR/TARGET_LPC11U68/LPC11U68.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_IAR/TARGET_LPC11U68/startup_LPC11U6X.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_IAR/TARGET_LPC11U68/startup_LPC11U6X.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_IAR/TARGET_LPC11U68/startup_LPC11U6X.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_IAR/TARGET_LPC11U68/startup_LPC11U6X.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.c b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/system_LPC11U6x.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/LPC11Uxx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/LPC11Uxx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/LPC11Uxx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/LPC11Uxx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_APPNEARME_MICRONFCBOARD/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_APPNEARME_MICRONFCBOARD/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_APPNEARME_MICRONFCBOARD/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_APPNEARME_MICRONFCBOARD/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_301/LPC11U24.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_301/LPC11U24.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_301/LPC11U24.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_301/LPC11U24.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_301/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_301/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_301/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_301/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_401/LPC11U24.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_401/LPC11U24.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_401/LPC11U24.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_401/LPC11U24.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_401/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_401/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_401/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U24_401/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U34_421/LPC11U34.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U34_421/LPC11U34.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U34_421/LPC11U34.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U34_421/LPC11U34.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U34_421/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U34_421/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U34_421/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U34_421/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U35_401/LPC11U35.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U35_401/LPC11U35.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U35_401/LPC11U35.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U35_401/LPC11U35.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U35_401/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U35_401/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U35_401/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U35_401/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37H_401/LPC11U37.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37H_401/LPC11U37.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37H_401/LPC11U37.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37H_401/LPC11U37.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37H_401/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37H_401/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37H_401/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37H_401/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37_501/LPC11U37.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37_501/LPC11U37.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37_501/LPC11U37.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37_501/LPC11U37.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37_501/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37_501/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37_501/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11U37_501/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_MCU_LPC11U35_501/LPC11U35.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_MCU_LPC11U35_501/LPC11U35.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_MCU_LPC11U35_501/LPC11U35.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_MCU_LPC11U35_501/LPC11U35.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_MCU_LPC11U35_501/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_MCU_LPC11U35_501/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_MCU_LPC11U35_501/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_MCU_LPC11U35_501/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_OC_MBUINO/LPC11U24.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_OC_MBUINO/LPC11U24.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_OC_MBUINO/LPC11U24.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_OC_MBUINO/LPC11U24.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_OC_MBUINO/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_OC_MBUINO/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_OC_MBUINO/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/TARGET_OC_MBUINO/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_APPNEARME_MICRONFCBOARD/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_APPNEARME_MICRONFCBOARD/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_APPNEARME_MICRONFCBOARD/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_APPNEARME_MICRONFCBOARD/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_301/LPC11U24.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_301/LPC11U24.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_301/LPC11U24.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_301/LPC11U24.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_301/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_301/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_301/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_301/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_401/LPC11U24.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_401/LPC11U24.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_401/LPC11U24.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_401/LPC11U24.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_401/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_401/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_401/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U24_401/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U34_421/LPC11U34.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U34_421/LPC11U34.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U34_421/LPC11U34.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U34_421/LPC11U34.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U34_421/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U34_421/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U34_421/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U34_421/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_401/LPC11U35.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_401/LPC11U35.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_401/LPC11U35.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_401/LPC11U35.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_401/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_401/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_401/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_401/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_501/LPC11U35.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_501/LPC11U35.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_501/LPC11U35.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_501/LPC11U35.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_501/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_501/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_501/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U35_501/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37H_401/LPC11U37.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37H_401/LPC11U37.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37H_401/LPC11U37.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37H_401/LPC11U37.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37H_401/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37H_401/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37H_401/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37H_401/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37_501/LPC11U37.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37_501/LPC11U37.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37_501/LPC11U37.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37_501/LPC11U37.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37_501/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37_501/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37_501/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_LPC11U37_501/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_OC_MBUINO/LPC11U24.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_OC_MBUINO/LPC11U24.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_OC_MBUINO/LPC11U24.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_OC_MBUINO/LPC11U24.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_OC_MBUINO/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_OC_MBUINO/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_OC_MBUINO/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/TARGET_OC_MBUINO/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_APPNEARME_MICRONFCBOARD/LPC11U34.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_301/LPC11U24.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_301/LPC11U24.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_301/LPC11U24.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_301/LPC11U24.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_401/LPC11U24.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_401/LPC11U24.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_401/LPC11U24.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_401/LPC11U24.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U34_421/LPC11U34.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U34_421/LPC11U34.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U34_421/LPC11U34.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U34_421/LPC11U34.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_401/LPC11U35.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_401/LPC11U35.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_401/LPC11U35.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_401/LPC11U35.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_501/LPC11U35.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_501/LPC11U35.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_501/LPC11U35.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_501/LPC11U35.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_Y5_MBUG/LPC11U35.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_Y5_MBUG/LPC11U35.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_Y5_MBUG/LPC11U35.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_Y5_MBUG/LPC11U35.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37H_401/LPC11U37.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37H_401/LPC11U37.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37H_401/LPC11U37.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37H_401/LPC11U37.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37_501/LPC11U37.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37_501/LPC11U37.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37_501/LPC11U37.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U37_501/LPC11U37.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPCCAPPUCCINO/LPC11U37.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPCCAPPUCCINO/LPC11U37.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPCCAPPUCCINO/LPC11U37.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPCCAPPUCCINO/LPC11U37.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_OC_MBUINO/LPC11U24.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_OC_MBUINO/LPC11U24.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_OC_MBUINO/LPC11U24.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_OC_MBUINO/LPC11U24.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U24/LPC11U24.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U24/LPC11U24.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U24/LPC11U24.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U24/LPC11U24.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U35_401/LPC11U35.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U35_401/LPC11U35.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U35_401/LPC11U35.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U35_401/LPC11U35.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U35_501/LPC11U35.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U35_501/LPC11U35.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U35_501/LPC11U35.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U35_501/LPC11U35.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U37H_401/LPC11U37.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U37H_401/LPC11U37.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U37H_401/LPC11U37.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U37H_401/LPC11U37.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U37_501/LPC11U37.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U37_501/LPC11U37.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U37_501/LPC11U37.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/TARGET_LPC11U37_501/LPC11U37.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/startup_LPC11xx.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/startup_LPC11xx.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/startup_LPC11xx.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CR/startup_LPC11xx.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/LPC11U24.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/LPC11U24.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/LPC11U24.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/LPC11U24.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_CS/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_301/LPC11U24.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_301/LPC11U24.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_301/LPC11U24.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_301/LPC11U24.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_301/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_301/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_301/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_301/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_401/LPC11U24.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_401/LPC11U24.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_401/LPC11U24.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_401/LPC11U24.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_401/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_401/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_401/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U24_401/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_401/LPC11U35.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_401/LPC11U35.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_401/LPC11U35.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_401/LPC11U35.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_401/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_401/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_401/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_401/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_501/LPC11U35.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_501/LPC11U35.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_501/LPC11U35.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_501/LPC11U35.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_501/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_501/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_501/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U35_501/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U37_501/LPC11U37.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U37_501/LPC11U37.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U37_501/LPC11U37.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U37_501/LPC11U37.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U37_501/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U37_501/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U37_501/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_LPC11U37_501/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_OC_MBUINO/LPC11U24.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_OC_MBUINO/LPC11U24.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_OC_MBUINO/LPC11U24.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_OC_MBUINO/LPC11U24.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_OC_MBUINO/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_OC_MBUINO/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_OC_MBUINO/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_IAR/TARGET_OC_MBUINO/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/power_api.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/power_api.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/power_api.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/power_api.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/system_LPC11Uxx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/system_LPC11Uxx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/system_LPC11Uxx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/system_LPC11Uxx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/system_LPC11Uxx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/system_LPC11Uxx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/system_LPC11Uxx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/system_LPC11Uxx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/LPC11xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/LPC11xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/LPC11xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/LPC11xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/system_LPC11xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/system_LPC11xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/system_LPC11xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11CXX/system_LPC11xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/system_LPC11xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/system_LPC11xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/system_LPC11xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/system_LPC11xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11CXX/LPC11C24.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11CXX/LPC11C24.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11CXX/LPC11C24.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11CXX/LPC11C24.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11CXX/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11CXX/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11CXX/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11CXX/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX/LPC1114.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX/LPC1114.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX/LPC1114.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX/LPC1114.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/TARGET_LPC11XX/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11CXX/LPC11C24.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11CXX/LPC11C24.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11CXX/LPC11C24.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11CXX/LPC11C24.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11CXX/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11CXX/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11CXX/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11CXX/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11XX/LPC1114.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11XX/LPC1114.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11XX/LPC1114.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11XX/LPC1114.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11XX/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11XX/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11XX/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/TARGET_LPC11XX/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11CXX/LPC11C24.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11CXX/LPC11C24.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11CXX/LPC11C24.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11CXX/LPC11C24.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11XX/LPC1114.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11XX/LPC1114.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11XX/LPC1114.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11XX/LPC1114.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CR/TARGET_LPC11XX/LPC1114.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CR/TARGET_LPC11XX/LPC1114.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CR/TARGET_LPC11XX/LPC1114.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CR/TARGET_LPC11XX/LPC1114.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CR/TARGET_LPC11XX/startup_LPC11xx.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CR/TARGET_LPC11XX/startup_LPC11xx.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CR/TARGET_LPC11XX/startup_LPC11xx.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CR/TARGET_LPC11XX/startup_LPC11xx.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CS/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CS/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CS/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CS/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CS/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CS/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CS/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_GCC_CS/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11CXX/LPC11C24.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11CXX/LPC11C24.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11CXX/LPC11C24.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11CXX/LPC11C24.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11CXX/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11CXX/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11CXX/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11CXX/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11XX/LPC1114.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11XX/LPC1114.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11XX/LPC1114.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11XX/LPC1114.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11XX/startup_LPC11xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11XX/startup_LPC11xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11XX/startup_LPC11xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/TOOLCHAIN_IAR/TARGET_LPC11XX/startup_LPC11xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/bitfields.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/bitfields.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/bitfields.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/bitfields.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/system_LPC11xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/system_LPC11xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/system_LPC11xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/system_LPC11xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/LPC13Uxx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/LPC13Uxx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/LPC13Uxx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/LPC13Uxx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/LPC1347.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/LPC1347.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/LPC1347.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/LPC1347.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/startup_LPC13xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/startup_LPC13xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/startup_LPC13xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/startup_LPC13xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/LPC1347.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/LPC1347.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/LPC1347.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/LPC1347.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/startup_LPC13xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/startup_LPC13xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/startup_LPC13xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/startup_LPC13xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_GCC_ARM/LPC1347.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_GCC_ARM/LPC1347.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_GCC_ARM/LPC1347.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_GCC_ARM/LPC1347.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_GCC_ARM/startup_LPC13xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_GCC_ARM/startup_LPC13xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_GCC_ARM/startup_LPC13xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_GCC_ARM/startup_LPC13xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_IAR/LPC1347.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_IAR/LPC1347.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_IAR/LPC1347.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_IAR/LPC1347.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_IAR/startup_LPC1347.S b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_IAR/startup_LPC1347.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_IAR/startup_LPC1347.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/TOOLCHAIN_IAR/startup_LPC1347.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/LPC15xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/LPC15xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/LPC15xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/LPC15xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/LPC15xx.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/LPC15xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/LPC15xx.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/LPC15xx.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/startup_LPC15xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/startup_LPC15xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/startup_LPC15xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/startup_LPC15xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_ARM/LPC1549.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_ARM/LPC1549.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_ARM/LPC1549.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_ARM/LPC1549.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_ARM/startup_LPC15xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_ARM/startup_LPC15xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_ARM/startup_LPC15xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_ARM/startup_LPC15xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_CR/LPC1549.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_CR/LPC1549.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_CR/LPC1549.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_CR/LPC1549.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_CR/startup_LPC15xx.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_CR/startup_LPC15xx.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_CR/startup_LPC15xx.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_GCC_CR/startup_LPC15xx.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_IAR/LPC15xx.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_IAR/LPC15xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_IAR/LPC15xx.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_IAR/LPC15xx.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_IAR/startup_LPC15xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_IAR/startup_LPC15xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_IAR/startup_LPC15xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/TOOLCHAIN_IAR/startup_LPC15xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/LPC17xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/LPC17xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/LPC17xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/LPC17xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/LPC1768.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/LPC1768.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/LPC1768.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/LPC1768.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/startup_LPC17xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/startup_LPC17xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/startup_LPC17xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/startup_LPC17xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/LPC1768.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/LPC1768.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/LPC1768.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/LPC1768.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/startup_LPC17xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/startup_LPC17xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/startup_LPC17xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/startup_LPC17xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/LPC1768.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/LPC1768.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/LPC1768.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/LPC1768.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/TARGET_XBED_LPC1768/XBED_LPC1768.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/TARGET_XBED_LPC1768/XBED_LPC1768.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/TARGET_XBED_LPC1768/XBED_LPC1768.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/TARGET_XBED_LPC1768/XBED_LPC1768.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/startup_LPC17xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/startup_LPC17xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/startup_LPC17xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM/startup_LPC17xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/LPC1768.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/startup_LPC17xx.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/startup_LPC17xx.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/startup_LPC17xx.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CR/startup_LPC17xx.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/LPC1768.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/LPC1768.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/LPC1768.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/LPC1768.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/startup_LPC17xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/startup_LPC17xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/startup_LPC17xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/startup_LPC17xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_CS/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/LPC17xx.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/LPC17xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/LPC17xx.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/LPC17xx.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/startup_LPC17xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/startup_LPC17xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/startup_LPC17xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/startup_LPC17xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC176X/system_LPC17xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/LPC23xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/LPC23xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/LPC23xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/LPC23xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/LPC2368.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/LPC2368.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/LPC2368.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/LPC2368.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/vector_functions.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/vector_functions.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/vector_functions.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/vector_functions.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/vector_table.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/vector_table.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/vector_table.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_MICRO/vector_table.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/LPC2368.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/LPC2368.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/LPC2368.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/LPC2368.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/vector_functions.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/vector_functions.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/vector_functions.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/vector_functions.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/vector_table.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/vector_table.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/vector_table.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_ARM_STD/vector_table.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/LPC2368.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/LPC2368.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/LPC2368.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/LPC2368.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_functions.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_functions.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_functions.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_functions.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_table.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_table.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_table.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_table.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/LPC2368.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/LPC2368.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/LPC2368.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/LPC2368.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_functions.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_functions.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_functions.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_functions.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_table.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_table.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_table.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_table.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/LPC2368.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/LPC2368.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/LPC2368.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/LPC2368.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/vector_functions.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/vector_functions.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/vector_functions.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/vector_functions.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/vector_table.S b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/vector_table.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/vector_table.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CS/vector_table.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/core_arm7.c b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/core_arm7.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/core_arm7.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/core_arm7.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/core_arm7.h b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/core_arm7.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/core_arm7.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/core_arm7.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/vector_defns.h b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/vector_defns.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/vector_defns.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/vector_defns.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/vector_realmonitor.c b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/vector_realmonitor.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/vector_realmonitor.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC23XX/vector_realmonitor.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/LPC24xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/LPC24xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/LPC24xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/LPC24xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/LPC2460.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/LPC2460.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/LPC2460.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/LPC2460.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/vector_functions.S b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/vector_functions.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/vector_functions.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/vector_functions.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/vector_table.S b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/vector_table.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/vector_table.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/TOOLCHAIN_GCC_ARM/vector_table.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/core_arm7.c b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/core_arm7.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/core_arm7.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/core_arm7.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/core_arm7.h b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/core_arm7.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/core_arm7.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/core_arm7.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/system_LPC24xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/system_LPC24xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/system_LPC24xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/system_LPC24xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/system_LPC24xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/system_LPC24xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/system_LPC24xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/system_LPC24xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_defns.h b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_defns.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_defns.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_defns.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_realmonitor.c b/targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_realmonitor.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_realmonitor.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_realmonitor.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/LPC407x_8x_177x_8x.h b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/LPC407x_8x_177x_8x.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/LPC407x_8x_177x_8x.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/LPC407x_8x_177x_8x.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/LPC407X_8X.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/LPC407X_8X.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/LPC407X_8X.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/LPC407X_8X.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/startup_LPC407x_8x_177x_8x.S b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/startup_LPC407x_8x_177x_8x.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/startup_LPC407x_8x_177x_8x.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/startup_LPC407x_8x_177x_8x.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.h b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_ARM/LPC4088.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_ARM/LPC4088.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_ARM/LPC4088.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_ARM/LPC4088.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_ARM/startup_LPC408x.S b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_ARM/startup_LPC408x.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_ARM/startup_LPC408x.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_ARM/startup_LPC408x.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_CR/LPC407x_8x.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_CR/LPC407x_8x.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_CR/LPC407x_8x.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_CR/LPC407x_8x.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_CR/startup_lpc407x_8x.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_CR/startup_lpc407x_8x.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_CR/startup_lpc407x_8x.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_GCC_CR/startup_lpc407x_8x.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/LPC4088.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/LPC4088.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/LPC4088.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/LPC4088.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/startup_LPC408x.S b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/startup_LPC408x.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/startup_LPC408x.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/startup_LPC408x.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/system_LPC407x_8x_177x_8x.c b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/system_LPC407x_8x_177x_8x.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/system_LPC407x_8x_177x_8x.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/system_LPC407x_8x_177x_8x.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/system_LPC407x_8x_177x_8x.h b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/system_LPC407x_8x_177x_8x.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC408X/system_LPC407x_8x_177x_8x.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC408X/system_LPC407x_8x_177x_8x.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/LPC43xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/LPC43xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/LPC43xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/LPC43xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4330/LPC43xx.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4330/LPC43xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4330/LPC43xx.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4330/LPC43xx.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4330/startup_LPC43xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4330/startup_LPC43xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4330/startup_LPC43xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4330/startup_LPC43xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4337/LPC4337.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4337/LPC4337.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4337/LPC4337.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4337/LPC4337.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4337/startup_LPC4337.S b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4337/startup_LPC4337.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4337/startup_LPC4337.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/TARGET_LPC4337/startup_LPC4337.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_ARM/LPC4330.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_ARM/LPC4330.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_ARM/LPC4330.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_ARM/LPC4330.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_ARM/startup_LPC43xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_ARM/startup_LPC43xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_ARM/startup_LPC43xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_ARM/startup_LPC43xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_CR/LPC43xx.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_CR/LPC43xx.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_CR/LPC43xx.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_CR/LPC43xx.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_CR/startup_LPC43xx.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_CR/startup_LPC43xx.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_CR/startup_LPC43xx.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_GCC_CR/startup_LPC43xx.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/LPC43xx.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/LPC43xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/LPC43xx.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/LPC43xx.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/startup_LPC43xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/startup_LPC43xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/startup_LPC43xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/startup_LPC43xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/LPC8xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/LPC8xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/LPC8xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/LPC8xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_ARM_MICRO/LPC812.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_ARM_MICRO/LPC812.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_ARM_MICRO/LPC812.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_ARM_MICRO/LPC812.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_GCC_ARM/LPC812.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_GCC_ARM/LPC812.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_GCC_ARM/LPC812.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_GCC_ARM/LPC812.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_IAR/LPC812.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_IAR/LPC812.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_IAR/LPC812.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_IAR/LPC812.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_IAR/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_IAR/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_IAR/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/TOOLCHAIN_IAR/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/system_LPC8xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/system_LPC8xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/system_LPC8xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_ELEKTOR_COCORICO/system_LPC8xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_ARM_MICRO/LPC810.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_ARM_MICRO/LPC810.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_ARM_MICRO/LPC810.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_ARM_MICRO/LPC810.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_GCC_ARM/LPC810.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_GCC_ARM/LPC810.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_GCC_ARM/LPC810.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_GCC_ARM/LPC810.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_IAR/LPC810.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_IAR/LPC810.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_IAR/LPC810.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_IAR/LPC810.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_IAR/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_IAR/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_IAR/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/TOOLCHAIN_IAR/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/system_LPC8xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/system_LPC8xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/system_LPC8xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC810/system_LPC8xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_ARM_MICRO/LPC812.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_ARM_MICRO/LPC812.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_ARM_MICRO/LPC812.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_ARM_MICRO/LPC812.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_GCC_ARM/LPC812.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_GCC_ARM/LPC812.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_GCC_ARM/LPC812.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_GCC_ARM/LPC812.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_IAR/LPC812.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_IAR/LPC812.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_IAR/LPC812.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_IAR/LPC812.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_IAR/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_IAR/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_IAR/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/TOOLCHAIN_IAR/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/system_LPC8xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/system_LPC8xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/system_LPC8xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TARGET_LPC812/system_LPC8xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TOOLCHAIN_GCC_ARM/startup_LPC81X.S b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TOOLCHAIN_GCC_ARM/startup_LPC81X.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/TOOLCHAIN_GCC_ARM/startup_LPC81X.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/TOOLCHAIN_GCC_ARM/startup_LPC81X.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h b/targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC81X/system_LPC8xx.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/LPC82x.h b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/LPC82x.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/LPC82x.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/LPC82x.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_ARM_MICRO/LPC824.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_ARM_MICRO/LPC824.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_ARM_MICRO/LPC824.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_ARM_MICRO/LPC824.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_ARM/LPC824.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_ARM/LPC824.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_ARM/LPC824.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_ARM/LPC824.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_ARM/startup_LPC824.S b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_ARM/startup_LPC824.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_ARM/startup_LPC824.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_ARM/startup_LPC824.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_CR/LPC824.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_CR/LPC824.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_CR/LPC824.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_CR/LPC824.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_CR/startup_LPC824_CR.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_CR/startup_LPC824_CR.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_CR/startup_LPC824_CR.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_GCC_CR/startup_LPC824_CR.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_IAR/LPC824.icf b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_IAR/LPC824.icf similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_IAR/LPC824.icf rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_IAR/LPC824.icf diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_IAR/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_IAR/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_IAR/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/TOOLCHAIN_IAR/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/system_LPC8xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/system_LPC8xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/system_LPC8xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_LPC824/system_LPC8xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_ARM_MICRO/LPC824.sct b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_ARM_MICRO/LPC824.sct similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_ARM_MICRO/LPC824.sct rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_ARM_MICRO/LPC824.sct diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_ARM_MICRO/startup_LPC8xx.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_GCC_ARM/LPC824.ld b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_GCC_ARM/LPC824.ld similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_GCC_ARM/LPC824.ld rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_GCC_ARM/LPC824.ld diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_GCC_ARM/startup_LPC824.S b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_GCC_ARM/startup_LPC824.S similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_GCC_ARM/startup_LPC824.S rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/TOOLCHAIN_GCC_ARM/startup_LPC824.S diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/system_LPC8xx.c b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/system_LPC8xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/system_LPC8xx.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TARGET_SSCI824/system_LPC8xx.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis.h b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis_nvic.c b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis_nvic.c rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis_nvic.h b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis_nvic.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/system_LPC82x.h b/targets/cmsis/TARGET_NXP/TARGET_LPC82X/system_LPC82x.h similarity index 100% rename from hal/targets/cmsis/TARGET_NXP/TARGET_LPC82X/system_LPC82x.h rename to targets/cmsis/TARGET_NXP/TARGET_LPC82X/system_LPC82x.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/MBRZA1H.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/MBRZA1H.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/MBRZA1H.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/MBRZA1H.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/RZ_A1_Init.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/RZ_A1_Init.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/RZ_A1_Init.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/RZ_A1_Init.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/RZ_A1_Init.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/RZ_A1_Init.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/RZ_A1_Init.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/RZ_A1_Init.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/MBRZA1H.sct b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/MBRZA1H.sct similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/MBRZA1H.sct rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/MBRZA1H.sct diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/startup_MBRZA1H.S b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/startup_MBRZA1H.S similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/startup_MBRZA1H.S rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_ARM_STD/startup_MBRZA1H.S diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/RZA1H.ld b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/RZA1H.ld similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/RZA1H.ld rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/RZA1H.ld diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/startup_RZ1AH.S b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/startup_RZ1AH.S similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/startup_RZ1AH.S rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/startup_RZ1AH.S diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/startup_RZA1H.s b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/startup_RZA1H.s similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/startup_RZA1H.s rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/startup_RZA1H.s diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis_nvic.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis_nvic.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis_nvic.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis_nvic.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/dev_drv.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/dev_drv.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/dev_drv.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/dev_drv.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/gic.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/gic.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/gic.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/gic.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/gic.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/gic.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/gic.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/gic.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/bsc_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/bsc_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/bsc_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/bsc_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/cpg_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/cpg_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/cpg_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/cpg_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/dmac_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/dmac_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/dmac_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/dmac_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/gpio_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/gpio_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/gpio_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/gpio_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/intc_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/intc_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/intc_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/intc_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/ostm_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/ostm_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/ostm_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/ostm_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/riic_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/riic_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/riic_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/riic_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/rspi_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/rspi_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/rspi_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/rspi_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/scif_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/scif_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/scif_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/scif_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/usb_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/usb_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/usb_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iobitmasks/usb_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/adc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/adc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/adc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/adc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/bsc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/bsc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/bsc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/bsc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ceu_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ceu_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ceu_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ceu_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/cpg_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/cpg_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/cpg_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/cpg_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/disc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/disc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/disc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/disc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/dmac_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/dmac_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/dmac_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/dmac_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/dvdec_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/dvdec_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/dvdec_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/dvdec_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ether_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ether_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ether_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ether_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/flctl_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/flctl_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/flctl_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/flctl_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/gpio_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/gpio_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/gpio_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/gpio_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ieb_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ieb_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ieb_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ieb_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/inb_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/inb_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/inb_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/inb_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/intc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/intc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/intc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/intc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/irda_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/irda_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/irda_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/irda_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/jcu_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/jcu_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/jcu_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/jcu_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/l2c_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/l2c_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/l2c_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/l2c_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/lin_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/lin_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/lin_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/lin_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/lvds_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/lvds_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/lvds_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/lvds_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mlb_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mlb_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mlb_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mlb_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mmc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mmc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mmc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mmc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mtu2_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mtu2_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mtu2_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/mtu2_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ostm_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ostm_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ostm_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ostm_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/pfv_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/pfv_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/pfv_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/pfv_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/pwm_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/pwm_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/pwm_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/pwm_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/riic_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/riic_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/riic_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/riic_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/romdec_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/romdec_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/romdec_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/romdec_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rscan0_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rscan0_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rscan0_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rscan0_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rspi_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rspi_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rspi_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rspi_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rtc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rtc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rtc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/rtc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scif_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scif_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scif_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scif_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scim_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scim_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scim_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scim_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scux_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scux_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scux_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/scux_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/sdg_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/sdg_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/sdg_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/sdg_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/spdif_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/spdif_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/spdif_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/spdif_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/spibsc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/spibsc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/spibsc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/spibsc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ssif_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ssif_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ssif_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/ssif_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/usb20_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/usb20_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/usb20_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/usb20_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/vdc5_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/vdc5_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/vdc5_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/vdc5_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/wdt_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/wdt_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/wdt_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/iodefines/wdt_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/reg32_t.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/reg32_t.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/reg32_t.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/reg32_t.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/rza_io_regrw.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/rza_io_regrw.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/rza_io_regrw.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/inc/rza_io_regrw.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mbed_sf_boot.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mbed_sf_boot.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mbed_sf_boot.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mbed_sf_boot.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mmu_Renesas_RZ_A1.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mmu_Renesas_RZ_A1.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mmu_Renesas_RZ_A1.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/mmu_Renesas_RZ_A1.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/nvic_wrapper.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/nvic_wrapper.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/nvic_wrapper.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/nvic_wrapper.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/nvic_wrapper.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/nvic_wrapper.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/nvic_wrapper.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/nvic_wrapper.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/pl310.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/pl310.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/pl310.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/pl310.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/pl310.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/pl310.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/pl310.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/pl310.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/r_typedefs.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/r_typedefs.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/r_typedefs.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/r_typedefs.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/rza_io_regrw.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/rza_io_regrw.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/rza_io_regrw.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/rza_io_regrw.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/system_MBRZA1H.c b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/system_MBRZA1H.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/system_MBRZA1H.c rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/system_MBRZA1H.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/system_MBRZA1H.h b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/system_MBRZA1H.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/system_MBRZA1H.h rename to targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/system_MBRZA1H.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/RZ_A1_Init.c b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/RZ_A1_Init.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/RZ_A1_Init.c rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/RZ_A1_Init.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/RZ_A1_Init.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/RZ_A1_Init.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/RZ_A1_Init.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/RZ_A1_Init.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_ARM_STD/VKRZA1H.sct b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_ARM_STD/VKRZA1H.sct similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_ARM_STD/VKRZA1H.sct rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_ARM_STD/VKRZA1H.sct diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_ARM_STD/startup_VKRZA1H.S b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_ARM_STD/startup_VKRZA1H.S similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_ARM_STD/startup_VKRZA1H.S rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_ARM_STD/startup_VKRZA1H.S diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_GCC_ARM/VKRZA1H.ld b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_GCC_ARM/VKRZA1H.ld similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_GCC_ARM/VKRZA1H.ld rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_GCC_ARM/VKRZA1H.ld diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_GCC_ARM/startup_VKRZ1AH.S b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_GCC_ARM/startup_VKRZ1AH.S similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_GCC_ARM/startup_VKRZ1AH.S rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_GCC_ARM/startup_VKRZ1AH.S diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/VKRZA1H.icf b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/VKRZA1H.icf similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/VKRZA1H.icf rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/VKRZA1H.icf diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/startup_VKRZA1H.s b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/startup_VKRZA1H.s similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/startup_VKRZA1H.s rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/TOOLCHAIN_IAR/startup_VKRZA1H.s diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/VKRZA1H.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/VKRZA1H.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/VKRZA1H.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/VKRZA1H.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis_nvic.c b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis_nvic.c rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis_nvic.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis_nvic.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/dev_drv.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/dev_drv.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/dev_drv.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/dev_drv.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/gic.c b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/gic.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/gic.c rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/gic.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/gic.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/gic.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/gic.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/gic.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/bsc_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/bsc_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/bsc_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/bsc_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/cpg_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/cpg_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/cpg_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/cpg_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/dmac_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/dmac_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/dmac_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/dmac_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/gpio_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/gpio_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/gpio_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/gpio_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/intc_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/intc_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/intc_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/intc_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/mtu2_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/ostm_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/ostm_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/ostm_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/ostm_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/riic_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/riic_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/riic_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/riic_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/rspi_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/rspi_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/rspi_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/rspi_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/scif_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/scif_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/scif_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/scif_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/usb_iobitmask.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/usb_iobitmask.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/usb_iobitmask.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iobitmasks/usb_iobitmask.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/adc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/adc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/adc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/adc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/bsc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/bsc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/bsc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/bsc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ceu_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ceu_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ceu_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ceu_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/cpg_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/cpg_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/cpg_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/cpg_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/disc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/disc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/disc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/disc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/dmac_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/dmac_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/dmac_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/dmac_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/dvdec_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/dvdec_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/dvdec_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/dvdec_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ether_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ether_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ether_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ether_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/flctl_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/flctl_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/flctl_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/flctl_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/gpio_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/gpio_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/gpio_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/gpio_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ieb_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ieb_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ieb_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ieb_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/inb_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/inb_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/inb_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/inb_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/intc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/intc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/intc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/intc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/irda_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/irda_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/irda_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/irda_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/jcu_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/jcu_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/jcu_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/jcu_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/l2c_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/l2c_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/l2c_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/l2c_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/lin_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/lin_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/lin_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/lin_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/lvds_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/lvds_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/lvds_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/lvds_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mlb_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mlb_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mlb_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mlb_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mmc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mmc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mmc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mmc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mtu2_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mtu2_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mtu2_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/mtu2_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ostm_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ostm_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ostm_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ostm_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/pfv_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/pfv_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/pfv_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/pfv_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/pwm_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/pwm_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/pwm_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/pwm_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/riic_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/riic_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/riic_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/riic_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/romdec_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/romdec_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/romdec_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/romdec_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rscan0_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rscan0_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rscan0_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rscan0_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rspi_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rspi_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rspi_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rspi_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rtc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rtc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rtc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/rtc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scif_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scif_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scif_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scif_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scim_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scim_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scim_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scim_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scux_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scux_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scux_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/scux_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/sdg_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/sdg_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/sdg_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/sdg_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/spdif_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/spdif_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/spdif_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/spdif_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/spibsc_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/spibsc_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/spibsc_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/spibsc_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ssif_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ssif_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ssif_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/ssif_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/usb20_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/usb20_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/usb20_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/usb20_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/vdc5_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/vdc5_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/vdc5_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/vdc5_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/wdt_iodefine.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/wdt_iodefine.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/wdt_iodefine.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/iodefines/wdt_iodefine.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/reg32_t.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/reg32_t.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/reg32_t.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/reg32_t.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/rza_io_regrw.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/rza_io_regrw.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/rza_io_regrw.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/inc/rza_io_regrw.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/mmu_Renesas_RZ_A1.c b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/mmu_Renesas_RZ_A1.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/mmu_Renesas_RZ_A1.c rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/mmu_Renesas_RZ_A1.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/nvic_wrapper.c b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/nvic_wrapper.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/nvic_wrapper.c rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/nvic_wrapper.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/nvic_wrapper.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/nvic_wrapper.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/nvic_wrapper.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/nvic_wrapper.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/pl310.c b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/pl310.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/pl310.c rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/pl310.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/pl310.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/pl310.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/pl310.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/pl310.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/r_typedefs.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/r_typedefs.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/r_typedefs.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/r_typedefs.h diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/rza_io_regrw.c b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/rza_io_regrw.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/rza_io_regrw.c rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/rza_io_regrw.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/system_VKRZA1H.c b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/system_VKRZA1H.c similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/system_VKRZA1H.c rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/system_VKRZA1H.c diff --git a/hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/system_VKRZA1H.h b/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/system_VKRZA1H.h similarity index 100% rename from hal/targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/system_VKRZA1H.h rename to targets/cmsis/TARGET_RENESAS/TARGET_VK_RZ_A1H/system_VKRZA1H.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/Release_Notes_stm32f0xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32F0/Release_Notes_stm32f0xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/Release_Notes_stm32f0xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/Release_Notes_stm32f0xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_MICRO/startup_stm32f051x8.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_MICRO/startup_stm32f051x8.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_MICRO/startup_stm32f051x8.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_MICRO/startup_stm32f051x8.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/startup_stm32f051x8.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/startup_stm32f051x8.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/startup_stm32f051x8.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/startup_stm32f051x8.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/stm32f0xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/stm32f0xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/stm32f0xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/stm32f0xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_GCC_ARM/STM32F0xx.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_GCC_ARM/STM32F0xx.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_GCC_ARM/STM32F0xx.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_GCC_ARM/STM32F0xx.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_GCC_ARM/startup_stm32f051x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_GCC_ARM/startup_stm32f051x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_GCC_ARM/startup_stm32f051x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/TOOLCHAIN_GCC_ARM/startup_stm32f051x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/stm32f051x8.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/stm32f051x8.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/stm32f051x8.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/stm32f051x8.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_DISCO_F051R8/system_stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/startup_stm32f030x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/startup_stm32f030x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/startup_stm32f030x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/startup_stm32f030x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/startup_stm32f030x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/startup_stm32f030x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/startup_stm32f030x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/startup_stm32f030x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/stm32f0xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/stm32f0xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/stm32f0xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/stm32f0xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/STM32F030X8.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/STM32F030X8.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/STM32F030X8.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/STM32F030X8.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/startup_stm32f030x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/startup_stm32f030x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/startup_stm32f030x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_GCC_ARM/startup_stm32f030x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_IAR/startup_stm32f030x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_IAR/startup_stm32f030x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_IAR/startup_stm32f030x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_IAR/startup_stm32f030x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_IAR/stm32f030x8.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_IAR/stm32f030x8.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_IAR/stm32f030x8.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/TOOLCHAIN_IAR/stm32f030x8.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/stm32f030x8.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/stm32f030x8.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/stm32f030x8.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/stm32f030x8.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F030R8/system_stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_MICRO/startup_stm32f031x6.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_MICRO/startup_stm32f031x6.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_MICRO/startup_stm32f031x6.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_MICRO/startup_stm32f031x6.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/startup_stm32f031x6.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/startup_stm32f031x6.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/startup_stm32f031x6.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/startup_stm32f031x6.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/stm32f0xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/stm32f0xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/stm32f0xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/stm32f0xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_GCC_ARM/STM32F031X6.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_GCC_ARM/STM32F031X6.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_GCC_ARM/STM32F031X6.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_GCC_ARM/STM32F031X6.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_GCC_ARM/startup_stm32f031x6.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_GCC_ARM/startup_stm32f031x6.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_GCC_ARM/startup_stm32f031x6.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_GCC_ARM/startup_stm32f031x6.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/startup_stm32f031x6.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/startup_stm32f031x6.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/startup_stm32f031x6.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/startup_stm32f031x6.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/stm32f031x6.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/stm32f031x6.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/stm32f031x6.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/stm32f031x6.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/stm32f031x6.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/stm32f031x6.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/stm32f031x6.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/stm32f031x6.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/system_stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/startup_stm32f042x6.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/startup_stm32f042x6.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/startup_stm32f042x6.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/startup_stm32f042x6.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_MICRO/stm32f0xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/startup_stm32f042x6.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/startup_stm32f042x6.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/startup_stm32f042x6.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/startup_stm32f042x6.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/stm32f0xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/stm32f0xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/stm32f0xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/stm32f0xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_GCC_ARM/STM32F042X6.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_GCC_ARM/STM32F042X6.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_GCC_ARM/STM32F042X6.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_GCC_ARM/STM32F042X6.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_GCC_ARM/startup_stm32f042x6.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_GCC_ARM/startup_stm32f042x6.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_GCC_ARM/startup_stm32f042x6.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_GCC_ARM/startup_stm32f042x6.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_IAR/startup_stm32f042x6.s b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_IAR/startup_stm32f042x6.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_IAR/startup_stm32f042x6.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_IAR/startup_stm32f042x6.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_IAR/stm32f042x6.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_IAR/stm32f042x6.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_IAR/stm32f042x6.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/TOOLCHAIN_IAR/stm32f042x6.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/stm32f042x6.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/stm32f042x6.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/stm32f042x6.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/stm32f042x6.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F042K6/system_stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_MICRO/startup_stm32f070xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_MICRO/startup_stm32f070xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_MICRO/startup_stm32f070xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_MICRO/startup_stm32f070xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_MICRO/stm32f070xb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_MICRO/stm32f070xb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_MICRO/stm32f070xb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_MICRO/stm32f070xb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/startup_stm32f070xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/startup_stm32f070xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/startup_stm32f070xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/startup_stm32f070xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/stm32f070xb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/stm32f070xb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/stm32f070xb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/stm32f070xb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_GCC_ARM/STM32F070XB.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_GCC_ARM/STM32F070XB.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_GCC_ARM/STM32F070XB.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_GCC_ARM/STM32F070XB.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_GCC_ARM/startup_stm32f070xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_GCC_ARM/startup_stm32f070xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_GCC_ARM/startup_stm32f070xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_GCC_ARM/startup_stm32f070xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/startup_stm32f070xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/startup_stm32f070xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/startup_stm32f070xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/startup_stm32f070xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/stm32f070xb.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/stm32f070xb.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/stm32f070xb.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/stm32f070xb.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/stm32f070xb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/stm32f070xb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/stm32f070xb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/stm32f070xb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F070RB/system_stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/startup_stm32f072xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/startup_stm32f072xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/startup_stm32f072xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/startup_stm32f072xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/stm32f072rb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/stm32f072rb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/stm32f072rb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_MICRO/stm32f072rb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/startup_stm32f072xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/startup_stm32f072xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/startup_stm32f072xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/startup_stm32f072xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/stm32f072rb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/stm32f072rb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/stm32f072rb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/stm32f072rb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_GCC_ARM/STM32F072XB.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_GCC_ARM/STM32F072XB.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_GCC_ARM/STM32F072XB.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_GCC_ARM/STM32F072XB.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_GCC_ARM/startup_stm32f072xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_GCC_ARM/startup_stm32f072xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_GCC_ARM/startup_stm32f072xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_GCC_ARM/startup_stm32f072xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_IAR/startup_stm32f072xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_IAR/startup_stm32f072xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_IAR/startup_stm32f072xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_IAR/startup_stm32f072xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_IAR/stm32f072xb.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_IAR/stm32f072xb.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_IAR/stm32f072xb.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/TOOLCHAIN_IAR/stm32f072xb.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/stm32f072xb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/stm32f072xb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/stm32f072xb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/stm32f072xb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/startup_stm32f091rc.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/startup_stm32f091rc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/startup_stm32f091rc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/startup_stm32f091rc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/stm32f091rc.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/stm32f091rc.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/stm32f091rc.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_MICRO/stm32f091rc.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/startup_stm32f091rc.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/startup_stm32f091rc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/startup_stm32f091rc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/startup_stm32f091rc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/stm32f091rc.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/stm32f091rc.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/stm32f091rc.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/stm32f091rc.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_GCC_ARM/STM32F091XC.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_GCC_ARM/STM32F091XC.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_GCC_ARM/STM32F091XC.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_GCC_ARM/STM32F091XC.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_GCC_ARM/startup_stm32f091xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_GCC_ARM/startup_stm32f091xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_GCC_ARM/startup_stm32f091xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_GCC_ARM/startup_stm32f091xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_IAR/startup_stm32f091xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_IAR/startup_stm32f091xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_IAR/startup_stm32f091xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_IAR/startup_stm32f091xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_IAR/stm32f091xc.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_IAR/stm32f091xc.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_IAR/stm32f091xc.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/TOOLCHAIN_IAR/stm32f091xc.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/stm32f091xc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/stm32f091xc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/stm32f091xc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/stm32f091xc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F091RC/system_stm32f0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_can.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_can.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_can.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_can.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_can.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_can.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_can.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_can.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cec.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cec.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cec.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cec.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cec.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cec.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cec.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cec.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_comp.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_comp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_comp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_comp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_comp.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_comp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_comp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_comp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_crc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_dma_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2c_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2s.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2s.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2s.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2s.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2s.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_i2s.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_irda_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_pwr_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smartcard_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smbus.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smbus.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smbus.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smbus.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smbus.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smbus.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smbus.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_smbus.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_spi_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tsc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tsc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tsc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tsc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tsc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tsc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tsc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_tsc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_uart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_usart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F0/stm32f0xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/Release_Notes_stm32f1xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32F1/Release_Notes_stm32f1xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/Release_Notes_stm32f1xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/Release_Notes_stm32f1xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/TOOLCHAIN_GCC_ARM/STM32F103XB.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/TOOLCHAIN_GCC_ARM/STM32F103XB.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/TOOLCHAIN_GCC_ARM/STM32F103XB.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/TOOLCHAIN_GCC_ARM/STM32F103XB.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/stm32f103xb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/stm32f103xb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/stm32f103xb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/stm32f103xb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/stm32f1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/stm32f1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/stm32f1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/stm32f1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/system_stm32f1xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/system_stm32f1xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/system_stm32f1xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/system_stm32f1xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/system_stm32f1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/system_stm32f1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/system_stm32f1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/system_stm32f1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_MICRO/startup_stm32f100xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_MICRO/startup_stm32f100xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_MICRO/startup_stm32f100xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_MICRO/startup_stm32f100xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_MICRO/stm32f100xb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_MICRO/stm32f100xb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_MICRO/stm32f100xb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_MICRO/stm32f100xb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/startup_stm32f100xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/startup_stm32f100xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/startup_stm32f100xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/startup_stm32f100xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/stm32f100xb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/stm32f100xb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/stm32f100xb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/stm32f100xb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_GCC_ARM/STM32F100.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_GCC_ARM/STM32F100.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_GCC_ARM/STM32F100.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_GCC_ARM/STM32F100.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_GCC_ARM/startup_stm32f100xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_GCC_ARM/startup_stm32f100xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_GCC_ARM/startup_stm32f100xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/TOOLCHAIN_GCC_ARM/startup_stm32f100xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f100xb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f100xb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f100xb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f100xb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/startup_stm32f103xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/startup_stm32f103xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/startup_stm32f103xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/startup_stm32f103xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/stm32f103xb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/stm32f103xb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/stm32f103xb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_MICRO/stm32f103xb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/startup_stm32f103xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/startup_stm32f103xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/startup_stm32f103xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/startup_stm32f103xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/stm32f103xb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/stm32f103xb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/stm32f103xb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/stm32f103xb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/STM32F103XB.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/STM32F103XB.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/STM32F103XB.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/STM32F103XB.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/startup_stm32f103xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_IAR/startup_stm32f103xb.S b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_IAR/startup_stm32f103xb.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_IAR/startup_stm32f103xb.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_IAR/startup_stm32f103xb.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_IAR/stm32f103xb.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_IAR/stm32f103xb.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_IAR/stm32f103xb.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/TOOLCHAIN_IAR/stm32f103xb.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/stm32f103xb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/stm32f103xb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/stm32f103xb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/stm32f103xb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/stm32f1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/stm32f1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/stm32f1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/stm32f1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/system_stm32f1xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/system_stm32f1xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/system_stm32f1xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/system_stm32f1xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/system_stm32f1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/system_stm32f1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/system_stm32f1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/system_stm32f1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_can_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cec.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cec.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cec.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cec.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cec.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cec.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cec.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cec.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_dma_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_eth.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_eth.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_eth.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_eth.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_eth.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_eth.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_eth.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_eth.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_hcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_hcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_hcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_hcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_hcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_hcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_hcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_hcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2s.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2s.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2s.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2s.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2s.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_i2s.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nand.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nand.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nand.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nand.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nand.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nand.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nand.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nand.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nor.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nor.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nor.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nor.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nor.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nor.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nor.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_nor.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pccard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pccard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pccard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pccard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pccard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pccard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pccard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pccard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_spi_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sram.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sram.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_sram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_fsmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_fsmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_fsmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_fsmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_fsmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_fsmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_fsmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_fsmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_sdmmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_sdmmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_sdmmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_sdmmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_sdmmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_sdmmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_sdmmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_sdmmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_usb.c b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_usb.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_usb.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_usb.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_usb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_usb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F1/stm32f1xx_ll_usb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/Release_Notes_stm32f2xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32F2/Release_Notes_stm32f2xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/Release_Notes_stm32f2xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/Release_Notes_stm32f2xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_MICRO/startup_stm32f207xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_MICRO/startup_stm32f207xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_MICRO/startup_stm32f207xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_MICRO/startup_stm32f207xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_MICRO/stm32f207xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_MICRO/stm32f207xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_MICRO/stm32f207xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_MICRO/stm32f207xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/startup_stm32f207xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/startup_stm32f207xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/startup_stm32f207xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/startup_stm32f207xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/stm32f207xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/stm32f207xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/stm32f207xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/stm32f207xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_GCC_ARM/STM32F207ZGTx_FLASH.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_GCC_ARM/STM32F207ZGTx_FLASH.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_GCC_ARM/STM32F207ZGTx_FLASH.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_GCC_ARM/STM32F207ZGTx_FLASH.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_GCC_ARM/startup_stm32f207xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_GCC_ARM/startup_stm32f207xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_GCC_ARM/startup_stm32f207xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_GCC_ARM/startup_stm32f207xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/startup_stm32f207xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/startup_stm32f207xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/startup_stm32f207xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/startup_stm32f207xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/stm32f207xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/stm32f207xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/stm32f207xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/TOOLCHAIN_IAR/stm32f207xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f207xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f207xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f207xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f207xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f2xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f2xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f2xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f2xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/system_stm32f2xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/system_stm32f2xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/system_stm32f2xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/system_stm32f2xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/system_stm32f2xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/system_stm32f2xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/system_stm32f2xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/system_stm32f2xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_can.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_can.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_can.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_can.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_can.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_can.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_can.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_can.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cryp.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cryp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cryp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cryp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cryp.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cryp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cryp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_cryp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dcmi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dcmi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dcmi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dcmi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dcmi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dcmi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dcmi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dcmi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_dma_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_eth.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_eth.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_eth.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_eth.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_eth.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_eth.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_eth.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_eth.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_hcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2s.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2s.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2s.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2s.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2s.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_i2s.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nand.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nand.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nand.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nand.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nand.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nand.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nand.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nand.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nor.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nor.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nor.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nor.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nor.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nor.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nor.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_nor.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pccard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pccard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pccard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pccard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pccard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pccard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pccard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pccard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_pwr_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rng.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rng.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rng.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rng.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rng.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rng.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rng.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rng.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sram.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sram.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_sram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_fsmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_fsmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_fsmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_fsmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_fsmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_fsmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_fsmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_fsmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_sdmmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_sdmmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_sdmmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_sdmmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_sdmmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_sdmmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_sdmmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_sdmmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_usb.c b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_usb.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_usb.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_usb.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_usb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_usb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F2/stm32f2xx_ll_usb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/Release_Notes_stm32f3xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32F3/Release_Notes_stm32f3xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/Release_Notes_stm32f3xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/Release_Notes_stm32f3xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_MICRO/startup_stm32f303xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_MICRO/startup_stm32f303xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_MICRO/startup_stm32f303xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_MICRO/startup_stm32f303xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_MICRO/stm32f303xc.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_MICRO/stm32f303xc.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_MICRO/stm32f303xc.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_MICRO/stm32f303xc.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/startup_stm32f303xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/startup_stm32f303xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/startup_stm32f303xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/startup_stm32f303xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/stm32f303xc.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/stm32f303xc.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/stm32f303xc.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/stm32f303xc.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_GCC_ARM/STM32F303XC.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_GCC_ARM/STM32F303XC.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_GCC_ARM/STM32F303XC.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_GCC_ARM/STM32F303XC.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_GCC_ARM/startup_stm32f303xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_GCC_ARM/startup_stm32f303xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_GCC_ARM/startup_stm32f303xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/TOOLCHAIN_GCC_ARM/startup_stm32f303xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/stm32f303xc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/stm32f303xc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/stm32f303xc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/stm32f303xc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/system_stm32f3xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/system_stm32f3xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/system_stm32f3xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/system_stm32f3xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/system_stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/system_stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/system_stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F303VC/system_stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_MICRO/startup_stm32f334x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_MICRO/startup_stm32f334x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_MICRO/startup_stm32f334x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_MICRO/startup_stm32f334x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_MICRO/stm32f334x8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_MICRO/stm32f334x8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_MICRO/stm32f334x8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_MICRO/stm32f334x8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/startup_stm32f334x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/startup_stm32f334x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/startup_stm32f334x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/startup_stm32f334x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/stm32f334x8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/stm32f334x8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/stm32f334x8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/stm32f334x8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_GCC_ARM/STM32F334X8.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_GCC_ARM/STM32F334X8.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_GCC_ARM/STM32F334X8.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_GCC_ARM/STM32F334X8.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_GCC_ARM/startup_stm32f334x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_GCC_ARM/startup_stm32f334x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_GCC_ARM/startup_stm32f334x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_GCC_ARM/startup_stm32f334x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_IAR/startup_stm32f334x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_IAR/startup_stm32f334x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_IAR/startup_stm32f334x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_IAR/startup_stm32f334x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_IAR/stm32f334x8.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_IAR/stm32f334x8.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_IAR/stm32f334x8.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/TOOLCHAIN_IAR/stm32f334x8.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/stm32f334x8.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/stm32f334x8.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/stm32f334x8.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/stm32f334x8.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/system_stm32f3xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/system_stm32f3xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/system_stm32f3xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/system_stm32f3xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/system_stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/system_stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/system_stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_DISCO_F334C8/system_stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_MICRO/stm32f302x8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/stm32f302x8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/stm32f302x8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/stm32f302x8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/stm32f302x8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_GCC_ARM/STM32F302X8.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_GCC_ARM/STM32F302X8.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_GCC_ARM/STM32F302X8.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_GCC_ARM/STM32F302X8.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/startup_stm32f302x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/startup_stm32f302x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/startup_stm32f302x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/startup_stm32f302x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/stm32f302x8.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/stm32f302x8.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/stm32f302x8.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/stm32f302x8.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/stm32f302x8.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/stm32f302x8.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/stm32f302x8.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/stm32f302x8.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/system_stm32f3xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/system_stm32f3xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/system_stm32f3xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/system_stm32f3xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/system_stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/system_stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/system_stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F302R8/system_stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_MICRO/startup_stm32f303x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_MICRO/stm32f303x8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/startup_stm32f303x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/stm32f303x8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/stm32f303x8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/stm32f303x8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/stm32f303x8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_GCC_ARM/STM32F303X8.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_GCC_ARM/STM32F303X8.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_GCC_ARM/STM32F303X8.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_GCC_ARM/STM32F303X8.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_GCC_ARM/startup_stm32f303x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_IAR/startup_stm32f303x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_IAR/startup_stm32f303x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_IAR/startup_stm32f303x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_IAR/startup_stm32f303x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_IAR/stm32f303x8.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_IAR/stm32f303x8.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_IAR/stm32f303x8.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/TOOLCHAIN_IAR/stm32f303x8.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/stm32f303x8.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/stm32f303x8.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/stm32f303x8.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/stm32f303x8.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/system_stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/startup_stm32f303xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/startup_stm32f303xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/startup_stm32f303xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/startup_stm32f303xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/stm32f303xe.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/stm32f303xe.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/stm32f303xe.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_MICRO/stm32f303xe.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/startup_stm32f303xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/startup_stm32f303xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/startup_stm32f303xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/startup_stm32f303xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/stm32f303xe.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/stm32f303xe.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/stm32f303xe.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/stm32f303xe.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_GCC_ARM/STM32F303XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_GCC_ARM/STM32F303XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_GCC_ARM/STM32F303XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_GCC_ARM/STM32F303XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_GCC_ARM/startup_stm32f303xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_GCC_ARM/startup_stm32f303xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_GCC_ARM/startup_stm32f303xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_GCC_ARM/startup_stm32f303xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_IAR/startup_stm32f303xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_IAR/startup_stm32f303xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_IAR/startup_stm32f303xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_IAR/startup_stm32f303xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_IAR/stm32f303xe.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_IAR/stm32f303xe.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_IAR/stm32f303xe.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/TOOLCHAIN_IAR/stm32f303xe.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/stm32f303xe.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/stm32f303xe.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/stm32f303xe.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/stm32f303xe.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/system_stm32f3xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/system_stm32f3xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/system_stm32f3xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/system_stm32f3xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/system_stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/system_stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/system_stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303RE/system_stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_MICRO/startup_stm32f334x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_MICRO/startup_stm32f334x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_MICRO/startup_stm32f334x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_MICRO/startup_stm32f334x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_MICRO/stm32f334r8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_MICRO/stm32f334r8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_MICRO/stm32f334r8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_MICRO/stm32f334r8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/startup_stm32f334x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/startup_stm32f334x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/startup_stm32f334x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/startup_stm32f334x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/stm32f334r8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/stm32f334r8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/stm32f334r8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/stm32f334r8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_GCC_ARM/STM32F334x8.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_GCC_ARM/STM32F334x8.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_GCC_ARM/STM32F334x8.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_GCC_ARM/STM32F334x8.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_GCC_ARM/startup_stm32f334x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_GCC_ARM/startup_stm32f334x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_GCC_ARM/startup_stm32f334x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_GCC_ARM/startup_stm32f334x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/startup_stm32f334x8.S b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/startup_stm32f334x8.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/startup_stm32f334x8.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/startup_stm32f334x8.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/stm32f334x8.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/stm32f334x8.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/stm32f334x8.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/stm32f334x8.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/stm32f334x8.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/stm32f334x8.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/stm32f334x8.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/stm32f334x8.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/system_stm32f3xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/system_stm32f3xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/system_stm32f3xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/system_stm32f3xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/system_stm32f3xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/system_stm32f3xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/system_stm32f3xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/system_stm32f3xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_can.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_can.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_can.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_can.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_can.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_can.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_can.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_can.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cec.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cec.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cec.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cec.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cec.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cec.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cec.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cec.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_comp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_crc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_dma_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_hrtim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_hrtim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_hrtim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_hrtim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_hrtim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_hrtim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_hrtim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_hrtim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2c_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_i2s_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_irda_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nand.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nand.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nand.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nand.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nand.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nand.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nand.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nand.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nor.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nor.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nor.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nor.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nor.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nor.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nor.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_nor.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_opamp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pccard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pccard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pccard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pccard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pccard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pccard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pccard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pccard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_pwr_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sdadc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sdadc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sdadc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sdadc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sdadc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sdadc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sdadc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sdadc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smartcard_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smbus.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smbus.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smbus.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smbus.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smbus.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smbus.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smbus.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_smbus.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_spi_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sram.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sram.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_sram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tsc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tsc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tsc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tsc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tsc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tsc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tsc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_tsc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_uart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_usart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_ll_fmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_ll_fmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_ll_fmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_ll_fmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_ll_fmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_ll_fmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_ll_fmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F3/stm32f3xx_ll_fmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/Release_Notes_stm32f4xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32F4/Release_Notes_stm32f4xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/Release_Notes_stm32f4xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/Release_Notes_stm32f4xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/stm32f446xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/stm32f446xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/stm32f446xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/stm32f446xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_IAR/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_IAR/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_IAR/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_IAR/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_IAR/stm32f446xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_IAR/stm32f446xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_IAR/stm32f446xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/TOOLCHAIN_IAR/stm32f446xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f446xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f446xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f446xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f446xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_B96B_F446VE/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/TOOLCHAIN_GCC_ARM/STM32F401XC.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/TOOLCHAIN_GCC_ARM/STM32F401XC.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/TOOLCHAIN_GCC_ARM/STM32F401XC.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/TOOLCHAIN_GCC_ARM/STM32F401XC.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/TOOLCHAIN_GCC_ARM/startup_stm32f401xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/TOOLCHAIN_GCC_ARM/startup_stm32f401xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/TOOLCHAIN_GCC_ARM/startup_stm32f401xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/TOOLCHAIN_GCC_ARM/startup_stm32f401xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f401xc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f401xc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f401xc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f401xc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f429xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f429xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f429xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f429xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_MICRO/stm32f429xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_MICRO/stm32f429xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_MICRO/stm32f429xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_MICRO/stm32f429xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/startup_stm32f429xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/startup_stm32f429xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/startup_stm32f429xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/startup_stm32f429xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/stm32f429xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/stm32f429xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/stm32f429xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/stm32f429xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_GCC_ARM/STM32F429ZI.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_GCC_ARM/STM32F429ZI.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_GCC_ARM/STM32F429ZI.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_GCC_ARM/STM32F429ZI.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_IAR/startup_stm32f429xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_IAR/startup_stm32f429xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_IAR/startup_stm32f429xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_IAR/startup_stm32f429xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_IAR/stm32f429xx_flash.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_IAR/stm32f429xx_flash.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_IAR/stm32f429xx_flash.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/TOOLCHAIN_IAR/stm32f429xx_flash.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f429xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f429xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f429xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f429xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F429ZI/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_MICRO/startup_stm32f469xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_MICRO/startup_stm32f469xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_MICRO/startup_stm32f469xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_MICRO/startup_stm32f469xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_MICRO/stm32f469xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_MICRO/stm32f469xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_MICRO/stm32f469xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_MICRO/stm32f469xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/startup_stm32f469xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/startup_stm32f469xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/startup_stm32f469xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/startup_stm32f469xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/stm32f469xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/stm32f469xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/stm32f469xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/stm32f469xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_GCC_ARM/STM32F469XI.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_GCC_ARM/STM32F469XI.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_GCC_ARM/STM32F469XI.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_GCC_ARM/STM32F469XI.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_GCC_ARM/startup_stm32f469xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_GCC_ARM/startup_stm32f469xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_GCC_ARM/startup_stm32f469xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_GCC_ARM/startup_stm32f469xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_IAR/startup_stm32f469xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_IAR/startup_stm32f469xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_IAR/startup_stm32f469xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_IAR/startup_stm32f469xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_IAR/stm32f469xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_IAR/stm32f469xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_IAR/stm32f469xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/TOOLCHAIN_IAR/stm32f469xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f469xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f469xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f469xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f469xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F469NI/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f411xe.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f411xe.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f411xe.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f411xe.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_ELMO_F411RE/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_GCC_ARM/NUCLEO_F411RE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_GCC_ARM/NUCLEO_F411RE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_GCC_ARM/NUCLEO_F411RE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_GCC_ARM/NUCLEO_F411RE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_GCC_ARM/startup_STM32F41x.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_GCC_ARM/startup_STM32F41x.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_GCC_ARM/startup_STM32F41x.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_GCC_ARM/startup_STM32F41x.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f411xe.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f411xe.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f411xe.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f411xe.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_DRAGONFLY_F411RE/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_MICRO/startup_stm32f405xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_MICRO/startup_stm32f405xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_MICRO/startup_stm32f405xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_MICRO/startup_stm32f405xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_MICRO/stm32f405xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_MICRO/stm32f405xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_MICRO/stm32f405xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_MICRO/stm32f405xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/startup_stm32f405xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/startup_stm32f405xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/startup_stm32f405xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/startup_stm32f405xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/stm32f405xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/stm32f405xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/stm32f405xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/stm32f405xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_GCC_ARM/STM32F405.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_GCC_ARM/STM32F405.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_GCC_ARM/STM32F405.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_GCC_ARM/STM32F405.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_GCC_ARM/startup_STM32F40x.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_GCC_ARM/startup_STM32F40x.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_GCC_ARM/startup_STM32F40x.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_GCC_ARM/startup_STM32F40x.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_IAR/startup_stm32f405xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_IAR/startup_stm32f405xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_IAR/startup_stm32f405xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_IAR/startup_stm32f405xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_IAR/stm32f405xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_IAR/stm32f405xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_IAR/stm32f405xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/TOOLCHAIN_IAR/stm32f405xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f405xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f405xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f405xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f405xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F405RG/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f411xe.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f411xe.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f411xe.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f411xe.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_MTS_MDOT_F411RE/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_MICRO/startup_stm32f401xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_MICRO/stm32f401xe.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/startup_stm32f401xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/stm32f401xe.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/stm32f401xe.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/stm32f401xe.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/stm32f401xe.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_GCC_ARM/STM32F401XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_GCC_ARM/STM32F401XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_GCC_ARM/STM32F401XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_GCC_ARM/STM32F401XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_GCC_ARM/startup_stm32f401xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_IAR/startup_stm32f401xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_IAR/startup_stm32f401xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_IAR/startup_stm32f401xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_IAR/startup_stm32f401xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_IAR/stm32f401xe.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_IAR/stm32f401xe.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_IAR/stm32f401xe.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/TOOLCHAIN_IAR/stm32f401xe.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f401xe.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f401xe.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f401xe.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f401xe.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F401RE/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_MICRO/startup_stm32f410rx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_MICRO/startup_stm32f410rx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_MICRO/startup_stm32f410rx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_MICRO/startup_stm32f410rx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_MICRO/stm32f410rb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_MICRO/stm32f410rb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_MICRO/stm32f410rb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_MICRO/stm32f410rb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/startup_stm32f410rx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/startup_stm32f410rx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/startup_stm32f410rx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/startup_stm32f410rx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/stm32f410rb.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/stm32f410rb.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/stm32f410rb.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/stm32f410rb.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_GCC_ARM/STM32F410RB.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_GCC_ARM/STM32F410RB.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_GCC_ARM/STM32F410RB.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_GCC_ARM/STM32F410RB.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_GCC_ARM/startup_stm32f410rx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_GCC_ARM/startup_stm32f410rx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_GCC_ARM/startup_stm32f410rx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_GCC_ARM/startup_stm32f410rx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_IAR/startup_stm32f410rx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_IAR/startup_stm32f410rx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_IAR/startup_stm32f410rx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_IAR/startup_stm32f410rx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_IAR/stm32f410rx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_IAR/stm32f410rx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_IAR/stm32f410rx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/TOOLCHAIN_IAR/stm32f410rx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f410rx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f410rx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f410rx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f410rx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F410RB/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_MICRO/stm32f411re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/stm32f411re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_GCC_ARM/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f411xe.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f411xe.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f411xe.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f411xe.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f429xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f429xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f429xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f429xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_MICRO/stm32f429xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_MICRO/stm32f429xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_MICRO/stm32f429xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_MICRO/stm32f429xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/startup_stm32f429xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/startup_stm32f429xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/startup_stm32f429xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/startup_stm32f429xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/stm32f429xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/stm32f429xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/stm32f429xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/stm32f429xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_GCC_ARM/STM32F429ZI.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_GCC_ARM/STM32F429ZI.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_GCC_ARM/STM32F429ZI.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_GCC_ARM/STM32F429ZI.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_IAR/startup_stm32f429xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_IAR/startup_stm32f429xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_IAR/startup_stm32f429xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_IAR/startup_stm32f429xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_IAR/stm32f429xx_flash.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_IAR/stm32f429xx_flash.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_IAR/stm32f429xx_flash.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/TOOLCHAIN_IAR/stm32f429xx_flash.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f429xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f429xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f429xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f429xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/stm32f446xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/stm32f446xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/stm32f446xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/stm32f446xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/stm32f446xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/stm32f446xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/stm32f446xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/TOOLCHAIN_IAR/stm32f446xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f446xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f446xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f446xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f446xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446RE/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_MICRO/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_MICRO/stm32f446xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/stm32f446xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/stm32f446xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/stm32f446xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/stm32f446xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_GCC_ARM/startup_stm32f446xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_IAR/startup_stm32f446xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_IAR/startup_stm32f446xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_IAR/startup_stm32f446xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_IAR/startup_stm32f446xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_IAR/stm32f446xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_IAR/stm32f446xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_IAR/stm32f446xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/TOOLCHAIN_IAR/stm32f446xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f446xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f446xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f446xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f446xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F446ZE/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_MICRO/STM32F407.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_MICRO/STM32F407.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_MICRO/STM32F407.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_MICRO/STM32F407.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_MICRO/startup_STM32F40x.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_MICRO/startup_STM32F40x.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_MICRO/startup_STM32F40x.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_MICRO/startup_STM32F40x.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/STM32F407.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/STM32F407.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/STM32F407.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/STM32F407.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/startup_STM32F40x.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/startup_STM32F40x.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/startup_STM32F40x.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/startup_STM32F40x.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_GCC_ARM/STM32F407XG.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_GCC_ARM/STM32F407XG.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_GCC_ARM/STM32F407XG.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_GCC_ARM/STM32F407XG.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_GCC_ARM/startup_stm32f407xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_GCC_ARM/startup_stm32f407xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_GCC_ARM/startup_stm32f407xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/TOOLCHAIN_GCC_ARM/startup_stm32f407xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f407xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f407xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f407xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f407xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_MICRO/startup_stm32f439xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_MICRO/startup_stm32f439xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_MICRO/startup_stm32f439xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_MICRO/startup_stm32f439xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_MICRO/stm32f439xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_MICRO/stm32f439xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_MICRO/stm32f439xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_MICRO/stm32f439xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/startup_stm32f439xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/startup_stm32f439xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/startup_stm32f439xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/startup_stm32f439xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/stm32f439xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_GCC_ARM/STM32F439ZI.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_GCC_ARM/STM32F439ZI.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_GCC_ARM/STM32F439ZI.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_GCC_ARM/STM32F439ZI.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_GCC_ARM/startup_stm32f439xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_GCC_ARM/startup_stm32f439xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_GCC_ARM/startup_stm32f439xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_GCC_ARM/startup_stm32f439xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_IAR/startup_stm32f439xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_IAR/startup_stm32f439xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_IAR/startup_stm32f439xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_IAR/startup_stm32f439xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_IAR/stm32f439xx_flash.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_IAR/stm32f439xx_flash.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_IAR/stm32f439xx_flash.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_IAR/stm32f439xx_flash.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f439xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f439xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f439xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f439xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/stm32f4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/system_stm32f4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/system_stm32f4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/system_stm32f4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/system_stm32f4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/system_stm32f4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/system_stm32f4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/system_stm32f4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/system_stm32f4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_can.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cec.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_conf_template.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_conf_template.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_conf_template.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_conf_template.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_cryp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dcmi_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dfsdm.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dfsdm.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dfsdm.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dfsdm.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dfsdm.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dfsdm.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dfsdm.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dfsdm.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma2d.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dma_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_dsi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_eth.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_flash_ramfunc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_fmpi2c_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2c_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_i2s_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_lptim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_ltdc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_msp_template.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_msp_template.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_msp_template.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_msp_template.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nand.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_nor.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pccard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_pwr_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_qspi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rng.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sai_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sdram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spdifrx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_sram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_fsmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_sdmmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_ll_usb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/Release_Notes_stm32f7xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32F7/Release_Notes_stm32f7xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/Release_Notes_stm32f7xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/Release_Notes_stm32f7xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_MICRO/startup_stm32f746ng.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_MICRO/startup_stm32f746ng.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_MICRO/startup_stm32f746ng.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_MICRO/startup_stm32f746ng.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_MICRO/stm32f746ng.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_MICRO/stm32f746ng.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_MICRO/stm32f746ng.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_MICRO/stm32f746ng.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/startup_stm32f746ng.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/startup_stm32f746ng.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/startup_stm32f746ng.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/startup_stm32f746ng.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/stm32f746ng.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/stm32f746ng.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/stm32f746ng.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/stm32f746ng.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_GCC_ARM/STM32F746NG.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_GCC_ARM/STM32F746NG.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_GCC_ARM/STM32F746NG.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_GCC_ARM/STM32F746NG.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_GCC_ARM/startup_stm32f746xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_GCC_ARM/startup_stm32f746xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_GCC_ARM/startup_stm32f746xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_GCC_ARM/startup_stm32f746xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_IAR/startup_stm32f746xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_IAR/startup_stm32f746xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_IAR/startup_stm32f746xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_IAR/startup_stm32f746xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_IAR/stm32f746ng.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_IAR/stm32f746ng.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_IAR/stm32f746ng.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/TOOLCHAIN_IAR/stm32f746ng.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f746xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f746xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f746xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f746xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/stm32f7xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_MICRO/startup_stm32f746zg.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_MICRO/startup_stm32f746zg.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_MICRO/startup_stm32f746zg.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_MICRO/startup_stm32f746zg.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_MICRO/stm32f746zg.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_MICRO/stm32f746zg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_MICRO/stm32f746zg.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_MICRO/stm32f746zg.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/startup_stm32f746zg.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/startup_stm32f746zg.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/startup_stm32f746zg.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/startup_stm32f746zg.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/stm32f746zg.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/stm32f746zg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/stm32f746zg.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/stm32f746zg.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_GCC_ARM/STM32F746ZG.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_GCC_ARM/STM32F746ZG.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_GCC_ARM/STM32F746ZG.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_GCC_ARM/STM32F746ZG.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_GCC_ARM/startup_stm32f746xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_GCC_ARM/startup_stm32f746xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_GCC_ARM/startup_stm32f746xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_GCC_ARM/startup_stm32f746xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_IAR/startup_stm32f746xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_IAR/startup_stm32f746xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_IAR/startup_stm32f746xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_IAR/startup_stm32f746xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_IAR/stm32f746zg.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_IAR/stm32f746zg.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_IAR/stm32f746zg.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/TOOLCHAIN_IAR/stm32f746zg.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f746xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f746xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f746xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f746xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f7xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f7xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f7xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f7xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f7xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f7xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f7xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/stm32f7xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/system_stm32f7xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/system_stm32f7xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/system_stm32f7xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/system_stm32f7xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/system_stm32f7xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/system_stm32f7xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/system_stm32f7xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/system_stm32f7xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f769xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f769xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f769xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_MICRO/startup_stm32f769xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_MICRO/stm32f767zi.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_MICRO/stm32f767zi.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_MICRO/stm32f767zi.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_MICRO/stm32f767zi.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/startup_stm32f769xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/startup_stm32f769xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/startup_stm32f769xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/startup_stm32f769xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/stm32f767zi.sct b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/stm32f767zi.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/stm32f767zi.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/stm32f767zi.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_GCC_ARM/STM32F767ZI.ld b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_GCC_ARM/STM32F767ZI.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_GCC_ARM/STM32F767ZI.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_GCC_ARM/STM32F767ZI.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_GCC_ARM/startup_stm32f769xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_GCC_ARM/startup_stm32f769xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_GCC_ARM/startup_stm32f769xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_GCC_ARM/startup_stm32f769xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_IAR/startup_stm32f767xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_IAR/startup_stm32f767xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_IAR/startup_stm32f767xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_IAR/startup_stm32f767xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_IAR/stm32f767zi.icf b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_IAR/stm32f767zi.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_IAR/stm32f767zi.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/TOOLCHAIN_IAR/stm32f767zi.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f767xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f767xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f767xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f767xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f7xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f7xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f7xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f7xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f7xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f7xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f7xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/stm32f7xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/system_stm32f7xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/system_stm32f7xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/system_stm32f7xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/system_stm32f7xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/system_stm32f7xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/system_stm32f7xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/system_stm32f7xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F767ZI/system_stm32f7xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_can.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_can.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_can.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_can.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_can.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_can.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_can.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_can.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cec.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cec.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cec.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cec.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cec.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cec.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cec.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cec.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_crc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_cryp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dcmi_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dfsdm.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dfsdm.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dfsdm.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dfsdm.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dfsdm.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dfsdm.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dfsdm.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dfsdm.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma2d.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma2d.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma2d.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma2d.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma2d.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma2d.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma2d.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma2d.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dma_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dsi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dsi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dsi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dsi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dsi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dsi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dsi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_dsi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_eth.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_eth.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_eth.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_eth.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_eth.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_eth.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_eth.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_eth.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_hcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2c_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2s.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2s.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2s.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2s.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2s.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_i2s.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_irda_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_jpeg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_jpeg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_jpeg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_jpeg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_jpeg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_jpeg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_jpeg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_jpeg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_lptim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_lptim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_lptim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_lptim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_lptim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_lptim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_lptim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_lptim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_ltdc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_mdios.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_mdios.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_mdios.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_mdios.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_mdios.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_mdios.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_mdios.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_mdios.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nand.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nand.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nand.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nand.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nand.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nand.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nand.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nand.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nor.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nor.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nor.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nor.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nor.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nor.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nor.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_nor.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_pwr_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_qspi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_qspi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_qspi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_qspi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_qspi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_qspi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_qspi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_qspi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rng.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rng.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rng.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rng.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rng.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rng.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rng.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rng.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sd.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sd.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sdram.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sdram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sdram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sdram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sdram.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sdram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sdram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sdram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_smartcard_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spdifrx.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spdifrx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spdifrx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spdifrx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spdifrx.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spdifrx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spdifrx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spdifrx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sram.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sram.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_uart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_usart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_fmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_fmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_fmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_fmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_fmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_fmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_fmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_fmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_sdmmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_sdmmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_sdmmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_sdmmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_sdmmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_sdmmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_sdmmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_sdmmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_usb.c b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_usb.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_usb.c rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_usb.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_usb.h b/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_usb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_ll_usb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/Release_Notes_stm32l0xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32L0/Release_Notes_stm32l0xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/Release_Notes_stm32l0xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/Release_Notes_stm32l0xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_MICRO/startup_stm32l053xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_MICRO/startup_stm32l053xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_MICRO/startup_stm32l053xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_MICRO/startup_stm32l053xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_MICRO/stm32l053c8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_MICRO/stm32l053c8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_MICRO/stm32l053c8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_MICRO/stm32l053c8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/startup_stm32l053xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/startup_stm32l053xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/startup_stm32l053xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/startup_stm32l053xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/stm32l053c8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/stm32l053c8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/stm32l053c8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/stm32l053c8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_GCC_ARM/STM32L053X8.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_GCC_ARM/STM32L053X8.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_GCC_ARM/STM32L053X8.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_GCC_ARM/STM32L053X8.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_GCC_ARM/startup_stm32l053xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_GCC_ARM/startup_stm32l053xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_GCC_ARM/startup_stm32l053xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_GCC_ARM/startup_stm32l053xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_IAR/startup_stm32l053xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_IAR/startup_stm32l053xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_IAR/startup_stm32l053xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_IAR/startup_stm32l053xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_IAR/stm32l053xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_IAR/stm32l053xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_IAR/stm32l053xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/TOOLCHAIN_IAR/stm32l053xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l053xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l053xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l053xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l053xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l0xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l0xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l0xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/stm32l0xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/system_stm32l0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/system_stm32l0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/system_stm32l0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/system_stm32l0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/system_stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/system_stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/system_stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/system_stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_MICRO/startup_stm32l011xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_MICRO/startup_stm32l011xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_MICRO/startup_stm32l011xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_MICRO/startup_stm32l011xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_MICRO/stm32l011k4.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_MICRO/stm32l011k4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_MICRO/stm32l011k4.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_MICRO/stm32l011k4.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/startup_stm32l011xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/startup_stm32l011xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/startup_stm32l011xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/startup_stm32l011xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/stm32l011k4.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/stm32l011k4.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/stm32l011k4.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/stm32l011k4.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_GCC_ARM/STM32L011K4.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_GCC_ARM/STM32L011K4.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_GCC_ARM/STM32L011K4.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_GCC_ARM/STM32L011K4.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_GCC_ARM/startup_stm32l011xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_GCC_ARM/startup_stm32l011xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_GCC_ARM/startup_stm32l011xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_GCC_ARM/startup_stm32l011xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_IAR/startup_stm32l011xx.s b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_IAR/startup_stm32l011xx.s similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_IAR/startup_stm32l011xx.s rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_IAR/startup_stm32l011xx.s diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_IAR/stm32l011xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_IAR/stm32l011xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_IAR/stm32l011xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/TOOLCHAIN_IAR/stm32l011xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l011xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l011xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l011xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l011xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l0xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l0xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l0xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/stm32l0xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/system_stm32l0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/system_stm32l0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/system_stm32l0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/system_stm32l0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/system_stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/system_stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/system_stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/system_stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_MICRO/startup_stm32l031xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_MICRO/startup_stm32l031xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_MICRO/startup_stm32l031xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_MICRO/startup_stm32l031xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_MICRO/stm32l031k6.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_MICRO/stm32l031k6.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_MICRO/stm32l031k6.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_MICRO/stm32l031k6.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/startup_stm32l031xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/startup_stm32l031xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/startup_stm32l031xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/startup_stm32l031xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/stm32l031k6.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/stm32l031k6.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/stm32l031k6.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/stm32l031k6.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_GCC_ARM/STM32L031K6.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_GCC_ARM/STM32L031K6.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_GCC_ARM/STM32L031K6.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_GCC_ARM/STM32L031K6.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_GCC_ARM/startup_stm32l031xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_GCC_ARM/startup_stm32l031xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_GCC_ARM/startup_stm32l031xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_GCC_ARM/startup_stm32l031xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_IAR/startup_stm32l031xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_IAR/startup_stm32l031xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_IAR/startup_stm32l031xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_IAR/startup_stm32l031xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_IAR/stm32l031xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_IAR/stm32l031xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_IAR/stm32l031xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/TOOLCHAIN_IAR/stm32l031xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l031xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l031xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l031xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l031xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l0xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l0xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l0xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/stm32l0xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/system_stm32l0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/system_stm32l0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/system_stm32l0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/system_stm32l0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/system_stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/system_stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/system_stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L031K6/system_stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_MICRO/startup_stm32l053xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_MICRO/startup_stm32l053xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_MICRO/startup_stm32l053xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_MICRO/startup_stm32l053xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_MICRO/stm32l053r8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_MICRO/stm32l053r8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_MICRO/stm32l053r8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_MICRO/stm32l053r8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/startup_stm32l053xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/startup_stm32l053xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/startup_stm32l053xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/startup_stm32l053xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/stm32l053r8.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/stm32l053r8.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/stm32l053r8.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/stm32l053r8.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM/STM32L053X8.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM/STM32L053X8.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM/STM32L053X8.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM/STM32L053X8.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM/startup_stm32l053xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM/startup_stm32l053xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM/startup_stm32l053xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM/startup_stm32l053xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_IAR/startup_stm32l053xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_IAR/startup_stm32l053xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_IAR/startup_stm32l053xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_IAR/startup_stm32l053xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_IAR/stm32l053xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_IAR/stm32l053xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_IAR/stm32l053xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/TOOLCHAIN_IAR/stm32l053xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l053xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l053xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l053xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l053xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l0xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l0xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l0xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/stm32l0xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/system_stm32l0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/system_stm32l0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/system_stm32l0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/system_stm32l0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/system_stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/system_stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/system_stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/system_stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_MICRO/startup_stm32l073xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_MICRO/startup_stm32l073xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_MICRO/startup_stm32l073xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_MICRO/startup_stm32l073xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_MICRO/stm32l073xz.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_MICRO/stm32l073xz.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_MICRO/stm32l073xz.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_MICRO/stm32l073xz.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/startup_stm32l073xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/startup_stm32l073xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/startup_stm32l073xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/startup_stm32l073xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/stm32l073xz.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/stm32l073xz.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/stm32l073xz.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/stm32l073xz.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_GCC_ARM/STM32L073XZ.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_GCC_ARM/STM32L073XZ.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_GCC_ARM/STM32L073XZ.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_GCC_ARM/STM32L073XZ.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_GCC_ARM/startup_stm32l073xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_GCC_ARM/startup_stm32l073xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_GCC_ARM/startup_stm32l073xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_GCC_ARM/startup_stm32l073xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_IAR/startup_stm32l073xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_IAR/startup_stm32l073xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_IAR/startup_stm32l073xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_IAR/startup_stm32l073xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_IAR/stm32l073xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_IAR/stm32l073xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_IAR/stm32l073xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/TOOLCHAIN_IAR/stm32l073xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l073xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l073xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l073xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l073xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l0xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l0xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l0xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/stm32l0xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/system_stm32l0xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/system_stm32l0xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/system_stm32l0xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/system_stm32l0xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/system_stm32l0xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/system_stm32l0xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/system_stm32l0xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/system_stm32l0xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_comp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_crc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_cryp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_firewall.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_firewall.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_firewall.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_firewall.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_firewall.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_firewall.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_firewall.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_firewall.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ramfunc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ramfunc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ramfunc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ramfunc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ramfunc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ramfunc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ramfunc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_flash_ramfunc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2c_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2s.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2s.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2s.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2s.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2s.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_i2s.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_irda_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_lptim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_pwr_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rng.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rng.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rng.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rng.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rng.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rng.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rng.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rng.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smartcard_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smbus.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smbus.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smbus.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smbus.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smbus.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smbus.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smbus.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_smbus.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tsc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tsc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tsc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tsc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tsc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tsc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tsc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_tsc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_uart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_usart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L0/stm32l0xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/Release_Notes_stm32l1xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32L1/Release_Notes_stm32l1xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/Release_Notes_stm32l1xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/Release_Notes_stm32l1xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_MICRO/startup_stm32l152xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_MICRO/startup_stm32l152xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_MICRO/startup_stm32l152xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_MICRO/startup_stm32l152xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_MICRO/stm32l152rc.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_MICRO/stm32l152rc.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_MICRO/stm32l152rc.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_MICRO/stm32l152rc.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/startup_stm32l152xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/startup_stm32l152xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/startup_stm32l152xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/startup_stm32l152xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/stm32l152rc.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/stm32l152rc.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/stm32l152rc.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/stm32l152rc.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_GCC_ARM/STM32L152XC.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_GCC_ARM/STM32L152XC.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_GCC_ARM/STM32L152XC.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_GCC_ARM/STM32L152XC.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_GCC_ARM/startup_stm32l152xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_GCC_ARM/startup_stm32l152xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_GCC_ARM/startup_stm32l152xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_GCC_ARM/startup_stm32l152xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_IAR/startup_stm32l152xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_IAR/startup_stm32l152xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_IAR/startup_stm32l152xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_IAR/startup_stm32l152xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_IAR/stm32l152xc.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_IAR/stm32l152xc.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_IAR/stm32l152xc.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/TOOLCHAIN_IAR/stm32l152xc.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l152xc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l152xc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l152xc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l152xc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/stm32l1xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_MOTE_L152RC/system_stm32l1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_MICRO/startup_stm32l152xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_MICRO/startup_stm32l152xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_MICRO/startup_stm32l152xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_MICRO/startup_stm32l152xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_MICRO/stm32l152re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_MICRO/stm32l152re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_MICRO/stm32l152re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_MICRO/stm32l152re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/startup_stm32l152xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/startup_stm32l152xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/startup_stm32l152xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/startup_stm32l152xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/stm32l152re.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/stm32l152re.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/stm32l152re.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/stm32l152re.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/STM32L152XE.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/STM32L152XE.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/STM32L152XE.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/STM32L152XE.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/startup_stm32l152xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/startup_stm32l152xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/startup_stm32l152xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_GCC_ARM/startup_stm32l152xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_IAR/startup_stm32l152xe.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_IAR/startup_stm32l152xe.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_IAR/startup_stm32l152xe.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_IAR/startup_stm32l152xe.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_IAR/stm32l152xe.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_IAR/stm32l152xe.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_IAR/stm32l152xe.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/TOOLCHAIN_IAR/stm32l152xe.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l152xe.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l152xe.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l152xe.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l152xe.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/stm32l1xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NUCLEO_L152RE/system_stm32l1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_MICRO/startup_stm32l151xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_MICRO/startup_stm32l151xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_MICRO/startup_stm32l151xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_MICRO/startup_stm32l151xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_MICRO/stm32l151rc.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_MICRO/stm32l151rc.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_MICRO/stm32l151rc.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_MICRO/stm32l151rc.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/startup_stm32l151xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/startup_stm32l151xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/startup_stm32l151xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/startup_stm32l151xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/stm32l151rc.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/stm32l151rc.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/stm32l151rc.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/stm32l151rc.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_GCC_ARM/STM32L151XC.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_GCC_ARM/STM32L151XC.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_GCC_ARM/STM32L151XC.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_GCC_ARM/STM32L151XC.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_GCC_ARM/startup_stm32l151xc.S b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_GCC_ARM/startup_stm32l151xc.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_GCC_ARM/startup_stm32l151xc.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/TOOLCHAIN_GCC_ARM/startup_stm32l151xc.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l151xc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l151xc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l151xc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l151xc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l1xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l1xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l1xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/stm32l1xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/system_stm32l1xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/system_stm32l1xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/system_stm32l1xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/system_stm32l1xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/system_stm32l1xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/system_stm32l1xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/system_stm32l1xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/TARGET_NZ32_SC151/system_stm32l1xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_comp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_cryp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ramfunc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ramfunc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ramfunc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ramfunc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ramfunc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ramfunc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ramfunc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_flash_ramfunc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2s.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2s.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2s.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2s.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2s.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2s.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2s.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_i2s.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_lcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_lcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_lcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_lcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_lcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_lcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_lcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_lcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_nor.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_nor.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_nor.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_nor.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_nor.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_nor.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_nor.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_nor.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_opamp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_pwr_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_spi_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sram.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sram.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_sram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_bus.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_bus.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_bus.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_bus.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_comp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_comp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_comp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_comp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_comp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_comp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_comp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_comp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_exti.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_exti.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_exti.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_exti.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_exti.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_exti.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_exti.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_exti.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_fsmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_fsmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_fsmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_fsmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_fsmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_fsmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_fsmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_fsmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_opamp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_opamp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_opamp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_opamp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_opamp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_opamp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_opamp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_opamp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_sdmmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_sdmmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_sdmmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_sdmmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_sdmmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_sdmmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_sdmmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_sdmmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_system.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_system.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_system.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_system.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_utils.c b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_utils.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_utils.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_utils.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_utils.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_utils.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_utils.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_utils.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L1/stm32l1xx_ll_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/Release_Notes_stm32l4xx_hal.html b/targets/cmsis/TARGET_STM/TARGET_STM32L4/Release_Notes_stm32l4xx_hal.html similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/Release_Notes_stm32l4xx_hal.html rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/Release_Notes_stm32l4xx_hal.html diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/stm32l476xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/stm32l476xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/stm32l476xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/stm32l476xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_GCC_ARM/startup_stm32l476xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_GCC_ARM/startup_stm32l476xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_GCC_ARM/startup_stm32l476xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_GCC_ARM/startup_stm32l476xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/startup_stm32l476xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/startup_stm32l476xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/startup_stm32l476xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/startup_stm32l476xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/stm32l476xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/stm32l476xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/stm32l476xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/stm32l476xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l476xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l476xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l476xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l476xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/stm32l4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/system_stm32l4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/system_stm32l4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/system_stm32l4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/system_stm32l4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/system_stm32l4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/system_stm32l4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/system_stm32l4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/system_stm32l4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_MICRO/startup_stm32l432xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_MICRO/stm32l432xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/startup_stm32l432xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/stm32l432xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/stm32l432xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/stm32l432xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/stm32l432xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_GCC_ARM/STM32L432XX.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_GCC_ARM/STM32L432XX.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_GCC_ARM/STM32L432XX.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_GCC_ARM/STM32L432XX.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_IAR/startup_stm32l432xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_IAR/startup_stm32l432xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_IAR/startup_stm32l432xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_IAR/startup_stm32l432xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_IAR/stm32l432xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_IAR/stm32l432xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_IAR/stm32l432xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/TOOLCHAIN_IAR/stm32l432xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l432xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l432xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l432xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l432xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/stm32l4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/system_stm32l4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/system_stm32l4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/system_stm32l4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/system_stm32l4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/system_stm32l4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/system_stm32l4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/system_stm32l4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L432KC/system_stm32l4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/stm32l476xx.sct b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/stm32l476xx.sct similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/stm32l476xx.sct rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/stm32l476xx.sct diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/startup_stm32l476xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/startup_stm32l476xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/startup_stm32l476xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/startup_stm32l476xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/startup_stm32l476xx.S b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/startup_stm32l476xx.S similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/startup_stm32l476xx.S rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/startup_stm32l476xx.S diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/stm32l476xx.icf b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/stm32l476xx.icf similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/stm32l476xx.icf rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/stm32l476xx.icf diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/hal_tick.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/hal_tick.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/hal_tick.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/hal_tick.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/hal_tick.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/hal_tick.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/hal_tick.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/hal_tick.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l476xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l476xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l476xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l476xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l4xx_hal_conf.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l4xx_hal_conf.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l4xx_hal_conf.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/stm32l4xx_hal_conf.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/system_stm32l4xx.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/system_stm32l4xx.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/system_stm32l4xx.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/system_stm32l4xx.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/system_stm32l4xx.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/system_stm32l4xx.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/system_stm32l4xx.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/system_stm32l4xx.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32_hal_legacy.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32_hal_legacy.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32_hal_legacy.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32_hal_legacy.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_adc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_can.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_can.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_can.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_can.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_can.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_can.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_can.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_can.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_comp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_comp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_comp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_comp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_comp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_comp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_comp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_comp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cortex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cortex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cortex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cortex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_crc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_cryp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dac_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_def.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_def.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_def.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_def.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dfsdm.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dfsdm.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dfsdm.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dfsdm.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dfsdm.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dfsdm.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dfsdm.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dfsdm.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_firewall.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_firewall.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_firewall.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_firewall.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_firewall.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_firewall.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_firewall.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_firewall.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ramfunc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ramfunc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ramfunc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ramfunc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ramfunc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ramfunc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ramfunc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_flash_ramfunc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_gpio_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_hcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_hcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_hcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_hcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_hcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_hcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_hcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_hcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_i2c_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_irda_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_iwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_iwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_iwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_iwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lptim.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lptim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lptim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lptim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lptim.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lptim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lptim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_lptim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_msp_template.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_msp_template.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_msp_template.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_msp_template.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nand.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nand.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nand.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nand.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nand.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nand.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nand.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nand.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nor.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nor.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nor.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nor.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nor.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nor.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nor.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_nor.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_opamp_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pcd_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_pwr_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_qspi.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_qspi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_qspi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_qspi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_qspi.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_qspi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_qspi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_qspi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rcc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rng.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rng.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rng.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rng.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rng.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rng.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rng.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rng.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_rtc_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sai.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sai.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sai.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sai.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sai.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sai.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sai.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sai.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sd.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sd.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sd.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sd.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sd.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sd.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sd.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sd.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smartcard_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smbus.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smbus.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smbus.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smbus.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smbus.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smbus.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smbus.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_smbus.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_spi_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sram.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sram.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sram.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sram.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sram.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sram.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sram.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_sram.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_swpmi.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_swpmi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_swpmi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_swpmi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_swpmi.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_swpmi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_swpmi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_swpmi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tim_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tsc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tsc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tsc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tsc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tsc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tsc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tsc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_tsc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart_ex.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart_ex.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart_ex.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart_ex.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_uart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart_ex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart_ex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart_ex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_usart_ex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_wwdg.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_wwdg.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_wwdg.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_wwdg.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_hal_wwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_adc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_adc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_adc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_adc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_adc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_adc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_adc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_bus.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_bus.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_bus.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_bus.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_comp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_comp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_comp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_comp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_comp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_comp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_comp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_comp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_cortex.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_cortex.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_cortex.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_cortex.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crs.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crs.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crs.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crs.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crs.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crs.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crs.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_crs.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dac.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dac.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dac.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dac.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dac.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dac.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dac.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dma.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dma.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dma.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dma.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dma.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dma.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_dma.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_exti.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_exti.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_exti.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_exti.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_exti.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_exti.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_exti.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_exti.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_fmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_fmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_fmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_fmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_fmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_fmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_fmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_fmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_gpio.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_gpio.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_gpio.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_gpio.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_gpio.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_gpio.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_gpio.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_i2c.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_i2c.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_i2c.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_i2c.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_i2c.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_i2c.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_i2c.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_iwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_iwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_iwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_iwdg.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lptim.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lptim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lptim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lptim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lptim.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lptim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lptim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lptim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lpuart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lpuart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lpuart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lpuart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lpuart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lpuart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lpuart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_lpuart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_opamp.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_opamp.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_opamp.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_opamp.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_opamp.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_opamp.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_opamp.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_opamp.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_pwr.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_pwr.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_pwr.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_pwr.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_pwr.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_pwr.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_pwr.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_pwr.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rcc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rcc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rcc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rcc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rcc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rcc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rcc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rng.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rng.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rng.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rng.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rng.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rng.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rng.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rng.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rtc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rtc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rtc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rtc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rtc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rtc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_rtc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_sdmmc.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_sdmmc.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_sdmmc.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_sdmmc.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_sdmmc.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_sdmmc.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_sdmmc.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_sdmmc.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_spi.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_spi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_spi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_spi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_spi.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_spi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_spi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_spi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_swpmi.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_swpmi.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_swpmi.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_swpmi.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_swpmi.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_swpmi.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_swpmi.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_swpmi.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_system.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_system.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_system.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_system.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_tim.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_tim.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_tim.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_tim.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_tim.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_tim.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_tim.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_tim.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usart.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usart.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usart.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usart.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usart.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usart.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usart.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usb.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usb.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usb.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usb.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usb.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usb.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_usb.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_utils.c b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_utils.c similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_utils.c rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_utils.c diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_utils.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_utils.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_utils.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_utils.h diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_wwdg.h b/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_wwdg.h similarity index 100% rename from hal/targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_wwdg.h rename to targets/cmsis/TARGET_STM/TARGET_STM32L4/stm32l4xx_ll_wwdg.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_MICRO/efm32gg.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_MICRO/efm32gg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_MICRO/efm32gg.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_MICRO/efm32gg.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_MICRO/startup_efm32gg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_MICRO/startup_efm32gg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_MICRO/startup_efm32gg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_MICRO/startup_efm32gg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_STD/efm32gg.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_STD/efm32gg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_STD/efm32gg.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_STD/efm32gg.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_STD/startup_efm32gg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_STD/startup_efm32gg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_STD/startup_efm32gg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_ARM_STD/startup_efm32gg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/efm32gg.ld b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/efm32gg.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/efm32gg.ld rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/efm32gg.ld diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/startup_efm32gg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/startup_efm32gg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/startup_efm32gg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/startup_efm32gg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis_nvic.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis_nvic.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis_nvic.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis_nvic.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg990f1024.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg990f1024.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg990f1024.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg990f1024.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_acmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_acmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_acmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_acmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_adc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_adc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_adc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_aes.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_aes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_aes.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_aes.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_af_pins.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_af_pins.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_af_pins.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_af_pins.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_af_ports.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_af_ports.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_af_ports.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_af_ports.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_burtc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_burtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_burtc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_burtc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_burtc_ret.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_burtc_ret.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_burtc_ret.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_burtc_ret.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_calibrate.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_calibrate.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_calibrate.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_calibrate.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_cmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_cmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_cmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_cmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dac.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dac.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dac.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_devinfo.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_devinfo.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_devinfo.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_devinfo.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma_descriptor.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma_descriptor.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma_descriptor.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dma_descriptor.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dmactrl.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dmactrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dmactrl.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dmactrl.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dmareq.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dmareq.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dmareq.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_dmareq.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_ebi.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_ebi.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_ebi.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_ebi.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_emu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_emu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_emu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_emu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_etm.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_etm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_etm.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_etm.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_gpio.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_gpio.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_gpio.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_gpio_p.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_gpio_p.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_gpio_p.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_gpio_p.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_i2c.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_i2c.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_i2c.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lcd.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lcd.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lcd.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_buf.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_buf.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_buf.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_buf.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_st.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_st.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_st.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_lesense_st.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_letimer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_letimer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_letimer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_letimer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_leuart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_leuart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_leuart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_leuart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_msc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_msc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_msc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_msc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_pcnt.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_pcnt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_pcnt.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_pcnt.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs_signals.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs_signals.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs_signals.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_prs_signals.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_rmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_rmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_rmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_rmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_romtable.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_romtable.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_romtable.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_romtable.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_rtc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_rtc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_rtc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_timer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_timer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_timer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_timer_cc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_timer_cc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_timer_cc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_timer_cc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_uart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_uart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_uart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_diep.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_diep.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_diep.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_diep.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_doep.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_doep.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_doep.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_doep.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_hc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_hc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_hc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_usb_hc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_vcmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_vcmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_vcmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_vcmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_wdog.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_wdog.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_wdog.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/efm32gg_wdog.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/em_device.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/em_device.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/em_device.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/em_device.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/system_efm32gg.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/system_efm32gg.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/system_efm32gg.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/system_efm32gg.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/system_efm32gg.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/system_efm32gg.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/system_efm32gg.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/system_efm32gg.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_ARM_MICRO/efm32hg.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_ARM_MICRO/efm32hg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_ARM_MICRO/efm32hg.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_ARM_MICRO/efm32hg.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_ARM_MICRO/startup_efm32hg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_ARM_MICRO/startup_efm32hg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_ARM_MICRO/startup_efm32hg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_ARM_MICRO/startup_efm32hg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/efm32hg.ld b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/efm32hg.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/efm32hg.ld rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/efm32hg.ld diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/startup_efm32hg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/startup_efm32hg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/startup_efm32hg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/startup_efm32hg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/arm_math.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/arm_math.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/arm_math.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/arm_math.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg322f64.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg322f64.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg322f64.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg322f64.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_acmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_acmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_acmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_acmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_adc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_adc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_adc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_aes.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_aes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_aes.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_aes.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_af_pins.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_af_pins.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_af_pins.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_af_pins.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_af_ports.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_af_ports.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_af_ports.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_af_ports.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_calibrate.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_calibrate.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_calibrate.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_calibrate.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_cmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_cmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_cmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_cmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_devinfo.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_devinfo.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_devinfo.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_devinfo.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma_descriptor.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma_descriptor.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma_descriptor.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dma_descriptor.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dmactrl.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dmactrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dmactrl.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dmactrl.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dmareq.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dmareq.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dmareq.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_dmareq.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_emu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_emu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_emu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_emu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_gpio.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_gpio.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_gpio.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_gpio_p.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_gpio_p.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_gpio_p.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_gpio_p.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_i2c.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_i2c.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_i2c.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_idac.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_idac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_idac.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_idac.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_leuart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_leuart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_leuart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_leuart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_msc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_msc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_msc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_msc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_mtb.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_mtb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_mtb.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_mtb.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_pcnt.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_pcnt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_pcnt.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_pcnt.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs_signals.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs_signals.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs_signals.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_prs_signals.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_rmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_rmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_rmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_rmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_romtable.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_romtable.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_romtable.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_romtable.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_rtc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_rtc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_rtc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_timer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_timer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_timer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_timer_cc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_timer_cc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_timer_cc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_timer_cc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb_diep.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb_diep.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb_diep.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb_diep.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb_doep.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb_doep.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb_doep.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_usb_doep.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_vcmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_vcmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_vcmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_vcmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_wdog.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_wdog.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_wdog.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/efm32hg_wdog.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/em_device.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/em_device.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/em_device.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/em_device.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/system_efm32hg.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/system_efm32hg.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/system_efm32hg.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/system_efm32hg.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/system_efm32hg.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/system_efm32hg.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/system_efm32hg.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/system_efm32hg.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_MICRO/efm32lg.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_MICRO/efm32lg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_MICRO/efm32lg.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_MICRO/efm32lg.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_MICRO/startup_efm32lg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_MICRO/startup_efm32lg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_MICRO/startup_efm32lg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_MICRO/startup_efm32lg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_STD/efm32lg.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_STD/efm32lg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_STD/efm32lg.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_STD/efm32lg.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_STD/startup_efm32lg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_STD/startup_efm32lg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_STD/startup_efm32lg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_ARM_STD/startup_efm32lg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/efm32lg.ld b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/efm32lg.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/efm32lg.ld rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/efm32lg.ld diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/startup_efm32lg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/startup_efm32lg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/startup_efm32lg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/startup_efm32lg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis_nvic.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis_nvic.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis_nvic.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis_nvic.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg990f256.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg990f256.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg990f256.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg990f256.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_acmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_acmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_acmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_acmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_adc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_adc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_adc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_aes.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_aes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_aes.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_aes.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_af_pins.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_af_pins.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_af_pins.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_af_pins.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_af_ports.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_af_ports.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_af_ports.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_af_ports.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_burtc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_burtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_burtc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_burtc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_burtc_ret.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_burtc_ret.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_burtc_ret.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_burtc_ret.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_calibrate.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_calibrate.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_calibrate.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_calibrate.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_cmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_cmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_cmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_cmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dac.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dac.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dac.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_devinfo.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_devinfo.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_devinfo.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_devinfo.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma_descriptor.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma_descriptor.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma_descriptor.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dma_descriptor.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dmactrl.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dmactrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dmactrl.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dmactrl.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dmareq.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dmareq.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dmareq.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_dmareq.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_ebi.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_ebi.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_ebi.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_ebi.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_emu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_emu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_emu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_emu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_etm.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_etm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_etm.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_etm.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_gpio.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_gpio.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_gpio.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_gpio_p.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_gpio_p.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_gpio_p.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_gpio_p.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_i2c.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_i2c.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_i2c.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lcd.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lcd.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lcd.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_buf.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_buf.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_buf.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_buf.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_st.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_st.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_st.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_lesense_st.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_letimer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_letimer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_letimer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_letimer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_leuart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_leuart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_leuart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_leuart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_msc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_msc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_msc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_msc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_pcnt.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_pcnt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_pcnt.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_pcnt.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs_signals.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs_signals.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs_signals.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_prs_signals.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_rmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_rmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_rmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_rmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_romtable.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_romtable.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_romtable.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_romtable.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_rtc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_rtc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_rtc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_timer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_timer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_timer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_timer_cc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_timer_cc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_timer_cc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_timer_cc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_uart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_uart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_uart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_diep.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_diep.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_diep.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_diep.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_doep.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_doep.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_doep.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_doep.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_hc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_hc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_hc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_usb_hc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_vcmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_vcmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_vcmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_vcmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_wdog.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_wdog.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_wdog.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/efm32lg_wdog.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/em_device.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/em_device.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/em_device.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/em_device.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/system_efm32lg.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/system_efm32lg.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/system_efm32lg.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/system_efm32lg.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/system_efm32lg.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/system_efm32lg.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/system_efm32lg.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/system_efm32lg.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_MICRO/efm32pg1b.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_MICRO/efm32pg1b.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_MICRO/efm32pg1b.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_MICRO/efm32pg1b.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_MICRO/startup_efm32pg1b.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_MICRO/startup_efm32pg1b.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_MICRO/startup_efm32pg1b.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_MICRO/startup_efm32pg1b.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_STD/efm32pg1b.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_STD/efm32pg1b.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_STD/efm32pg1b.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_STD/efm32pg1b.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_STD/startup_efm32pg1b.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_STD/startup_efm32pg1b.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_STD/startup_efm32pg1b.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_ARM_STD/startup_efm32pg1b.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_GCC_ARM/efm32pg1b.ld b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_GCC_ARM/efm32pg1b.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_GCC_ARM/efm32pg1b.ld rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_GCC_ARM/efm32pg1b.ld diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_GCC_ARM/startup_efm32pg1b.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_GCC_ARM/startup_efm32pg1b.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_GCC_ARM/startup_efm32pg1b.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_GCC_ARM/startup_efm32pg1b.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/efm32pg1b200f256.icf b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/efm32pg1b200f256.icf similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/efm32pg1b200f256.icf rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/efm32pg1b200f256.icf diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/startup_efm32pg1b.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/startup_efm32pg1b.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/startup_efm32pg1b.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/startup_efm32pg1b.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis_nvic.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis_nvic.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis_nvic.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis_nvic.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b100f128gm32.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b100f128gm32.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b100f128gm32.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b100f128gm32.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b100f256gm32.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b100f256gm32.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b100f256gm32.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b100f256gm32.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f128gm32.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f128gm32.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f128gm32.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f128gm32.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f128gm48.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f128gm48.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f128gm48.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f128gm48.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f256gm32.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f256gm32.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f256gm32.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f256gm32.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f256gm48.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f256gm48.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f256gm48.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b200f256gm48.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_acmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_acmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_acmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_acmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_adc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_adc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_adc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_af_pins.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_af_pins.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_af_pins.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_af_pins.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_af_ports.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_af_ports.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_af_ports.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_af_ports.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_cmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_cmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_cmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_cmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_cryotimer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_cryotimer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_cryotimer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_cryotimer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_crypto.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_crypto.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_crypto.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_crypto.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_devinfo.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_devinfo.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_devinfo.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_devinfo.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_dma_descriptor.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_dma_descriptor.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_dma_descriptor.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_dma_descriptor.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_dmareq.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_dmareq.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_dmareq.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_dmareq.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_emu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_emu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_emu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_emu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_fpueh.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_fpueh.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_fpueh.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_fpueh.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpcrc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpcrc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpcrc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpcrc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpio.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpio.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpio.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpio_p.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpio_p.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpio_p.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_gpio_p.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_i2c.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_i2c.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_i2c.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_idac.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_idac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_idac.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_idac.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_ldma.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_ldma.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_ldma.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_ldma.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_ldma_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_ldma_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_ldma_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_ldma_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_letimer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_letimer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_letimer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_letimer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_leuart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_leuart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_leuart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_leuart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_msc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_msc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_msc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_msc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_pcnt.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_pcnt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_pcnt.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_pcnt.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_signals.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_signals.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_signals.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_signals.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_romtable.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_romtable.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_romtable.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_romtable.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc_cc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc_cc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc_cc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc_cc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc_ret.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc_ret.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc_ret.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_rtcc_ret.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_timer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_timer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_timer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_timer_cc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_timer_cc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_timer_cc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_timer_cc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_usart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_usart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_usart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_wdog.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_wdog.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_wdog.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_wdog.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_wdog_pch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_wdog_pch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_wdog_pch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_wdog_pch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/em_device.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/em_device.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/em_device.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/em_device.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/system_efm32pg1b.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/system_efm32pg1b.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/system_efm32pg1b.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/system_efm32pg1b.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/system_efm32pg1b.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/system_efm32pg1b.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/system_efm32pg1b.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/system_efm32pg1b.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_MICRO/efm32wg.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_MICRO/efm32wg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_MICRO/efm32wg.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_MICRO/efm32wg.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_MICRO/startup_efm32wg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_MICRO/startup_efm32wg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_MICRO/startup_efm32wg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_MICRO/startup_efm32wg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_STD/efm32wg.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_STD/efm32wg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_STD/efm32wg.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_STD/efm32wg.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_STD/startup_efm32wg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_STD/startup_efm32wg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_STD/startup_efm32wg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_ARM_STD/startup_efm32wg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/efm32wg.ld b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/efm32wg.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/efm32wg.ld rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/efm32wg.ld diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/startup_efm32wg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/startup_efm32wg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/startup_efm32wg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/startup_efm32wg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis_nvic.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis_nvic.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis_nvic.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis_nvic.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg990f256.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg990f256.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg990f256.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg990f256.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_acmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_acmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_acmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_acmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_adc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_adc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_adc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_aes.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_aes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_aes.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_aes.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_af_pins.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_af_pins.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_af_pins.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_af_pins.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_af_ports.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_af_ports.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_af_ports.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_af_ports.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_burtc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_burtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_burtc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_burtc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_burtc_ret.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_burtc_ret.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_burtc_ret.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_burtc_ret.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_calibrate.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_calibrate.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_calibrate.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_calibrate.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_cmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_cmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_cmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_cmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dac.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dac.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dac.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_devinfo.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_devinfo.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_devinfo.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_devinfo.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma_descriptor.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma_descriptor.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma_descriptor.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dma_descriptor.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dmactrl.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dmactrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dmactrl.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dmactrl.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dmareq.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dmareq.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dmareq.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_dmareq.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_ebi.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_ebi.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_ebi.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_ebi.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_emu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_emu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_emu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_emu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_etm.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_etm.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_etm.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_etm.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_fpueh.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_fpueh.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_fpueh.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_fpueh.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_gpio.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_gpio.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_gpio.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_gpio_p.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_gpio_p.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_gpio_p.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_gpio_p.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_i2c.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_i2c.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_i2c.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lcd.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lcd.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lcd.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lcd.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_buf.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_buf.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_buf.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_buf.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_st.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_st.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_st.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_lesense_st.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_letimer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_letimer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_letimer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_letimer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_leuart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_leuart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_leuart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_leuart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_msc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_msc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_msc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_msc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_pcnt.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_pcnt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_pcnt.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_pcnt.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs_signals.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs_signals.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs_signals.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_prs_signals.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_rmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_rmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_rmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_rmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_romtable.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_romtable.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_romtable.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_romtable.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_rtc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_rtc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_rtc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_timer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_timer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_timer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_timer_cc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_timer_cc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_timer_cc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_timer_cc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_uart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_uart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_uart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_uart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_diep.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_diep.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_diep.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_diep.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_doep.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_doep.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_doep.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_doep.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_hc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_hc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_hc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_usb_hc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_vcmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_vcmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_vcmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_vcmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_wdog.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_wdog.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_wdog.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/efm32wg_wdog.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/em_device.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/em_device.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/em_device.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/em_device.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/system_efm32wg.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/system_efm32wg.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/system_efm32wg.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/system_efm32wg.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/system_efm32wg.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/system_efm32wg.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/system_efm32wg.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/system_efm32wg.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/efm32zg.sct b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/efm32zg.sct similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/efm32zg.sct rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/efm32zg.sct diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/startup_efm32zg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/startup_efm32zg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/startup_efm32zg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_ARM_MICRO/startup_efm32zg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/efm32zg.ld b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/efm32zg.ld similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/efm32zg.ld rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/efm32zg.ld diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/startup_efm32zg.S b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/startup_efm32zg.S similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/startup_efm32zg.S rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/startup_efm32zg.S diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/arm_math.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/arm_math.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/arm_math.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/arm_math.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis_nvic.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis_nvic.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis_nvic.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis_nvic.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg222f32.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg222f32.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg222f32.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg222f32.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_acmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_acmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_acmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_acmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_adc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_adc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_adc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_adc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_aes.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_aes.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_aes.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_aes.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_af_pins.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_af_pins.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_af_pins.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_af_pins.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_af_ports.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_af_ports.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_af_ports.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_af_ports.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_calibrate.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_calibrate.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_calibrate.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_calibrate.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_cmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_cmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_cmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_cmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_devinfo.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_devinfo.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_devinfo.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_devinfo.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma_descriptor.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma_descriptor.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma_descriptor.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dma_descriptor.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dmactrl.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dmactrl.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dmactrl.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dmactrl.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dmareq.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dmareq.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dmareq.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_dmareq.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_emu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_emu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_emu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_emu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_gpio.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_gpio.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_gpio.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_gpio.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_gpio_p.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_gpio_p.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_gpio_p.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_gpio_p.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_i2c.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_i2c.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_i2c.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_i2c.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_idac.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_idac.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_idac.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_idac.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_leuart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_leuart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_leuart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_leuart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_msc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_msc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_msc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_msc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_pcnt.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_pcnt.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_pcnt.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_pcnt.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs_ch.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs_ch.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs_ch.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs_ch.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs_signals.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs_signals.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs_signals.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_prs_signals.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_rmu.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_rmu.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_rmu.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_rmu.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_romtable.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_romtable.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_romtable.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_romtable.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_rtc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_rtc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_rtc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_rtc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_timer.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_timer.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_timer.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_timer.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_timer_cc.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_timer_cc.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_timer_cc.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_timer_cc.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_usart.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_usart.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_usart.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_usart.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_vcmp.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_vcmp.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_vcmp.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_vcmp.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_wdog.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_wdog.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_wdog.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/efm32zg_wdog.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/em_device.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/em_device.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/em_device.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/em_device.h diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/system_efm32zg.c b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/system_efm32zg.c similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/system_efm32zg.c rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/system_efm32zg.c diff --git a/hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/system_efm32zg.h b/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/system_efm32zg.h similarity index 100% rename from hal/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/system_efm32zg.h rename to targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/system_efm32zg.h diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/W7500.sct b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/W7500.sct similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/W7500.sct rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/W7500.sct diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/startup_W7500x.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/startup_W7500x.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/startup_W7500x.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/startup_W7500x.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/W7500.sct b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/W7500.sct similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/W7500.sct rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/W7500.sct diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/startup_W7500x.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/startup_W7500x.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/startup_W7500x.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/startup_W7500x.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_GCC_ARM/W7500.ld b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_GCC_ARM/W7500.ld similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_GCC_ARM/W7500.ld rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_GCC_ARM/W7500.ld diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_GCC_ARM/startup_W7500.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_GCC_ARM/startup_W7500.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_GCC_ARM/startup_W7500.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/TOOLCHAIN_GCC_ARM/startup_W7500.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/W7500.sct b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/W7500.sct similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/W7500.sct rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/W7500.sct diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/startup_W7500x.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/startup_W7500x.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/startup_W7500x.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/startup_W7500x.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/W7500.sct b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/W7500.sct similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/W7500.sct rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/W7500.sct diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/startup_W7500x.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/startup_W7500x.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/startup_W7500x.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/startup_W7500x.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/W7500.ld b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/W7500.ld similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/W7500.ld rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/W7500.ld diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/startup_W7500.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/startup_W7500.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/startup_W7500.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/startup_W7500.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/startup_W7500.o b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/startup_W7500.o similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/startup_W7500.o rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500ECO/TOOLCHAIN_GCC_ARM/startup_W7500.o diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/W7500.sct b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/W7500.sct similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/W7500.sct rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/W7500.sct diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/startup_W7500x.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/startup_W7500x.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/startup_W7500x.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/startup_W7500x.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/sys.cpp b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/sys.cpp rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_MICRO/sys.cpp diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/W7500.sct b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/W7500.sct similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/W7500.sct rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/W7500.sct diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/startup_W7500x.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/startup_W7500x.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/startup_W7500x.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/startup_W7500x.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/sys.cpp b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/sys.cpp similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/sys.cpp rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_ARM_STD/sys.cpp diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_GCC_ARM/W7500.ld b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_GCC_ARM/W7500.ld similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_GCC_ARM/W7500.ld rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_GCC_ARM/W7500.ld diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_GCC_ARM/startup_W7500.S b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_GCC_ARM/startup_W7500.S similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_GCC_ARM/startup_W7500.S rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500P/TOOLCHAIN_GCC_ARM/startup_W7500.S diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/W7500x.h b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/W7500x.h similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/W7500x.h rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/W7500x.h diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis.h b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis.h similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis.h rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis.h diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis_nvic.c b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis_nvic.c similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis_nvic.c rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis_nvic.c diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis_nvic.h b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis_nvic.h similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis_nvic.h rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/cmsis_nvic.h diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/system_W7500x.c b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/system_W7500x.c similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/system_W7500x.c rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/system_W7500x.c diff --git a/hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/system_W7500x.h b/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/system_W7500x.h similarity index 100% rename from hal/targets/cmsis/TARGET_WIZNET/TARGET_W7500x/system_W7500x.h rename to targets/cmsis/TARGET_WIZNET/TARGET_W7500x/system_W7500x.h diff --git a/hal/targets/cmsis/TOOLCHAIN_GCC/TARGET_CORTEX_A/cache.S b/targets/cmsis/TOOLCHAIN_GCC/TARGET_CORTEX_A/cache.S similarity index 100% rename from hal/targets/cmsis/TOOLCHAIN_GCC/TARGET_CORTEX_A/cache.S rename to targets/cmsis/TOOLCHAIN_GCC/TARGET_CORTEX_A/cache.S diff --git a/hal/targets/cmsis/TOOLCHAIN_IAR/TARGET_CORTEX_A/cache.s b/targets/cmsis/TOOLCHAIN_IAR/TARGET_CORTEX_A/cache.s similarity index 100% rename from hal/targets/cmsis/TOOLCHAIN_IAR/TARGET_CORTEX_A/cache.s rename to targets/cmsis/TOOLCHAIN_IAR/TARGET_CORTEX_A/cache.s diff --git a/hal/targets/cmsis/TOOLCHAIN_IAR/cmain.S b/targets/cmsis/TOOLCHAIN_IAR/cmain.S similarity index 100% rename from hal/targets/cmsis/TOOLCHAIN_IAR/cmain.S rename to targets/cmsis/TOOLCHAIN_IAR/cmain.S diff --git a/hal/targets/cmsis/arm_common_tables.h b/targets/cmsis/arm_common_tables.h similarity index 100% rename from hal/targets/cmsis/arm_common_tables.h rename to targets/cmsis/arm_common_tables.h diff --git a/libraries/dsp/cmsis_dsp/arm_const_structs.h b/targets/cmsis/arm_const_structs.h old mode 100644 new mode 100755 similarity index 100% rename from libraries/dsp/cmsis_dsp/arm_const_structs.h rename to targets/cmsis/arm_const_structs.h diff --git a/hal/targets/cmsis/arm_math.h b/targets/cmsis/arm_math.h similarity index 100% rename from hal/targets/cmsis/arm_math.h rename to targets/cmsis/arm_math.h diff --git a/hal/targets/cmsis/core_ca9.h b/targets/cmsis/core_ca9.h similarity index 100% rename from hal/targets/cmsis/core_ca9.h rename to targets/cmsis/core_ca9.h diff --git a/hal/targets/cmsis/core_caFunc.h b/targets/cmsis/core_caFunc.h similarity index 100% rename from hal/targets/cmsis/core_caFunc.h rename to targets/cmsis/core_caFunc.h diff --git a/hal/targets/cmsis/core_caInstr.h b/targets/cmsis/core_caInstr.h similarity index 100% rename from hal/targets/cmsis/core_caInstr.h rename to targets/cmsis/core_caInstr.h diff --git a/hal/targets/cmsis/core_ca_mmu.h b/targets/cmsis/core_ca_mmu.h similarity index 100% rename from hal/targets/cmsis/core_ca_mmu.h rename to targets/cmsis/core_ca_mmu.h diff --git a/hal/targets/cmsis/core_cm0.h b/targets/cmsis/core_cm0.h similarity index 100% rename from hal/targets/cmsis/core_cm0.h rename to targets/cmsis/core_cm0.h diff --git a/hal/targets/cmsis/core_cm0plus.h b/targets/cmsis/core_cm0plus.h similarity index 100% rename from hal/targets/cmsis/core_cm0plus.h rename to targets/cmsis/core_cm0plus.h diff --git a/hal/targets/cmsis/core_cm3.h b/targets/cmsis/core_cm3.h similarity index 100% rename from hal/targets/cmsis/core_cm3.h rename to targets/cmsis/core_cm3.h diff --git a/hal/targets/cmsis/core_cm4.h b/targets/cmsis/core_cm4.h similarity index 100% rename from hal/targets/cmsis/core_cm4.h rename to targets/cmsis/core_cm4.h diff --git a/hal/targets/cmsis/core_cm4_simd.h b/targets/cmsis/core_cm4_simd.h similarity index 100% rename from hal/targets/cmsis/core_cm4_simd.h rename to targets/cmsis/core_cm4_simd.h diff --git a/hal/targets/cmsis/core_cm7.h b/targets/cmsis/core_cm7.h similarity index 100% rename from hal/targets/cmsis/core_cm7.h rename to targets/cmsis/core_cm7.h diff --git a/hal/targets/cmsis/core_cmFunc.h b/targets/cmsis/core_cmFunc.h similarity index 100% rename from hal/targets/cmsis/core_cmFunc.h rename to targets/cmsis/core_cmFunc.h diff --git a/hal/targets/cmsis/core_cmInstr.h b/targets/cmsis/core_cmInstr.h similarity index 100% rename from hal/targets/cmsis/core_cmInstr.h rename to targets/cmsis/core_cmInstr.h diff --git a/hal/targets/cmsis/core_cmSecureAccess.h b/targets/cmsis/core_cmSecureAccess.h similarity index 100% rename from hal/targets/cmsis/core_cmSecureAccess.h rename to targets/cmsis/core_cmSecureAccess.h diff --git a/hal/targets/cmsis/core_cmSimd.h b/targets/cmsis/core_cmSimd.h similarity index 100% rename from hal/targets/cmsis/core_cmSimd.h rename to targets/cmsis/core_cmSimd.h diff --git a/hal/targets/cmsis/core_sc000.h b/targets/cmsis/core_sc000.h similarity index 100% rename from hal/targets/cmsis/core_sc000.h rename to targets/cmsis/core_sc000.h diff --git a/hal/targets/cmsis/core_sc300.h b/targets/cmsis/core_sc300.h similarity index 100% rename from hal/targets/cmsis/core_sc300.h rename to targets/cmsis/core_sc300.h diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/.gitattributes b/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/.gitattributes similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/.gitattributes rename to targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/.gitattributes diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/LICENSE-permissive-binary-license-1.0.txt b/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/LICENSE-permissive-binary-license-1.0.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/cordio/firmware/LICENSE-permissive-binary-license-1.0.txt rename to targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/LICENSE-permissive-binary-license-1.0.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/LICENSE.txt b/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/LICENSE.txt similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/LICENSE.txt rename to targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/LICENSE.txt diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/libcordio.0.0.1.a b/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/libcordio.0.0.1.a similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/libcordio.0.0.1.a rename to targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/libcordio.0.0.1.a diff --git a/hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/libcordio_platform.0.0.1.a b/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/libcordio_platform.0.0.1.a similarity index 100% rename from hal/targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/libcordio_platform.0.0.1.a rename to targets/hal/TARGET_ARM_SSG/TARGET_BEETLE/TOOLCHAIN_IAR/libcordio_platform.0.0.1.a diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralNames.h b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralNames.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralNames.h rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralNames.h diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralPins.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralPins.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralPins.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralPins.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralPins.h b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralPins.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralPins.h rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PeripheralPins.h diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PinNames.h b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PinNames.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PinNames.h rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PinNames.h diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PortNames.h b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PortNames.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PortNames.h rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/PortNames.h diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/device.h b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/device.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/device.h rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/device.h diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/mbed_overrides.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/mbed_overrides.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/mbed_overrides.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/mbed_overrides.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/objects.h b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/objects.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/objects.h rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/objects.h diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/analogin_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/dma.h b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/dma.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/dma.h rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/dma.h diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/dma_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/dma_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/dma_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/dma_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/entropy_hardware_poll.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/entropy_hardware_poll.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/entropy_hardware_poll.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/entropy_hardware_poll.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_irq_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_irq_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_irq_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_irq_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_object.h b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_object.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_object.h rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/gpio_object.h diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/i2c_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/lp_ticker.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/lp_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/lp_ticker.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/lp_ticker.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/pinmap.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/pinmap.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/pinmap.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/pinmap.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/port_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/port_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/port_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/port_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/pwmout_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/rtc_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/rtc_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/rtc_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/rtc_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/serial_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/serial_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/serial_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/serial_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/sleep.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/sleep.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/sleep.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/sleep.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/spi_api.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/spi_api.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/spi_api.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/spi_api.c diff --git a/hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/us_ticker.c b/targets/hal/TARGET_NUVOTON/TARGET_NUC472/us_ticker.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/us_ticker.c rename to targets/hal/TARGET_NUVOTON/TARGET_NUC472/us_ticker.c diff --git a/hal/targets/hal/TARGET_NUVOTON/nu_bitutil.h b/targets/hal/TARGET_NUVOTON/nu_bitutil.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/nu_bitutil.h rename to targets/hal/TARGET_NUVOTON/nu_bitutil.h diff --git a/hal/targets/hal/TARGET_NUVOTON/nu_miscutil.c b/targets/hal/TARGET_NUVOTON/nu_miscutil.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/nu_miscutil.c rename to targets/hal/TARGET_NUVOTON/nu_miscutil.c diff --git a/hal/targets/hal/TARGET_NUVOTON/nu_miscutil.h b/targets/hal/TARGET_NUVOTON/nu_miscutil.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/nu_miscutil.h rename to targets/hal/TARGET_NUVOTON/nu_miscutil.h diff --git a/hal/targets/hal/TARGET_NUVOTON/nu_modutil.c b/targets/hal/TARGET_NUVOTON/nu_modutil.c similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/nu_modutil.c rename to targets/hal/TARGET_NUVOTON/nu_modutil.c diff --git a/hal/targets/hal/TARGET_NUVOTON/nu_modutil.h b/targets/hal/TARGET_NUVOTON/nu_modutil.h similarity index 100% rename from hal/targets/hal/TARGET_NUVOTON/nu_modutil.h rename to targets/hal/TARGET_NUVOTON/nu_modutil.h diff --git a/hal/targets.json b/targets/targets.json similarity index 100% rename from hal/targets.json rename to targets/targets.json diff --git a/tools/build_api.py b/tools/build_api.py index e32c7978619..6ffc392fd6b 100644 --- a/tools/build_api.py +++ b/tools/build_api.py @@ -28,7 +28,7 @@ import fnmatch from tools.utils import mkdir, run_cmd, run_cmd_ext, NotSupportedException, ToolException, InvalidReleaseTargetException -from tools.paths import MBED_TARGETS_PATH, MBED_LIBRARIES, MBED_API, MBED_HAL, MBED_COMMON, MBED_CONFIG_FILE +from tools.paths import MBED_TARGETS_PATH, MBED_LIBRARIES, MBED_DRIVERS, MBED_PLATFORM, MBED_HAL, MBED_HEADER, MBED_CONFIG_FILE from tools.targets import TARGET_NAMES, TARGET_MAP from tools.libraries import Library from tools.toolchains import TOOLCHAIN_CLASSES @@ -714,18 +714,22 @@ def build_mbed_libs(target, toolchain_name, options=None, verbose=False, clean=F toolchain.info("Building library %s (%s, %s)" % ('MBED', target.name, toolchain_name)) # Common Headers - toolchain.copy_files(toolchain.scan_resources(MBED_API).headers, MBED_LIBRARIES) + toolchain.copy_files([MBED_HEADER], MBED_LIBRARIES) + toolchain.copy_files(toolchain.scan_resources(MBED_DRIVERS).headers, MBED_LIBRARIES) + toolchain.copy_files(toolchain.scan_resources(MBED_PLATFORM).headers, MBED_LIBRARIES) toolchain.copy_files(toolchain.scan_resources(MBED_HAL).headers, MBED_LIBRARIES) # Target specific sources - HAL_SRC = join(MBED_TARGETS_PATH, "hal") + HAL_SRC = MBED_TARGETS_PATH hal_implementation = toolchain.scan_resources(HAL_SRC) toolchain.copy_files(hal_implementation.headers + hal_implementation.hex_files + hal_implementation.libraries, BUILD_TARGET, resources=hal_implementation) incdirs = toolchain.scan_resources(BUILD_TARGET).inc_dirs objects = toolchain.compile_sources(hal_implementation, TMP_PATH, [MBED_LIBRARIES] + incdirs) # Common Sources - mbed_resources = toolchain.scan_resources(MBED_COMMON) + mbed_resources = (toolchain.scan_resources(MBED_DRIVERS) + + toolchain.scan_resources(MBED_PLATFORM) + + toolchain.scan_resources(MBED_HAL)) objects += toolchain.compile_sources(mbed_resources, TMP_PATH, [MBED_LIBRARIES] + incdirs) # A number of compiled files need to be copied as objects as opposed to @@ -734,7 +738,7 @@ def build_mbed_libs(target, toolchain_name, options=None, verbose=False, clean=F # - retarget.o: to make sure that the C standard lib symbols get overridden # - board.o: mbed_die is weak # - mbed_overrides.o: this contains platform overrides of various weak SDK functions - separate_names, separate_objects = ['retarget.o', 'board.o', 'mbed_overrides.o'], [] + separate_names, separate_objects = ['retarget.o', 'mbed_board.o', 'mbed_overrides.o'], [] for o in objects: for name in separate_names: @@ -939,11 +943,13 @@ def static_analysis_scan(target, toolchain_name, CPPCHECK_CMD, CPPCHECK_MSG_FORM toolchain.info("Static analysis for %s (%s, %s)" % ('MBED', target.name, toolchain_name)) # Common Headers - toolchain.copy_files(toolchain.scan_resources(MBED_API).headers, MBED_LIBRARIES) + toolchain.copy_files([MBED_HEADER], MBED_LIBRARIES) + toolchain.copy_files(toolchain.scan_resources(MBED_DRIVERS).headers, MBED_LIBRARIES) + toolchain.copy_files(toolchain.scan_resources(MBED_PLATFORM).headers, MBED_LIBRARIES) toolchain.copy_files(toolchain.scan_resources(MBED_HAL).headers, MBED_LIBRARIES) # Target specific sources - HAL_SRC = join(MBED_TARGETS_PATH, "hal") + HAL_SRC = MBED_TARGETS_PATH hal_implementation = toolchain.scan_resources(HAL_SRC) # Copy files before analysis @@ -958,13 +964,15 @@ def static_analysis_scan(target, toolchain_name, CPPCHECK_CMD, CPPCHECK_MSG_FORM target_macros = ["-D%s"% s for s in toolchain.get_symbols() + toolchain.macros] # Common Sources - mbed_resources = toolchain.scan_resources(MBED_COMMON) + mbed_resources = (toolchain.scan_resources(MBED_DRIVERS) + + toolchain.scan_resources(MBED_PLATFORM) + + toolchain.scan_resources(MBED_HAL)) # Gather include paths, c, cpp sources and macros to transfer to cppcheck command line mbed_includes = ["-I%s" % i for i in mbed_resources.inc_dirs] mbed_includes.append("-I%s"% str(BUILD_TARGET)) - mbed_includes.append("-I%s"% str(MBED_COMMON)) - mbed_includes.append("-I%s"% str(MBED_API)) + mbed_includes.append("-I%s"% str(MBED_DRIVERS)) + mbed_includes.append("-I%s"% str(MBED_PLATFORM)) mbed_includes.append("-I%s"% str(MBED_HAL)) mbed_c_sources = " ".join(mbed_resources.c_sources) mbed_cpp_sources = " ".join(mbed_resources.cpp_sources) diff --git a/tools/build_release.py b/tools/build_release.py index ec46e32293e..73bec85adf5 100644 --- a/tools/build_release.py +++ b/tools/build_release.py @@ -33,7 +33,7 @@ from tools.test_exporters import ReportExporter, ResultExporterType from tools.test_api import SingleTestRunner from tools.test_api import singletest_in_cli_mode -from tools.paths import TEST_DIR, MBED_LIBRARIES +from tools.paths import TEST_DIR, MBED_LIBRARIES, MBED_TARGETS_PATH from tools.tests import TEST_MAP OFFICIAL_MBED_LIBRARY_BUILD = get_mbed_official_release('2') @@ -169,7 +169,7 @@ print str(e) # copy targets.json file as part of the release - copy(join(dirname(abspath(__file__)), '..', 'hal', 'targets.json'), MBED_LIBRARIES) + copy(join(MBED_TARGETS_PATH, 'targets.json'), MBED_LIBRARIES) # Write summary of the builds if options.report_build_file_name: diff --git a/tools/paths.py b/tools/paths.py index 6092e6caf9e..d54ffe4dac4 100644 --- a/tools/paths.py +++ b/tools/paths.py @@ -24,19 +24,19 @@ BUILD_DIR = getenv("MBED_BUILD_DIR") or BUILD_DIR # Embedded Libraries Sources -LIB_DIR = join(ROOT, "libraries") +LIB_DIR = join(ROOT, "features", "unsupported") TOOLS = join(ROOT, "tools") TOOLS_DATA = join(TOOLS, "data") TOOLS_BOOTLOADERS = join(TOOLS, "bootloaders") # mbed libraries -MBED_BASE = join(ROOT, "hal") +MBED_HEADER = join(ROOT, "mbed.h") -MBED_API = join(MBED_BASE, "api") -MBED_COMMON = join(MBED_BASE, "common") -MBED_HAL = join(MBED_BASE, "hal") -MBED_TARGETS_PATH = join(MBED_BASE, "targets") +MBED_DRIVERS = join(ROOT, "drivers") +MBED_PLATFORM = join(ROOT, "platform") +MBED_HAL = join(ROOT, "hal") +MBED_TARGETS_PATH = join(ROOT, "targets") MBED_LIBRARIES = join(BUILD_DIR, "mbed") diff --git a/tools/project_api.py b/tools/project_api.py index f0bfb04795a..140053ebf6e 100644 --- a/tools/project_api.py +++ b/tools/project_api.py @@ -4,7 +4,7 @@ sys.path.insert(0, ROOT) from tools.paths import EXPORT_WORKSPACE, EXPORT_TMP -from tools.paths import MBED_BASE, MBED_LIBRARIES +from tools.paths import MBED_DRIVERS, MBED_PLATFORM, MBED_LIBRARIES from tools.export import export, setup_user_prj from tools.utils import mkdir from tools.tests import Test, TEST_MAP, TESTS @@ -74,7 +74,8 @@ def setup_project(mcu, ide, program=None, source_dir=None, build=None): # TODO: Substitute also the other library build paths if MBED_LIBRARIES in test.dependencies: test.dependencies.remove(MBED_LIBRARIES) - test.dependencies.append(MBED_BASE) + test.dependencies.append(MBED_DRIVERS) + test.dependencies.append(MBED_PLATFORM) # Build the project with the same directory structure of the mbed online IDE project_name = test.id diff --git a/requirements.txt b/tools/requirements.txt similarity index 100% rename from requirements.txt rename to tools/requirements.txt diff --git a/tools/synch.py b/tools/synch.py index 5b4da3c31ac..332049cf605 100644 --- a/tools/synch.py +++ b/tools/synch.py @@ -47,7 +47,7 @@ # Tuple data: (repo_name, list_of_code_dirs, [team]) # team is optional - if not specified, the code is published under mbed_official OFFICIAL_CODE = ( - ("mbed-dev" , MBED_BASE), + ("mbed-dev" , [MBED_DRIVERS, MBED_PLATFORM]), ("mbed-rtos", RTOS), ("mbed-dsp" , DSP), ("mbed-rpc" , MBED_RPC), diff --git a/tools/targets.py b/tools/targets.py index 1a2c3b5481e..e6ab9d84cbf 100644 --- a/tools/targets.py +++ b/tools/targets.py @@ -65,7 +65,7 @@ class Target: __py_targets = set() # Default location of the 'targets.json' file - __targets_json_location_default = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'hal', 'targets.json') + __targets_json_location_default = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'targets', 'targets.json') # Current/new location of the 'targets.json' file __targets_json_location = None