From 8caefee39d444df6d8908a96a844825f10fbdaa4 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 13 Nov 2015 10:18:04 +0100 Subject: [PATCH] separate platform specific code and ports for a particular setup --- {platform => port}/arduino/.gitignore | 0 {platform => port}/arduino/BTstack.cpp | 0 {platform => port}/arduino/BTstack.h | 0 {platform => port}/arduino/Makefile | 0 {platform => port}/arduino/bsp_arduino_em9301.cpp | 0 {platform => port}/arduino/btstack-config.h | 0 {platform => port}/arduino/docs/.gitignore | 0 {platform => port}/arduino/docs/Makefile | 0 {platform => port}/arduino/docs/docs/.gitignore | 0 .../arduino/docs/docs/examples/.gitignore | 0 .../arduino/docs/docs/examples/intro.md | 0 {platform => port}/arduino/docs/docs/index.md | 0 .../arduino/docs/docs/picts/setup.jpg | Bin .../arduino/docs/docs/picts/sketch.jpg | Bin {platform => port}/arduino/docs/docs/tutorial.md | 0 {platform => port}/arduino/docs/generated.md | 0 {platform => port}/arduino/docs/mkdocs.yml | 0 {platform => port}/arduino/docs/update_apis.py | 0 {platform => port}/arduino/docs/update_listings.py | 0 {platform => port}/arduino/docs/upload_site_sftp.sh | 0 {platform => port}/arduino/examples/ANCS/ANCS.ino | 0 .../arduino/examples/LECentral/LECentral.ino | 0 .../arduino/examples/LEPeripheral/LEPeripheral.ino | 0 .../arduino/examples/iBeacon/iBeacon.ino | 0 .../examples/iBeaconScanner/iBeaconScanner.ino | 0 {platform => port}/arduino/setup.jpg | Bin {platform => port}/arduino/upload_latest_sftp.sh | 0 {platform => port}/ez430-rf2560/Makefile | 0 {platform => port}/ez430-rf2560/btstack-config.h | 0 {platform => port}/ez430-rf2560/example/ant-test.c | 0 {platform => port}/ez430-rf2560/example/spp_accel.c | 0 {platform => port}/ez430-rf2560/firmware/hal_adc.c | 0 {platform => port}/ez430-rf2560/firmware/hal_adc.h | 0 .../ez430-rf2560/firmware/hal_board.c | 0 .../ez430-rf2560/firmware/hal_board.h | 0 {platform => port}/ez430-rf2560/firmware/hal_usb.c | 0 {platform => port}/ez430-rf2560/firmware/hal_usb.h | 0 {platform => port}/ez430-rf2560/firmware/hal_util.c | 0 {platform => port}/ez430-rf2560/firmware/hal_util.h | 0 {platform => port}/ez430-rf2560/setup.jpg | Bin {platform => port}/ez430-rf2560/src/hal_cpu.c | 0 {platform => port}/ez430-rf2560/src/hal_tick.c | 0 {platform => port}/ez430-rf2560/src/hal_uart_dma.c | 0 {platform => port}/ez430-rf2560/src/main.c | 0 {platform => port}/ios/.gitignore | 0 {platform => port}/ios/3rdparty/README | 0 {platform => port}/ios/3rdparty/launch.h | 0 {platform => port}/ios/3rdparty/libsubstrate.dylib | Bin {platform => port}/ios/3rdparty/substrate.h | 0 {platform => port}/ios/CocoaTouch/icons/LICENSE.txt | 0 .../ios/CocoaTouch/icons/bluetooth.png | Bin .../ios/CocoaTouch/icons/computer.png | Bin .../ios/CocoaTouch/icons/keyboard.png | Bin {platform => port}/ios/CocoaTouch/icons/mouse.png | Bin .../ios/CocoaTouch/icons/smartphone.png | Bin .../ios/CocoaTouch/include/BTstack/BTDevice.h | 0 .../include/BTstack/BTDiscoveryViewController.h | 0 .../include/BTstack/BTInquiryViewController.h | 0 .../ios/CocoaTouch/include/BTstack/BTstackManager.h | 0 {platform => port}/ios/CocoaTouch/src/BTDevice.m | 0 .../ios/CocoaTouch/src/BTDiscoveryViewController.m | 0 .../ios/CocoaTouch/src/BTInquiryViewController.m | 0 .../ios/CocoaTouch/src/BTstackCocoaAppDelegate.h | 0 .../ios/CocoaTouch/src/BTstackCocoaAppDelegate.m | 0 .../ios/CocoaTouch/src/BTstackManager.m | 0 .../ios/CocoaTouch/src/TestBTstackManager.h | 0 .../ios/CocoaTouch/src/TestBTstackManager.m | 0 {platform => port}/ios/CocoaTouch/src/main.m | 0 {platform => port}/ios/Makefile | 0 {platform => port}/ios/PatchBlueTool/Makefile | 0 .../ios/PatchBlueTool/PatchBlueTool.c | 0 .../ios/PrefsBundle/BluetoothController.h | 0 .../ios/PrefsBundle/BluetoothController.m | 0 .../ios/PrefsBundle/BluetoothTableViewAdapter.h | 0 .../ios/PrefsBundle/BluetoothTableViewAdapter.m | 0 {platform => port}/ios/PrefsBundle/Makefile | 0 .../ios/PrefsBundle/PrefsViewController.m | 0 .../ios/PrefsBundle/Resources/BTstack.plist | 0 .../ios/PrefsBundle/Resources/BTstack.png | Bin .../ios/PrefsBundle/Resources/BTstack@2x.png | Bin .../ios/PrefsBundle/Resources/Info.plist | 0 {platform => port}/ios/PrefsBundle/control | 0 {platform => port}/ios/PrefsBundle/entry.plist | 0 {platform => port}/ios/README.md | 0 {platform => port}/ios/SpringBoardAccess/Makefile | 0 .../ios/SpringBoardAccess/SpringBoardAccess-test.c | 0 .../ios/SpringBoardAccess/SpringBoardAccess.c | 0 .../ios/SpringBoardAccess/SpringBoardAccess.h | 0 .../ios/SpringBoardAccess/SpringBoardAccess.plist | 0 {platform => port}/ios/SpringBoardAccess/Tweak.xm | 0 {platform => port}/ios/SpringBoardAccess/control | 0 {platform => port}/ios/btstack-config.h | 0 {platform => port}/ios/example/Makefile | 0 .../example/WiiMoteOpenGLDemo/Classes/EAGLView.h | 0 .../example/WiiMoteOpenGLDemo/Classes/EAGLView.m | 0 .../WiiMoteOpenGLDemo/Classes/EAGLViewController.h | 0 .../WiiMoteOpenGLDemo/Classes/EAGLViewController.m | 0 .../Classes/WiiMoteOpenGLDemoAppDelegate.h | 0 .../Classes/WiiMoteOpenGLDemoAppDelegate.m | 0 .../ios/example/WiiMoteOpenGLDemo/Makefile | 0 .../example/WiiMoteOpenGLDemo/Resources/Info.plist | 0 .../WiiMoteOpenGLDemo/Resources/wiimote_logo.png | Bin .../Resources/wiimote_logo_55px.png | Bin .../WiiMoteOpenGLDemo/Resources/wiimote_texture.png | Bin .../ios/example/WiiMoteOpenGLDemo/control | 0 .../ios/example/WiiMoteOpenGLDemo/main.m | 0 .../ios/example/WiiMoteOpenGLDemo/package.sh | 0 .../ios/example/WiiMoteOpenGLDemo/rotation.c | 0 .../example/WiiMoteOpenGLDemo/wiimote_coords.txt | 0 {platform => port}/ios/layout/DEBIAN/control | 0 {platform => port}/ios/layout/DEBIAN/extrainst_ | 0 {platform => port}/ios/layout/DEBIAN/postinst | 0 {platform => port}/ios/layout/DEBIAN/prerm | 0 .../Library/LaunchDaemons/ch.ringwald.BTstack.plist | 0 .../SpringBoard.app/Default_BTstack.png | Bin .../SpringBoard.app/Default_BTstackActive.png | Bin .../CoreServices/SpringBoard.app/FSO_BTstack.png | Bin .../SpringBoard.app/FSO_BTstackActive.png | Bin .../Frameworks/UIKit.framework/Black_BTstack.png | Bin .../Frameworks/UIKit.framework/Black_BTstack@2x.png | Bin .../UIKit.framework/Black_BTstackActive.png | Bin .../UIKit.framework/Black_BTstackActive@2x.png | Bin .../Frameworks/UIKit.framework/Silver_BTstack.png | Bin .../UIKit.framework/Silver_BTstack@2x.png | Bin .../UIKit.framework/Silver_BTstackActive.png | Bin .../UIKit.framework/Silver_BTstackActive@2x.png | Bin {platform => port}/ios/src/Makefile | 0 {platform => port}/ios/src/bt_control_iphone.h | 0 {platform => port}/ios/src/bt_control_iphone.m | 0 .../ios/src/hci_transport_h4_iphone.c | 0 {platform => port}/ios/src/platform_iphone.h | 0 {platform => port}/ios/src/platform_iphone.m | 0 {platform => port}/libusb/.gitignore | 0 {platform => port}/libusb/Makefile | 0 {platform => port}/libusb/btstack-config.h | 0 {platform => port}/libusb/main.c | 0 {platform => port}/msp-exp430f5438-cc2564b/Makefile | 0 .../msp-exp430f5438-cc2564b/btstack-config.h | 0 .../msp-exp430f5438-cc2564b/example/ant-test.c | 0 .../msp-exp430f5438-cc2564b/example/ble_server.c | 0 .../msp-exp430f5438-cc2564b/example/hid_demo.c | 0 .../msp-exp430f5438-cc2564b/example/spp_accel.c | 0 .../firmware/UserExperienceGraphics.h | 0 .../msp-exp430f5438-cc2564b/firmware/hal_adc.c | 0 .../msp-exp430f5438-cc2564b/firmware/hal_adc.h | 0 .../msp-exp430f5438-cc2564b/firmware/hal_board.c | 0 .../msp-exp430f5438-cc2564b/firmware/hal_board.h | 0 .../msp-exp430f5438-cc2564b/firmware/hal_lcd.c | 0 .../msp-exp430f5438-cc2564b/firmware/hal_lcd.h | 0 .../firmware/hal_lcd_fonts.c | 0 .../firmware/hal_lcd_fonts.h | 0 .../msp-exp430f5438-cc2564b/firmware/hal_usb.c | 0 .../msp-exp430f5438-cc2564b/firmware/hal_usb.h | 0 .../msp-exp430f5438-cc2564b/firmware/hal_util.c | 0 .../msp-exp430f5438-cc2564b/firmware/hal_util.h | 0 .../msp-exp430f5438-cc2564b/setup.jpg | Bin .../msp-exp430f5438-cc2564b/src/hal_cpu.c | 0 .../msp-exp430f5438-cc2564b/src/hal_tick.c | 0 .../msp-exp430f5438-cc2564b/src/hal_uart_dma.c | 0 .../msp-exp430f5438-cc2564b/src/main.c | 0 {platform => port}/msp430f5229lp-cc2564b/.gitignore | 0 {platform => port}/msp430f5229lp-cc2564b/Makefile | 0 .../msp430f5229lp-cc2564b/btstack-config.h | 0 .../msp430f5229lp-cc2564b/example/ble_server.c | 0 .../msp430f5229lp-cc2564b/firmware/hal_board.c | 0 .../msp430f5229lp-cc2564b/firmware/hal_board.h | 0 .../msp430f5229lp-cc2564b/firmware/hal_usb.c | 0 .../msp430f5229lp-cc2564b/firmware/hal_usb.h | 0 {platform => port}/msp430f5229lp-cc2564b/setup.jpg | Bin .../msp430f5229lp-cc2564b/src/hal_cpu.c | 0 .../msp430f5229lp-cc2564b/src/hal_tick.c | 0 .../msp430f5229lp-cc2564b/src/hal_uart_dma.c | 0 {platform => port}/msp430f5229lp-cc2564b/src/main.c | 0 {platform => port}/mtk/.gitignore | 0 {platform => port}/mtk/BTstackDaemonRespawn.c | 0 {platform => port}/mtk/LEScan/.classpath | 0 {platform => port}/mtk/LEScan/.project | 0 .../mtk/LEScan/.settings/org.eclipse.jdt.core.prefs | 0 {platform => port}/mtk/LEScan/AndroidManifest.xml | 0 .../mtk/LEScan/bin/AndroidManifest.xml | 0 .../gen/com/bluekitchen/lescan/BuildConfig.java | 0 .../mtk/LEScan/gen/com/bluekitchen/lescan/R.java | 0 {platform => port}/mtk/LEScan/hs_err_pid91618.log | 0 {platform => port}/mtk/LEScan/hs_err_pid91628.log | 0 {platform => port}/mtk/LEScan/ic_launcher-web.png | Bin .../mtk/LEScan/libs/android-support-v4.jar | Bin {platform => port}/mtk/LEScan/proguard-project.txt | 0 {platform => port}/mtk/LEScan/project.properties | 0 .../mtk/LEScan/res/drawable-hdpi/ic_launcher.png | Bin .../mtk/LEScan/res/drawable-mdpi/ic_launcher.png | Bin .../mtk/LEScan/res/drawable-xhdpi/ic_launcher.png | Bin .../mtk/LEScan/res/drawable-xxhdpi/ic_launcher.png | Bin .../mtk/LEScan/res/layout/activity_main.xml | 0 {platform => port}/mtk/LEScan/res/menu/main.xml | 0 .../mtk/LEScan/res/values-sw600dp/dimens.xml | 0 .../mtk/LEScan/res/values-sw720dp-land/dimens.xml | 0 .../mtk/LEScan/res/values-v11/styles.xml | 0 .../mtk/LEScan/res/values-v14/styles.xml | 0 {platform => port}/mtk/LEScan/res/values/dimens.xml | 0 .../mtk/LEScan/res/values/strings.xml | 0 {platform => port}/mtk/LEScan/res/values/styles.xml | 0 .../bluekitchen/btstack/SocketConnectionUnix.java | 0 .../src/com/bluekitchen/lescan/MainActivity.java | 0 {platform => port}/mtk/Makefile | 0 {platform => port}/mtk/SPPClient/.classpath | 0 {platform => port}/mtk/SPPClient/.project | 0 .../SPPClient/.settings/org.eclipse.jdt.core.prefs | 0 .../mtk/SPPClient/AndroidManifest.xml | 0 .../mtk/SPPClient/bin/AndroidManifest.xml | 0 .../gen/com/bluekitchen/sppclient/BuildConfig.java | 0 .../SPPClient/gen/com/bluekitchen/sppclient/R.java | 0 .../mtk/SPPClient/ic_launcher-web.png | Bin .../mtk/SPPClient/libs/android-support-v4.jar | Bin .../mtk/SPPClient/proguard-project.txt | 0 {platform => port}/mtk/SPPClient/project.properties | 0 .../mtk/SPPClient/res/drawable-hdpi/ic_launcher.png | Bin .../mtk/SPPClient/res/drawable-mdpi/ic_launcher.png | Bin .../SPPClient/res/drawable-xhdpi/ic_launcher.png | Bin .../SPPClient/res/drawable-xxhdpi/ic_launcher.png | Bin .../mtk/SPPClient/res/layout/activity_main.xml | 0 {platform => port}/mtk/SPPClient/res/menu/main.xml | 0 .../mtk/SPPClient/res/values-sw600dp/dimens.xml | 0 .../SPPClient/res/values-sw720dp-land/dimens.xml | 0 .../mtk/SPPClient/res/values-v11/styles.xml | 0 .../mtk/SPPClient/res/values-v14/styles.xml | 0 .../mtk/SPPClient/res/values/dimens.xml | 0 .../mtk/SPPClient/res/values/strings.xml | 0 .../mtk/SPPClient/res/values/styles.xml | 0 .../bluekitchen/btstack/SocketConnectionUnix.java | 0 .../src/com/bluekitchen/sppclient/MainActivity.java | 0 {platform => port}/mtk/bluetoothdrv-stub.c | 0 {platform => port}/mtk/bluetoothdrv.h | 0 {platform => port}/mtk/btstack-config.h | 0 {platform => port}/mtk/deinstaller.sh | 0 {platform => port}/mtk/docs/.gitignore | 0 {platform => port}/mtk/docs/data/.gitignore | 0 {platform => port}/mtk/docs/picts/cydiaimpactor.png | Bin .../mtk/docs/picts/ruggear_initial_hci_dump.pdf | Bin .../mtk/docs/picts/scan_parameters_hci_dump.png | Bin .../mtk/docs/ruggear-gettingstarted.pdf | Bin .../mtk/docs/ruggear-gettingstarted.tex | 0 {platform => port}/mtk/docs/scripts/plot_scan.py | 0 .../mtk/docs/scripts/plot_scan_two_groups.py | 0 {platform => port}/mtk/docs/scripts/process_scan.py | 0 {platform => port}/mtk/hci_transport_h4_mtk.c | 0 {platform => port}/mtk/installer.sh | 0 {platform => port}/mtk/package.sh | 0 {platform => port}/mtk/readme.txt | 0 {platform => port}/mtk/restart.sh | 0 {platform => port}/pic32-harmony/README | 0 {platform => port}/pic32-harmony/app.X/.gitignore | 0 {platform => port}/pic32-harmony/app.X/Makefile | 0 .../app.X/nbproject/Makefile-default.mk | 0 .../app.X/nbproject/Makefile-genesis.properties | 0 .../pic32-harmony/app.X/nbproject/Makefile-impl.mk | 0 .../app.X/nbproject/Makefile-local-default.mk | 0 .../app.X/nbproject/Makefile-variables.mk | 0 .../app.X/nbproject/Package-default.bash | 0 .../app.X/nbproject/configurations.xml | 0 .../app.X/nbproject/private/configurations.xml | 0 .../app.X/nbproject/private/private.properties | 0 .../app.X/nbproject/private/private.xml | 0 .../app.X/nbproject/project.properties | 0 .../pic32-harmony/app.X/nbproject/project.xml | 0 .../pic32-harmony/setup-bluetooth-audio-devkit.jpg | Bin {platform => port}/pic32-harmony/src/app.c | 0 {platform => port}/pic32-harmony/src/app.h | 0 {platform => port}/pic32-harmony/src/app_debug.c | 0 {platform => port}/pic32-harmony/src/app_debug.h | 0 .../pic32-harmony/src/btstack-config.h | 0 {platform => port}/pic32-harmony/src/btstack_port.c | 0 {platform => port}/pic32-harmony/src/btstack_port.h | 0 {platform => port}/pic32-harmony/src/main.c | 0 .../pic32-harmony/src/spp_and_le_counter.h | 0 .../src/system_config/bk-audio-dk/system_config.h | 0 .../system_config/bk-audio-dk/system_definitions.h | 0 .../src/system_config/bk-audio-dk/system_init.c | 0 .../src/system_config/bk-audio-dk/system_tasks.c | 0 {platform => port}/posix-cc2564b/.gitignore | 0 {platform => port}/posix-cc2564b/Makefile | 0 {platform => port}/posix-cc2564b/btstack-config.h | 0 {platform => port}/posix-cc2564b/main.c | 0 {platform => port}/posix-h4/.gitignore | 0 {platform => port}/posix-h4/Makefile | 0 {platform => port}/posix-h4/btstack-config.h | 0 {platform => port}/posix-h4/main.c | 0 {platform => port}/posix-stlc2500d/.gitignore | 0 {platform => port}/posix-stlc2500d/Makefile | 0 {platform => port}/posix-stlc2500d/btstack-config.h | 0 {platform => port}/posix-stlc2500d/main.c | 0 {platform => port}/posix-stlc2500d/setup.jpg | Bin {platform => port}/posix-wl183x/.gitignore | 0 {platform => port}/posix-wl183x/Makefile | 0 {platform => port}/posix-wl183x/btstack-config.h | 0 {platform => port}/posix-wl183x/main.c | 0 {platform => port}/posix-wl183x/setup.jpg | Bin {platform => port}/stm32-f103rb-nucleo/.gitignore | 0 {platform => port}/stm32-f103rb-nucleo/Makefile | 0 {platform => port}/stm32-f103rb-nucleo/README.md | 0 .../stm32-f103rb-nucleo/btstack-config.h | 0 .../stm32-f103rb-nucleo/libopencm3.rules.mk | 0 .../stm32-f103rb-nucleo/libopencm3.stm32f1.mk | 0 {platform => port}/stm32-f103rb-nucleo/main.c | 0 {platform => port}/stm32-f103rb-nucleo/setup.jpg | Bin .../stm32-f103rb-nucleo/spp_and_le_counter.gatt | 0 .../stm32-f103rb-nucleo/stm32f1-nucleo.ld | 0 306 files changed, 0 insertions(+), 0 deletions(-) rename {platform => port}/arduino/.gitignore (100%) rename {platform => port}/arduino/BTstack.cpp (100%) rename {platform => port}/arduino/BTstack.h (100%) rename {platform => port}/arduino/Makefile (100%) rename {platform => port}/arduino/bsp_arduino_em9301.cpp (100%) rename {platform => port}/arduino/btstack-config.h (100%) rename {platform => port}/arduino/docs/.gitignore (100%) rename {platform => port}/arduino/docs/Makefile (100%) rename {platform => port}/arduino/docs/docs/.gitignore (100%) rename {platform => port}/arduino/docs/docs/examples/.gitignore (100%) rename {platform => port}/arduino/docs/docs/examples/intro.md (100%) rename {platform => port}/arduino/docs/docs/index.md (100%) rename {platform => port}/arduino/docs/docs/picts/setup.jpg (100%) rename {platform => port}/arduino/docs/docs/picts/sketch.jpg (100%) rename {platform => port}/arduino/docs/docs/tutorial.md (100%) rename {platform => port}/arduino/docs/generated.md (100%) rename {platform => port}/arduino/docs/mkdocs.yml (100%) rename {platform => port}/arduino/docs/update_apis.py (100%) rename {platform => port}/arduino/docs/update_listings.py (100%) rename {platform => port}/arduino/docs/upload_site_sftp.sh (100%) rename {platform => port}/arduino/examples/ANCS/ANCS.ino (100%) rename {platform => port}/arduino/examples/LECentral/LECentral.ino (100%) rename {platform => port}/arduino/examples/LEPeripheral/LEPeripheral.ino (100%) rename {platform => port}/arduino/examples/iBeacon/iBeacon.ino (100%) rename {platform => port}/arduino/examples/iBeaconScanner/iBeaconScanner.ino (100%) rename {platform => port}/arduino/setup.jpg (100%) rename {platform => port}/arduino/upload_latest_sftp.sh (100%) rename {platform => port}/ez430-rf2560/Makefile (100%) rename {platform => port}/ez430-rf2560/btstack-config.h (100%) rename {platform => port}/ez430-rf2560/example/ant-test.c (100%) rename {platform => port}/ez430-rf2560/example/spp_accel.c (100%) rename {platform => port}/ez430-rf2560/firmware/hal_adc.c (100%) rename {platform => port}/ez430-rf2560/firmware/hal_adc.h (100%) rename {platform => port}/ez430-rf2560/firmware/hal_board.c (100%) rename {platform => port}/ez430-rf2560/firmware/hal_board.h (100%) rename {platform => port}/ez430-rf2560/firmware/hal_usb.c (100%) rename {platform => port}/ez430-rf2560/firmware/hal_usb.h (100%) rename {platform => port}/ez430-rf2560/firmware/hal_util.c (100%) rename {platform => port}/ez430-rf2560/firmware/hal_util.h (100%) rename {platform => port}/ez430-rf2560/setup.jpg (100%) rename {platform => port}/ez430-rf2560/src/hal_cpu.c (100%) rename {platform => port}/ez430-rf2560/src/hal_tick.c (100%) rename {platform => port}/ez430-rf2560/src/hal_uart_dma.c (100%) rename {platform => port}/ez430-rf2560/src/main.c (100%) rename {platform => port}/ios/.gitignore (100%) rename {platform => port}/ios/3rdparty/README (100%) rename {platform => port}/ios/3rdparty/launch.h (100%) rename {platform => port}/ios/3rdparty/libsubstrate.dylib (100%) rename {platform => port}/ios/3rdparty/substrate.h (100%) rename {platform => port}/ios/CocoaTouch/icons/LICENSE.txt (100%) rename {platform => port}/ios/CocoaTouch/icons/bluetooth.png (100%) rename {platform => port}/ios/CocoaTouch/icons/computer.png (100%) rename {platform => port}/ios/CocoaTouch/icons/keyboard.png (100%) rename {platform => port}/ios/CocoaTouch/icons/mouse.png (100%) rename {platform => port}/ios/CocoaTouch/icons/smartphone.png (100%) rename {platform => port}/ios/CocoaTouch/include/BTstack/BTDevice.h (100%) rename {platform => port}/ios/CocoaTouch/include/BTstack/BTDiscoveryViewController.h (100%) rename {platform => port}/ios/CocoaTouch/include/BTstack/BTInquiryViewController.h (100%) rename {platform => port}/ios/CocoaTouch/include/BTstack/BTstackManager.h (100%) rename {platform => port}/ios/CocoaTouch/src/BTDevice.m (100%) rename {platform => port}/ios/CocoaTouch/src/BTDiscoveryViewController.m (100%) rename {platform => port}/ios/CocoaTouch/src/BTInquiryViewController.m (100%) rename {platform => port}/ios/CocoaTouch/src/BTstackCocoaAppDelegate.h (100%) rename {platform => port}/ios/CocoaTouch/src/BTstackCocoaAppDelegate.m (100%) rename {platform => port}/ios/CocoaTouch/src/BTstackManager.m (100%) rename {platform => port}/ios/CocoaTouch/src/TestBTstackManager.h (100%) rename {platform => port}/ios/CocoaTouch/src/TestBTstackManager.m (100%) rename {platform => port}/ios/CocoaTouch/src/main.m (100%) rename {platform => port}/ios/Makefile (100%) rename {platform => port}/ios/PatchBlueTool/Makefile (100%) rename {platform => port}/ios/PatchBlueTool/PatchBlueTool.c (100%) rename {platform => port}/ios/PrefsBundle/BluetoothController.h (100%) rename {platform => port}/ios/PrefsBundle/BluetoothController.m (100%) rename {platform => port}/ios/PrefsBundle/BluetoothTableViewAdapter.h (100%) rename {platform => port}/ios/PrefsBundle/BluetoothTableViewAdapter.m (100%) rename {platform => port}/ios/PrefsBundle/Makefile (100%) rename {platform => port}/ios/PrefsBundle/PrefsViewController.m (100%) rename {platform => port}/ios/PrefsBundle/Resources/BTstack.plist (100%) rename {platform => port}/ios/PrefsBundle/Resources/BTstack.png (100%) rename {platform => port}/ios/PrefsBundle/Resources/BTstack@2x.png (100%) rename {platform => port}/ios/PrefsBundle/Resources/Info.plist (100%) rename {platform => port}/ios/PrefsBundle/control (100%) rename {platform => port}/ios/PrefsBundle/entry.plist (100%) rename {platform => port}/ios/README.md (100%) rename {platform => port}/ios/SpringBoardAccess/Makefile (100%) rename {platform => port}/ios/SpringBoardAccess/SpringBoardAccess-test.c (100%) rename {platform => port}/ios/SpringBoardAccess/SpringBoardAccess.c (100%) rename {platform => port}/ios/SpringBoardAccess/SpringBoardAccess.h (100%) rename {platform => port}/ios/SpringBoardAccess/SpringBoardAccess.plist (100%) rename {platform => port}/ios/SpringBoardAccess/Tweak.xm (100%) rename {platform => port}/ios/SpringBoardAccess/control (100%) rename {platform => port}/ios/btstack-config.h (100%) rename {platform => port}/ios/example/Makefile (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.h (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.m (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.h (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.m (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.h (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.m (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Makefile (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Resources/Info.plist (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo.png (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo_55px.png (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_texture.png (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/control (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/main.m (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/package.sh (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/rotation.c (100%) rename {platform => port}/ios/example/WiiMoteOpenGLDemo/wiimote_coords.txt (100%) rename {platform => port}/ios/layout/DEBIAN/control (100%) rename {platform => port}/ios/layout/DEBIAN/extrainst_ (100%) rename {platform => port}/ios/layout/DEBIAN/postinst (100%) rename {platform => port}/ios/layout/DEBIAN/prerm (100%) rename {platform => port}/ios/layout/Library/LaunchDaemons/ch.ringwald.BTstack.plist (100%) rename {platform => port}/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstack.png (100%) rename {platform => port}/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstackActive.png (100%) rename {platform => port}/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstack.png (100%) rename {platform => port}/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstackActive.png (100%) rename {platform => port}/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack.png (100%) rename {platform => port}/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack@2x.png (100%) rename {platform => port}/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive.png (100%) rename {platform => port}/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive@2x.png (100%) rename {platform => port}/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack.png (100%) rename {platform => port}/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack@2x.png (100%) rename {platform => port}/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive.png (100%) rename {platform => port}/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive@2x.png (100%) rename {platform => port}/ios/src/Makefile (100%) rename {platform => port}/ios/src/bt_control_iphone.h (100%) rename {platform => port}/ios/src/bt_control_iphone.m (100%) rename {platform => port}/ios/src/hci_transport_h4_iphone.c (100%) rename {platform => port}/ios/src/platform_iphone.h (100%) rename {platform => port}/ios/src/platform_iphone.m (100%) rename {platform => port}/libusb/.gitignore (100%) rename {platform => port}/libusb/Makefile (100%) rename {platform => port}/libusb/btstack-config.h (100%) rename {platform => port}/libusb/main.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/Makefile (100%) rename {platform => port}/msp-exp430f5438-cc2564b/btstack-config.h (100%) rename {platform => port}/msp-exp430f5438-cc2564b/example/ant-test.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/example/ble_server.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/example/hid_demo.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/example/spp_accel.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/UserExperienceGraphics.h (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_adc.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_adc.h (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_board.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_board.h (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_lcd.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_lcd.h (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.h (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_usb.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_usb.h (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_util.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/firmware/hal_util.h (100%) rename {platform => port}/msp-exp430f5438-cc2564b/setup.jpg (100%) rename {platform => port}/msp-exp430f5438-cc2564b/src/hal_cpu.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/src/hal_tick.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/src/hal_uart_dma.c (100%) rename {platform => port}/msp-exp430f5438-cc2564b/src/main.c (100%) rename {platform => port}/msp430f5229lp-cc2564b/.gitignore (100%) rename {platform => port}/msp430f5229lp-cc2564b/Makefile (100%) rename {platform => port}/msp430f5229lp-cc2564b/btstack-config.h (100%) rename {platform => port}/msp430f5229lp-cc2564b/example/ble_server.c (100%) rename {platform => port}/msp430f5229lp-cc2564b/firmware/hal_board.c (100%) rename {platform => port}/msp430f5229lp-cc2564b/firmware/hal_board.h (100%) rename {platform => port}/msp430f5229lp-cc2564b/firmware/hal_usb.c (100%) rename {platform => port}/msp430f5229lp-cc2564b/firmware/hal_usb.h (100%) rename {platform => port}/msp430f5229lp-cc2564b/setup.jpg (100%) rename {platform => port}/msp430f5229lp-cc2564b/src/hal_cpu.c (100%) rename {platform => port}/msp430f5229lp-cc2564b/src/hal_tick.c (100%) rename {platform => port}/msp430f5229lp-cc2564b/src/hal_uart_dma.c (100%) rename {platform => port}/msp430f5229lp-cc2564b/src/main.c (100%) rename {platform => port}/mtk/.gitignore (100%) rename {platform => port}/mtk/BTstackDaemonRespawn.c (100%) rename {platform => port}/mtk/LEScan/.classpath (100%) rename {platform => port}/mtk/LEScan/.project (100%) rename {platform => port}/mtk/LEScan/.settings/org.eclipse.jdt.core.prefs (100%) rename {platform => port}/mtk/LEScan/AndroidManifest.xml (100%) rename {platform => port}/mtk/LEScan/bin/AndroidManifest.xml (100%) rename {platform => port}/mtk/LEScan/gen/com/bluekitchen/lescan/BuildConfig.java (100%) rename {platform => port}/mtk/LEScan/gen/com/bluekitchen/lescan/R.java (100%) rename {platform => port}/mtk/LEScan/hs_err_pid91618.log (100%) rename {platform => port}/mtk/LEScan/hs_err_pid91628.log (100%) rename {platform => port}/mtk/LEScan/ic_launcher-web.png (100%) rename {platform => port}/mtk/LEScan/libs/android-support-v4.jar (100%) rename {platform => port}/mtk/LEScan/proguard-project.txt (100%) rename {platform => port}/mtk/LEScan/project.properties (100%) rename {platform => port}/mtk/LEScan/res/drawable-hdpi/ic_launcher.png (100%) rename {platform => port}/mtk/LEScan/res/drawable-mdpi/ic_launcher.png (100%) rename {platform => port}/mtk/LEScan/res/drawable-xhdpi/ic_launcher.png (100%) rename {platform => port}/mtk/LEScan/res/drawable-xxhdpi/ic_launcher.png (100%) rename {platform => port}/mtk/LEScan/res/layout/activity_main.xml (100%) rename {platform => port}/mtk/LEScan/res/menu/main.xml (100%) rename {platform => port}/mtk/LEScan/res/values-sw600dp/dimens.xml (100%) rename {platform => port}/mtk/LEScan/res/values-sw720dp-land/dimens.xml (100%) rename {platform => port}/mtk/LEScan/res/values-v11/styles.xml (100%) rename {platform => port}/mtk/LEScan/res/values-v14/styles.xml (100%) rename {platform => port}/mtk/LEScan/res/values/dimens.xml (100%) rename {platform => port}/mtk/LEScan/res/values/strings.xml (100%) rename {platform => port}/mtk/LEScan/res/values/styles.xml (100%) rename {platform => port}/mtk/LEScan/src/com/bluekitchen/btstack/SocketConnectionUnix.java (100%) rename {platform => port}/mtk/LEScan/src/com/bluekitchen/lescan/MainActivity.java (100%) rename {platform => port}/mtk/Makefile (100%) rename {platform => port}/mtk/SPPClient/.classpath (100%) rename {platform => port}/mtk/SPPClient/.project (100%) rename {platform => port}/mtk/SPPClient/.settings/org.eclipse.jdt.core.prefs (100%) rename {platform => port}/mtk/SPPClient/AndroidManifest.xml (100%) rename {platform => port}/mtk/SPPClient/bin/AndroidManifest.xml (100%) rename {platform => port}/mtk/SPPClient/gen/com/bluekitchen/sppclient/BuildConfig.java (100%) rename {platform => port}/mtk/SPPClient/gen/com/bluekitchen/sppclient/R.java (100%) rename {platform => port}/mtk/SPPClient/ic_launcher-web.png (100%) rename {platform => port}/mtk/SPPClient/libs/android-support-v4.jar (100%) rename {platform => port}/mtk/SPPClient/proguard-project.txt (100%) rename {platform => port}/mtk/SPPClient/project.properties (100%) rename {platform => port}/mtk/SPPClient/res/drawable-hdpi/ic_launcher.png (100%) rename {platform => port}/mtk/SPPClient/res/drawable-mdpi/ic_launcher.png (100%) rename {platform => port}/mtk/SPPClient/res/drawable-xhdpi/ic_launcher.png (100%) rename {platform => port}/mtk/SPPClient/res/drawable-xxhdpi/ic_launcher.png (100%) rename {platform => port}/mtk/SPPClient/res/layout/activity_main.xml (100%) rename {platform => port}/mtk/SPPClient/res/menu/main.xml (100%) rename {platform => port}/mtk/SPPClient/res/values-sw600dp/dimens.xml (100%) rename {platform => port}/mtk/SPPClient/res/values-sw720dp-land/dimens.xml (100%) rename {platform => port}/mtk/SPPClient/res/values-v11/styles.xml (100%) rename {platform => port}/mtk/SPPClient/res/values-v14/styles.xml (100%) rename {platform => port}/mtk/SPPClient/res/values/dimens.xml (100%) rename {platform => port}/mtk/SPPClient/res/values/strings.xml (100%) rename {platform => port}/mtk/SPPClient/res/values/styles.xml (100%) rename {platform => port}/mtk/SPPClient/src/com/bluekitchen/btstack/SocketConnectionUnix.java (100%) rename {platform => port}/mtk/SPPClient/src/com/bluekitchen/sppclient/MainActivity.java (100%) rename {platform => port}/mtk/bluetoothdrv-stub.c (100%) rename {platform => port}/mtk/bluetoothdrv.h (100%) rename {platform => port}/mtk/btstack-config.h (100%) rename {platform => port}/mtk/deinstaller.sh (100%) rename {platform => port}/mtk/docs/.gitignore (100%) rename {platform => port}/mtk/docs/data/.gitignore (100%) rename {platform => port}/mtk/docs/picts/cydiaimpactor.png (100%) rename {platform => port}/mtk/docs/picts/ruggear_initial_hci_dump.pdf (100%) rename {platform => port}/mtk/docs/picts/scan_parameters_hci_dump.png (100%) rename {platform => port}/mtk/docs/ruggear-gettingstarted.pdf (100%) rename {platform => port}/mtk/docs/ruggear-gettingstarted.tex (100%) rename {platform => port}/mtk/docs/scripts/plot_scan.py (100%) rename {platform => port}/mtk/docs/scripts/plot_scan_two_groups.py (100%) rename {platform => port}/mtk/docs/scripts/process_scan.py (100%) rename {platform => port}/mtk/hci_transport_h4_mtk.c (100%) rename {platform => port}/mtk/installer.sh (100%) rename {platform => port}/mtk/package.sh (100%) rename {platform => port}/mtk/readme.txt (100%) rename {platform => port}/mtk/restart.sh (100%) rename {platform => port}/pic32-harmony/README (100%) rename {platform => port}/pic32-harmony/app.X/.gitignore (100%) rename {platform => port}/pic32-harmony/app.X/Makefile (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/Makefile-default.mk (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/Makefile-genesis.properties (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/Makefile-impl.mk (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/Makefile-local-default.mk (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/Makefile-variables.mk (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/Package-default.bash (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/configurations.xml (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/private/configurations.xml (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/private/private.properties (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/private/private.xml (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/project.properties (100%) rename {platform => port}/pic32-harmony/app.X/nbproject/project.xml (100%) rename {platform => port}/pic32-harmony/setup-bluetooth-audio-devkit.jpg (100%) rename {platform => port}/pic32-harmony/src/app.c (100%) rename {platform => port}/pic32-harmony/src/app.h (100%) rename {platform => port}/pic32-harmony/src/app_debug.c (100%) rename {platform => port}/pic32-harmony/src/app_debug.h (100%) rename {platform => port}/pic32-harmony/src/btstack-config.h (100%) rename {platform => port}/pic32-harmony/src/btstack_port.c (100%) rename {platform => port}/pic32-harmony/src/btstack_port.h (100%) rename {platform => port}/pic32-harmony/src/main.c (100%) rename {platform => port}/pic32-harmony/src/spp_and_le_counter.h (100%) rename {platform => port}/pic32-harmony/src/system_config/bk-audio-dk/system_config.h (100%) rename {platform => port}/pic32-harmony/src/system_config/bk-audio-dk/system_definitions.h (100%) rename {platform => port}/pic32-harmony/src/system_config/bk-audio-dk/system_init.c (100%) rename {platform => port}/pic32-harmony/src/system_config/bk-audio-dk/system_tasks.c (100%) rename {platform => port}/posix-cc2564b/.gitignore (100%) rename {platform => port}/posix-cc2564b/Makefile (100%) rename {platform => port}/posix-cc2564b/btstack-config.h (100%) rename {platform => port}/posix-cc2564b/main.c (100%) rename {platform => port}/posix-h4/.gitignore (100%) rename {platform => port}/posix-h4/Makefile (100%) rename {platform => port}/posix-h4/btstack-config.h (100%) rename {platform => port}/posix-h4/main.c (100%) rename {platform => port}/posix-stlc2500d/.gitignore (100%) rename {platform => port}/posix-stlc2500d/Makefile (100%) rename {platform => port}/posix-stlc2500d/btstack-config.h (100%) rename {platform => port}/posix-stlc2500d/main.c (100%) rename {platform => port}/posix-stlc2500d/setup.jpg (100%) rename {platform => port}/posix-wl183x/.gitignore (100%) rename {platform => port}/posix-wl183x/Makefile (100%) rename {platform => port}/posix-wl183x/btstack-config.h (100%) rename {platform => port}/posix-wl183x/main.c (100%) rename {platform => port}/posix-wl183x/setup.jpg (100%) rename {platform => port}/stm32-f103rb-nucleo/.gitignore (100%) rename {platform => port}/stm32-f103rb-nucleo/Makefile (100%) rename {platform => port}/stm32-f103rb-nucleo/README.md (100%) rename {platform => port}/stm32-f103rb-nucleo/btstack-config.h (100%) rename {platform => port}/stm32-f103rb-nucleo/libopencm3.rules.mk (100%) rename {platform => port}/stm32-f103rb-nucleo/libopencm3.stm32f1.mk (100%) rename {platform => port}/stm32-f103rb-nucleo/main.c (100%) rename {platform => port}/stm32-f103rb-nucleo/setup.jpg (100%) rename {platform => port}/stm32-f103rb-nucleo/spp_and_le_counter.gatt (100%) rename {platform => port}/stm32-f103rb-nucleo/stm32f1-nucleo.ld (100%) diff --git a/platform/arduino/.gitignore b/port/arduino/.gitignore similarity index 100% rename from platform/arduino/.gitignore rename to port/arduino/.gitignore diff --git a/platform/arduino/BTstack.cpp b/port/arduino/BTstack.cpp similarity index 100% rename from platform/arduino/BTstack.cpp rename to port/arduino/BTstack.cpp diff --git a/platform/arduino/BTstack.h b/port/arduino/BTstack.h similarity index 100% rename from platform/arduino/BTstack.h rename to port/arduino/BTstack.h diff --git a/platform/arduino/Makefile b/port/arduino/Makefile similarity index 100% rename from platform/arduino/Makefile rename to port/arduino/Makefile diff --git a/platform/arduino/bsp_arduino_em9301.cpp b/port/arduino/bsp_arduino_em9301.cpp similarity index 100% rename from platform/arduino/bsp_arduino_em9301.cpp rename to port/arduino/bsp_arduino_em9301.cpp diff --git a/platform/arduino/btstack-config.h b/port/arduino/btstack-config.h similarity index 100% rename from platform/arduino/btstack-config.h rename to port/arduino/btstack-config.h diff --git a/platform/arduino/docs/.gitignore b/port/arduino/docs/.gitignore similarity index 100% rename from platform/arduino/docs/.gitignore rename to port/arduino/docs/.gitignore diff --git a/platform/arduino/docs/Makefile b/port/arduino/docs/Makefile similarity index 100% rename from platform/arduino/docs/Makefile rename to port/arduino/docs/Makefile diff --git a/platform/arduino/docs/docs/.gitignore b/port/arduino/docs/docs/.gitignore similarity index 100% rename from platform/arduino/docs/docs/.gitignore rename to port/arduino/docs/docs/.gitignore diff --git a/platform/arduino/docs/docs/examples/.gitignore b/port/arduino/docs/docs/examples/.gitignore similarity index 100% rename from platform/arduino/docs/docs/examples/.gitignore rename to port/arduino/docs/docs/examples/.gitignore diff --git a/platform/arduino/docs/docs/examples/intro.md b/port/arduino/docs/docs/examples/intro.md similarity index 100% rename from platform/arduino/docs/docs/examples/intro.md rename to port/arduino/docs/docs/examples/intro.md diff --git a/platform/arduino/docs/docs/index.md b/port/arduino/docs/docs/index.md similarity index 100% rename from platform/arduino/docs/docs/index.md rename to port/arduino/docs/docs/index.md diff --git a/platform/arduino/docs/docs/picts/setup.jpg b/port/arduino/docs/docs/picts/setup.jpg similarity index 100% rename from platform/arduino/docs/docs/picts/setup.jpg rename to port/arduino/docs/docs/picts/setup.jpg diff --git a/platform/arduino/docs/docs/picts/sketch.jpg b/port/arduino/docs/docs/picts/sketch.jpg similarity index 100% rename from platform/arduino/docs/docs/picts/sketch.jpg rename to port/arduino/docs/docs/picts/sketch.jpg diff --git a/platform/arduino/docs/docs/tutorial.md b/port/arduino/docs/docs/tutorial.md similarity index 100% rename from platform/arduino/docs/docs/tutorial.md rename to port/arduino/docs/docs/tutorial.md diff --git a/platform/arduino/docs/generated.md b/port/arduino/docs/generated.md similarity index 100% rename from platform/arduino/docs/generated.md rename to port/arduino/docs/generated.md diff --git a/platform/arduino/docs/mkdocs.yml b/port/arduino/docs/mkdocs.yml similarity index 100% rename from platform/arduino/docs/mkdocs.yml rename to port/arduino/docs/mkdocs.yml diff --git a/platform/arduino/docs/update_apis.py b/port/arduino/docs/update_apis.py similarity index 100% rename from platform/arduino/docs/update_apis.py rename to port/arduino/docs/update_apis.py diff --git a/platform/arduino/docs/update_listings.py b/port/arduino/docs/update_listings.py similarity index 100% rename from platform/arduino/docs/update_listings.py rename to port/arduino/docs/update_listings.py diff --git a/platform/arduino/docs/upload_site_sftp.sh b/port/arduino/docs/upload_site_sftp.sh similarity index 100% rename from platform/arduino/docs/upload_site_sftp.sh rename to port/arduino/docs/upload_site_sftp.sh diff --git a/platform/arduino/examples/ANCS/ANCS.ino b/port/arduino/examples/ANCS/ANCS.ino similarity index 100% rename from platform/arduino/examples/ANCS/ANCS.ino rename to port/arduino/examples/ANCS/ANCS.ino diff --git a/platform/arduino/examples/LECentral/LECentral.ino b/port/arduino/examples/LECentral/LECentral.ino similarity index 100% rename from platform/arduino/examples/LECentral/LECentral.ino rename to port/arduino/examples/LECentral/LECentral.ino diff --git a/platform/arduino/examples/LEPeripheral/LEPeripheral.ino b/port/arduino/examples/LEPeripheral/LEPeripheral.ino similarity index 100% rename from platform/arduino/examples/LEPeripheral/LEPeripheral.ino rename to port/arduino/examples/LEPeripheral/LEPeripheral.ino diff --git a/platform/arduino/examples/iBeacon/iBeacon.ino b/port/arduino/examples/iBeacon/iBeacon.ino similarity index 100% rename from platform/arduino/examples/iBeacon/iBeacon.ino rename to port/arduino/examples/iBeacon/iBeacon.ino diff --git a/platform/arduino/examples/iBeaconScanner/iBeaconScanner.ino b/port/arduino/examples/iBeaconScanner/iBeaconScanner.ino similarity index 100% rename from platform/arduino/examples/iBeaconScanner/iBeaconScanner.ino rename to port/arduino/examples/iBeaconScanner/iBeaconScanner.ino diff --git a/platform/arduino/setup.jpg b/port/arduino/setup.jpg similarity index 100% rename from platform/arduino/setup.jpg rename to port/arduino/setup.jpg diff --git a/platform/arduino/upload_latest_sftp.sh b/port/arduino/upload_latest_sftp.sh similarity index 100% rename from platform/arduino/upload_latest_sftp.sh rename to port/arduino/upload_latest_sftp.sh diff --git a/platform/ez430-rf2560/Makefile b/port/ez430-rf2560/Makefile similarity index 100% rename from platform/ez430-rf2560/Makefile rename to port/ez430-rf2560/Makefile diff --git a/platform/ez430-rf2560/btstack-config.h b/port/ez430-rf2560/btstack-config.h similarity index 100% rename from platform/ez430-rf2560/btstack-config.h rename to port/ez430-rf2560/btstack-config.h diff --git a/platform/ez430-rf2560/example/ant-test.c b/port/ez430-rf2560/example/ant-test.c similarity index 100% rename from platform/ez430-rf2560/example/ant-test.c rename to port/ez430-rf2560/example/ant-test.c diff --git a/platform/ez430-rf2560/example/spp_accel.c b/port/ez430-rf2560/example/spp_accel.c similarity index 100% rename from platform/ez430-rf2560/example/spp_accel.c rename to port/ez430-rf2560/example/spp_accel.c diff --git a/platform/ez430-rf2560/firmware/hal_adc.c b/port/ez430-rf2560/firmware/hal_adc.c similarity index 100% rename from platform/ez430-rf2560/firmware/hal_adc.c rename to port/ez430-rf2560/firmware/hal_adc.c diff --git a/platform/ez430-rf2560/firmware/hal_adc.h b/port/ez430-rf2560/firmware/hal_adc.h similarity index 100% rename from platform/ez430-rf2560/firmware/hal_adc.h rename to port/ez430-rf2560/firmware/hal_adc.h diff --git a/platform/ez430-rf2560/firmware/hal_board.c b/port/ez430-rf2560/firmware/hal_board.c similarity index 100% rename from platform/ez430-rf2560/firmware/hal_board.c rename to port/ez430-rf2560/firmware/hal_board.c diff --git a/platform/ez430-rf2560/firmware/hal_board.h b/port/ez430-rf2560/firmware/hal_board.h similarity index 100% rename from platform/ez430-rf2560/firmware/hal_board.h rename to port/ez430-rf2560/firmware/hal_board.h diff --git a/platform/ez430-rf2560/firmware/hal_usb.c b/port/ez430-rf2560/firmware/hal_usb.c similarity index 100% rename from platform/ez430-rf2560/firmware/hal_usb.c rename to port/ez430-rf2560/firmware/hal_usb.c diff --git a/platform/ez430-rf2560/firmware/hal_usb.h b/port/ez430-rf2560/firmware/hal_usb.h similarity index 100% rename from platform/ez430-rf2560/firmware/hal_usb.h rename to port/ez430-rf2560/firmware/hal_usb.h diff --git a/platform/ez430-rf2560/firmware/hal_util.c b/port/ez430-rf2560/firmware/hal_util.c similarity index 100% rename from platform/ez430-rf2560/firmware/hal_util.c rename to port/ez430-rf2560/firmware/hal_util.c diff --git a/platform/ez430-rf2560/firmware/hal_util.h b/port/ez430-rf2560/firmware/hal_util.h similarity index 100% rename from platform/ez430-rf2560/firmware/hal_util.h rename to port/ez430-rf2560/firmware/hal_util.h diff --git a/platform/ez430-rf2560/setup.jpg b/port/ez430-rf2560/setup.jpg similarity index 100% rename from platform/ez430-rf2560/setup.jpg rename to port/ez430-rf2560/setup.jpg diff --git a/platform/ez430-rf2560/src/hal_cpu.c b/port/ez430-rf2560/src/hal_cpu.c similarity index 100% rename from platform/ez430-rf2560/src/hal_cpu.c rename to port/ez430-rf2560/src/hal_cpu.c diff --git a/platform/ez430-rf2560/src/hal_tick.c b/port/ez430-rf2560/src/hal_tick.c similarity index 100% rename from platform/ez430-rf2560/src/hal_tick.c rename to port/ez430-rf2560/src/hal_tick.c diff --git a/platform/ez430-rf2560/src/hal_uart_dma.c b/port/ez430-rf2560/src/hal_uart_dma.c similarity index 100% rename from platform/ez430-rf2560/src/hal_uart_dma.c rename to port/ez430-rf2560/src/hal_uart_dma.c diff --git a/platform/ez430-rf2560/src/main.c b/port/ez430-rf2560/src/main.c similarity index 100% rename from platform/ez430-rf2560/src/main.c rename to port/ez430-rf2560/src/main.c diff --git a/platform/ios/.gitignore b/port/ios/.gitignore similarity index 100% rename from platform/ios/.gitignore rename to port/ios/.gitignore diff --git a/platform/ios/3rdparty/README b/port/ios/3rdparty/README similarity index 100% rename from platform/ios/3rdparty/README rename to port/ios/3rdparty/README diff --git a/platform/ios/3rdparty/launch.h b/port/ios/3rdparty/launch.h similarity index 100% rename from platform/ios/3rdparty/launch.h rename to port/ios/3rdparty/launch.h diff --git a/platform/ios/3rdparty/libsubstrate.dylib b/port/ios/3rdparty/libsubstrate.dylib similarity index 100% rename from platform/ios/3rdparty/libsubstrate.dylib rename to port/ios/3rdparty/libsubstrate.dylib diff --git a/platform/ios/3rdparty/substrate.h b/port/ios/3rdparty/substrate.h similarity index 100% rename from platform/ios/3rdparty/substrate.h rename to port/ios/3rdparty/substrate.h diff --git a/platform/ios/CocoaTouch/icons/LICENSE.txt b/port/ios/CocoaTouch/icons/LICENSE.txt similarity index 100% rename from platform/ios/CocoaTouch/icons/LICENSE.txt rename to port/ios/CocoaTouch/icons/LICENSE.txt diff --git a/platform/ios/CocoaTouch/icons/bluetooth.png b/port/ios/CocoaTouch/icons/bluetooth.png similarity index 100% rename from platform/ios/CocoaTouch/icons/bluetooth.png rename to port/ios/CocoaTouch/icons/bluetooth.png diff --git a/platform/ios/CocoaTouch/icons/computer.png b/port/ios/CocoaTouch/icons/computer.png similarity index 100% rename from platform/ios/CocoaTouch/icons/computer.png rename to port/ios/CocoaTouch/icons/computer.png diff --git a/platform/ios/CocoaTouch/icons/keyboard.png b/port/ios/CocoaTouch/icons/keyboard.png similarity index 100% rename from platform/ios/CocoaTouch/icons/keyboard.png rename to port/ios/CocoaTouch/icons/keyboard.png diff --git a/platform/ios/CocoaTouch/icons/mouse.png b/port/ios/CocoaTouch/icons/mouse.png similarity index 100% rename from platform/ios/CocoaTouch/icons/mouse.png rename to port/ios/CocoaTouch/icons/mouse.png diff --git a/platform/ios/CocoaTouch/icons/smartphone.png b/port/ios/CocoaTouch/icons/smartphone.png similarity index 100% rename from platform/ios/CocoaTouch/icons/smartphone.png rename to port/ios/CocoaTouch/icons/smartphone.png diff --git a/platform/ios/CocoaTouch/include/BTstack/BTDevice.h b/port/ios/CocoaTouch/include/BTstack/BTDevice.h similarity index 100% rename from platform/ios/CocoaTouch/include/BTstack/BTDevice.h rename to port/ios/CocoaTouch/include/BTstack/BTDevice.h diff --git a/platform/ios/CocoaTouch/include/BTstack/BTDiscoveryViewController.h b/port/ios/CocoaTouch/include/BTstack/BTDiscoveryViewController.h similarity index 100% rename from platform/ios/CocoaTouch/include/BTstack/BTDiscoveryViewController.h rename to port/ios/CocoaTouch/include/BTstack/BTDiscoveryViewController.h diff --git a/platform/ios/CocoaTouch/include/BTstack/BTInquiryViewController.h b/port/ios/CocoaTouch/include/BTstack/BTInquiryViewController.h similarity index 100% rename from platform/ios/CocoaTouch/include/BTstack/BTInquiryViewController.h rename to port/ios/CocoaTouch/include/BTstack/BTInquiryViewController.h diff --git a/platform/ios/CocoaTouch/include/BTstack/BTstackManager.h b/port/ios/CocoaTouch/include/BTstack/BTstackManager.h similarity index 100% rename from platform/ios/CocoaTouch/include/BTstack/BTstackManager.h rename to port/ios/CocoaTouch/include/BTstack/BTstackManager.h diff --git a/platform/ios/CocoaTouch/src/BTDevice.m b/port/ios/CocoaTouch/src/BTDevice.m similarity index 100% rename from platform/ios/CocoaTouch/src/BTDevice.m rename to port/ios/CocoaTouch/src/BTDevice.m diff --git a/platform/ios/CocoaTouch/src/BTDiscoveryViewController.m b/port/ios/CocoaTouch/src/BTDiscoveryViewController.m similarity index 100% rename from platform/ios/CocoaTouch/src/BTDiscoveryViewController.m rename to port/ios/CocoaTouch/src/BTDiscoveryViewController.m diff --git a/platform/ios/CocoaTouch/src/BTInquiryViewController.m b/port/ios/CocoaTouch/src/BTInquiryViewController.m similarity index 100% rename from platform/ios/CocoaTouch/src/BTInquiryViewController.m rename to port/ios/CocoaTouch/src/BTInquiryViewController.m diff --git a/platform/ios/CocoaTouch/src/BTstackCocoaAppDelegate.h b/port/ios/CocoaTouch/src/BTstackCocoaAppDelegate.h similarity index 100% rename from platform/ios/CocoaTouch/src/BTstackCocoaAppDelegate.h rename to port/ios/CocoaTouch/src/BTstackCocoaAppDelegate.h diff --git a/platform/ios/CocoaTouch/src/BTstackCocoaAppDelegate.m b/port/ios/CocoaTouch/src/BTstackCocoaAppDelegate.m similarity index 100% rename from platform/ios/CocoaTouch/src/BTstackCocoaAppDelegate.m rename to port/ios/CocoaTouch/src/BTstackCocoaAppDelegate.m diff --git a/platform/ios/CocoaTouch/src/BTstackManager.m b/port/ios/CocoaTouch/src/BTstackManager.m similarity index 100% rename from platform/ios/CocoaTouch/src/BTstackManager.m rename to port/ios/CocoaTouch/src/BTstackManager.m diff --git a/platform/ios/CocoaTouch/src/TestBTstackManager.h b/port/ios/CocoaTouch/src/TestBTstackManager.h similarity index 100% rename from platform/ios/CocoaTouch/src/TestBTstackManager.h rename to port/ios/CocoaTouch/src/TestBTstackManager.h diff --git a/platform/ios/CocoaTouch/src/TestBTstackManager.m b/port/ios/CocoaTouch/src/TestBTstackManager.m similarity index 100% rename from platform/ios/CocoaTouch/src/TestBTstackManager.m rename to port/ios/CocoaTouch/src/TestBTstackManager.m diff --git a/platform/ios/CocoaTouch/src/main.m b/port/ios/CocoaTouch/src/main.m similarity index 100% rename from platform/ios/CocoaTouch/src/main.m rename to port/ios/CocoaTouch/src/main.m diff --git a/platform/ios/Makefile b/port/ios/Makefile similarity index 100% rename from platform/ios/Makefile rename to port/ios/Makefile diff --git a/platform/ios/PatchBlueTool/Makefile b/port/ios/PatchBlueTool/Makefile similarity index 100% rename from platform/ios/PatchBlueTool/Makefile rename to port/ios/PatchBlueTool/Makefile diff --git a/platform/ios/PatchBlueTool/PatchBlueTool.c b/port/ios/PatchBlueTool/PatchBlueTool.c similarity index 100% rename from platform/ios/PatchBlueTool/PatchBlueTool.c rename to port/ios/PatchBlueTool/PatchBlueTool.c diff --git a/platform/ios/PrefsBundle/BluetoothController.h b/port/ios/PrefsBundle/BluetoothController.h similarity index 100% rename from platform/ios/PrefsBundle/BluetoothController.h rename to port/ios/PrefsBundle/BluetoothController.h diff --git a/platform/ios/PrefsBundle/BluetoothController.m b/port/ios/PrefsBundle/BluetoothController.m similarity index 100% rename from platform/ios/PrefsBundle/BluetoothController.m rename to port/ios/PrefsBundle/BluetoothController.m diff --git a/platform/ios/PrefsBundle/BluetoothTableViewAdapter.h b/port/ios/PrefsBundle/BluetoothTableViewAdapter.h similarity index 100% rename from platform/ios/PrefsBundle/BluetoothTableViewAdapter.h rename to port/ios/PrefsBundle/BluetoothTableViewAdapter.h diff --git a/platform/ios/PrefsBundle/BluetoothTableViewAdapter.m b/port/ios/PrefsBundle/BluetoothTableViewAdapter.m similarity index 100% rename from platform/ios/PrefsBundle/BluetoothTableViewAdapter.m rename to port/ios/PrefsBundle/BluetoothTableViewAdapter.m diff --git a/platform/ios/PrefsBundle/Makefile b/port/ios/PrefsBundle/Makefile similarity index 100% rename from platform/ios/PrefsBundle/Makefile rename to port/ios/PrefsBundle/Makefile diff --git a/platform/ios/PrefsBundle/PrefsViewController.m b/port/ios/PrefsBundle/PrefsViewController.m similarity index 100% rename from platform/ios/PrefsBundle/PrefsViewController.m rename to port/ios/PrefsBundle/PrefsViewController.m diff --git a/platform/ios/PrefsBundle/Resources/BTstack.plist b/port/ios/PrefsBundle/Resources/BTstack.plist similarity index 100% rename from platform/ios/PrefsBundle/Resources/BTstack.plist rename to port/ios/PrefsBundle/Resources/BTstack.plist diff --git a/platform/ios/PrefsBundle/Resources/BTstack.png b/port/ios/PrefsBundle/Resources/BTstack.png similarity index 100% rename from platform/ios/PrefsBundle/Resources/BTstack.png rename to port/ios/PrefsBundle/Resources/BTstack.png diff --git a/platform/ios/PrefsBundle/Resources/BTstack@2x.png b/port/ios/PrefsBundle/Resources/BTstack@2x.png similarity index 100% rename from platform/ios/PrefsBundle/Resources/BTstack@2x.png rename to port/ios/PrefsBundle/Resources/BTstack@2x.png diff --git a/platform/ios/PrefsBundle/Resources/Info.plist b/port/ios/PrefsBundle/Resources/Info.plist similarity index 100% rename from platform/ios/PrefsBundle/Resources/Info.plist rename to port/ios/PrefsBundle/Resources/Info.plist diff --git a/platform/ios/PrefsBundle/control b/port/ios/PrefsBundle/control similarity index 100% rename from platform/ios/PrefsBundle/control rename to port/ios/PrefsBundle/control diff --git a/platform/ios/PrefsBundle/entry.plist b/port/ios/PrefsBundle/entry.plist similarity index 100% rename from platform/ios/PrefsBundle/entry.plist rename to port/ios/PrefsBundle/entry.plist diff --git a/platform/ios/README.md b/port/ios/README.md similarity index 100% rename from platform/ios/README.md rename to port/ios/README.md diff --git a/platform/ios/SpringBoardAccess/Makefile b/port/ios/SpringBoardAccess/Makefile similarity index 100% rename from platform/ios/SpringBoardAccess/Makefile rename to port/ios/SpringBoardAccess/Makefile diff --git a/platform/ios/SpringBoardAccess/SpringBoardAccess-test.c b/port/ios/SpringBoardAccess/SpringBoardAccess-test.c similarity index 100% rename from platform/ios/SpringBoardAccess/SpringBoardAccess-test.c rename to port/ios/SpringBoardAccess/SpringBoardAccess-test.c diff --git a/platform/ios/SpringBoardAccess/SpringBoardAccess.c b/port/ios/SpringBoardAccess/SpringBoardAccess.c similarity index 100% rename from platform/ios/SpringBoardAccess/SpringBoardAccess.c rename to port/ios/SpringBoardAccess/SpringBoardAccess.c diff --git a/platform/ios/SpringBoardAccess/SpringBoardAccess.h b/port/ios/SpringBoardAccess/SpringBoardAccess.h similarity index 100% rename from platform/ios/SpringBoardAccess/SpringBoardAccess.h rename to port/ios/SpringBoardAccess/SpringBoardAccess.h diff --git a/platform/ios/SpringBoardAccess/SpringBoardAccess.plist b/port/ios/SpringBoardAccess/SpringBoardAccess.plist similarity index 100% rename from platform/ios/SpringBoardAccess/SpringBoardAccess.plist rename to port/ios/SpringBoardAccess/SpringBoardAccess.plist diff --git a/platform/ios/SpringBoardAccess/Tweak.xm b/port/ios/SpringBoardAccess/Tweak.xm similarity index 100% rename from platform/ios/SpringBoardAccess/Tweak.xm rename to port/ios/SpringBoardAccess/Tweak.xm diff --git a/platform/ios/SpringBoardAccess/control b/port/ios/SpringBoardAccess/control similarity index 100% rename from platform/ios/SpringBoardAccess/control rename to port/ios/SpringBoardAccess/control diff --git a/platform/ios/btstack-config.h b/port/ios/btstack-config.h similarity index 100% rename from platform/ios/btstack-config.h rename to port/ios/btstack-config.h diff --git a/platform/ios/example/Makefile b/port/ios/example/Makefile similarity index 100% rename from platform/ios/example/Makefile rename to port/ios/example/Makefile diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.h b/port/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.h similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.h rename to port/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.h diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.m b/port/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.m similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.m rename to port/ios/example/WiiMoteOpenGLDemo/Classes/EAGLView.m diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.h b/port/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.h similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.h rename to port/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.h diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.m b/port/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.m similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.m rename to port/ios/example/WiiMoteOpenGLDemo/Classes/EAGLViewController.m diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.h b/port/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.h similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.h rename to port/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.h diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.m b/port/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.m similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.m rename to port/ios/example/WiiMoteOpenGLDemo/Classes/WiiMoteOpenGLDemoAppDelegate.m diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Makefile b/port/ios/example/WiiMoteOpenGLDemo/Makefile similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Makefile rename to port/ios/example/WiiMoteOpenGLDemo/Makefile diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Resources/Info.plist b/port/ios/example/WiiMoteOpenGLDemo/Resources/Info.plist similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Resources/Info.plist rename to port/ios/example/WiiMoteOpenGLDemo/Resources/Info.plist diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo.png b/port/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo.png similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo.png rename to port/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo.png diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo_55px.png b/port/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo_55px.png similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo_55px.png rename to port/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_logo_55px.png diff --git a/platform/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_texture.png b/port/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_texture.png similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_texture.png rename to port/ios/example/WiiMoteOpenGLDemo/Resources/wiimote_texture.png diff --git a/platform/ios/example/WiiMoteOpenGLDemo/control b/port/ios/example/WiiMoteOpenGLDemo/control similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/control rename to port/ios/example/WiiMoteOpenGLDemo/control diff --git a/platform/ios/example/WiiMoteOpenGLDemo/main.m b/port/ios/example/WiiMoteOpenGLDemo/main.m similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/main.m rename to port/ios/example/WiiMoteOpenGLDemo/main.m diff --git a/platform/ios/example/WiiMoteOpenGLDemo/package.sh b/port/ios/example/WiiMoteOpenGLDemo/package.sh similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/package.sh rename to port/ios/example/WiiMoteOpenGLDemo/package.sh diff --git a/platform/ios/example/WiiMoteOpenGLDemo/rotation.c b/port/ios/example/WiiMoteOpenGLDemo/rotation.c similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/rotation.c rename to port/ios/example/WiiMoteOpenGLDemo/rotation.c diff --git a/platform/ios/example/WiiMoteOpenGLDemo/wiimote_coords.txt b/port/ios/example/WiiMoteOpenGLDemo/wiimote_coords.txt similarity index 100% rename from platform/ios/example/WiiMoteOpenGLDemo/wiimote_coords.txt rename to port/ios/example/WiiMoteOpenGLDemo/wiimote_coords.txt diff --git a/platform/ios/layout/DEBIAN/control b/port/ios/layout/DEBIAN/control similarity index 100% rename from platform/ios/layout/DEBIAN/control rename to port/ios/layout/DEBIAN/control diff --git a/platform/ios/layout/DEBIAN/extrainst_ b/port/ios/layout/DEBIAN/extrainst_ similarity index 100% rename from platform/ios/layout/DEBIAN/extrainst_ rename to port/ios/layout/DEBIAN/extrainst_ diff --git a/platform/ios/layout/DEBIAN/postinst b/port/ios/layout/DEBIAN/postinst similarity index 100% rename from platform/ios/layout/DEBIAN/postinst rename to port/ios/layout/DEBIAN/postinst diff --git a/platform/ios/layout/DEBIAN/prerm b/port/ios/layout/DEBIAN/prerm similarity index 100% rename from platform/ios/layout/DEBIAN/prerm rename to port/ios/layout/DEBIAN/prerm diff --git a/platform/ios/layout/Library/LaunchDaemons/ch.ringwald.BTstack.plist b/port/ios/layout/Library/LaunchDaemons/ch.ringwald.BTstack.plist similarity index 100% rename from platform/ios/layout/Library/LaunchDaemons/ch.ringwald.BTstack.plist rename to port/ios/layout/Library/LaunchDaemons/ch.ringwald.BTstack.plist diff --git a/platform/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstack.png b/port/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstack.png similarity index 100% rename from platform/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstack.png rename to port/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstack.png diff --git a/platform/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstackActive.png b/port/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstackActive.png similarity index 100% rename from platform/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstackActive.png rename to port/ios/layout/System/Library/CoreServices/SpringBoard.app/Default_BTstackActive.png diff --git a/platform/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstack.png b/port/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstack.png similarity index 100% rename from platform/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstack.png rename to port/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstack.png diff --git a/platform/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstackActive.png b/port/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstackActive.png similarity index 100% rename from platform/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstackActive.png rename to port/ios/layout/System/Library/CoreServices/SpringBoard.app/FSO_BTstackActive.png diff --git a/platform/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack.png b/port/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack.png similarity index 100% rename from platform/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack.png rename to port/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack.png diff --git a/platform/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack@2x.png b/port/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack@2x.png similarity index 100% rename from platform/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack@2x.png rename to port/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstack@2x.png diff --git a/platform/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive.png b/port/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive.png similarity index 100% rename from platform/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive.png rename to port/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive.png diff --git a/platform/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive@2x.png b/port/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive@2x.png similarity index 100% rename from platform/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive@2x.png rename to port/ios/layout/System/Library/Frameworks/UIKit.framework/Black_BTstackActive@2x.png diff --git a/platform/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack.png b/port/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack.png similarity index 100% rename from platform/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack.png rename to port/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack.png diff --git a/platform/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack@2x.png b/port/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack@2x.png similarity index 100% rename from platform/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack@2x.png rename to port/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstack@2x.png diff --git a/platform/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive.png b/port/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive.png similarity index 100% rename from platform/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive.png rename to port/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive.png diff --git a/platform/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive@2x.png b/port/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive@2x.png similarity index 100% rename from platform/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive@2x.png rename to port/ios/layout/System/Library/Frameworks/UIKit.framework/Silver_BTstackActive@2x.png diff --git a/platform/ios/src/Makefile b/port/ios/src/Makefile similarity index 100% rename from platform/ios/src/Makefile rename to port/ios/src/Makefile diff --git a/platform/ios/src/bt_control_iphone.h b/port/ios/src/bt_control_iphone.h similarity index 100% rename from platform/ios/src/bt_control_iphone.h rename to port/ios/src/bt_control_iphone.h diff --git a/platform/ios/src/bt_control_iphone.m b/port/ios/src/bt_control_iphone.m similarity index 100% rename from platform/ios/src/bt_control_iphone.m rename to port/ios/src/bt_control_iphone.m diff --git a/platform/ios/src/hci_transport_h4_iphone.c b/port/ios/src/hci_transport_h4_iphone.c similarity index 100% rename from platform/ios/src/hci_transport_h4_iphone.c rename to port/ios/src/hci_transport_h4_iphone.c diff --git a/platform/ios/src/platform_iphone.h b/port/ios/src/platform_iphone.h similarity index 100% rename from platform/ios/src/platform_iphone.h rename to port/ios/src/platform_iphone.h diff --git a/platform/ios/src/platform_iphone.m b/port/ios/src/platform_iphone.m similarity index 100% rename from platform/ios/src/platform_iphone.m rename to port/ios/src/platform_iphone.m diff --git a/platform/libusb/.gitignore b/port/libusb/.gitignore similarity index 100% rename from platform/libusb/.gitignore rename to port/libusb/.gitignore diff --git a/platform/libusb/Makefile b/port/libusb/Makefile similarity index 100% rename from platform/libusb/Makefile rename to port/libusb/Makefile diff --git a/platform/libusb/btstack-config.h b/port/libusb/btstack-config.h similarity index 100% rename from platform/libusb/btstack-config.h rename to port/libusb/btstack-config.h diff --git a/platform/libusb/main.c b/port/libusb/main.c similarity index 100% rename from platform/libusb/main.c rename to port/libusb/main.c diff --git a/platform/msp-exp430f5438-cc2564b/Makefile b/port/msp-exp430f5438-cc2564b/Makefile similarity index 100% rename from platform/msp-exp430f5438-cc2564b/Makefile rename to port/msp-exp430f5438-cc2564b/Makefile diff --git a/platform/msp-exp430f5438-cc2564b/btstack-config.h b/port/msp-exp430f5438-cc2564b/btstack-config.h similarity index 100% rename from platform/msp-exp430f5438-cc2564b/btstack-config.h rename to port/msp-exp430f5438-cc2564b/btstack-config.h diff --git a/platform/msp-exp430f5438-cc2564b/example/ant-test.c b/port/msp-exp430f5438-cc2564b/example/ant-test.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/example/ant-test.c rename to port/msp-exp430f5438-cc2564b/example/ant-test.c diff --git a/platform/msp-exp430f5438-cc2564b/example/ble_server.c b/port/msp-exp430f5438-cc2564b/example/ble_server.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/example/ble_server.c rename to port/msp-exp430f5438-cc2564b/example/ble_server.c diff --git a/platform/msp-exp430f5438-cc2564b/example/hid_demo.c b/port/msp-exp430f5438-cc2564b/example/hid_demo.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/example/hid_demo.c rename to port/msp-exp430f5438-cc2564b/example/hid_demo.c diff --git a/platform/msp-exp430f5438-cc2564b/example/spp_accel.c b/port/msp-exp430f5438-cc2564b/example/spp_accel.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/example/spp_accel.c rename to port/msp-exp430f5438-cc2564b/example/spp_accel.c diff --git a/platform/msp-exp430f5438-cc2564b/firmware/UserExperienceGraphics.h b/port/msp-exp430f5438-cc2564b/firmware/UserExperienceGraphics.h similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/UserExperienceGraphics.h rename to port/msp-exp430f5438-cc2564b/firmware/UserExperienceGraphics.h diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_adc.c b/port/msp-exp430f5438-cc2564b/firmware/hal_adc.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_adc.c rename to port/msp-exp430f5438-cc2564b/firmware/hal_adc.c diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_adc.h b/port/msp-exp430f5438-cc2564b/firmware/hal_adc.h similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_adc.h rename to port/msp-exp430f5438-cc2564b/firmware/hal_adc.h diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_board.c b/port/msp-exp430f5438-cc2564b/firmware/hal_board.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_board.c rename to port/msp-exp430f5438-cc2564b/firmware/hal_board.c diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_board.h b/port/msp-exp430f5438-cc2564b/firmware/hal_board.h similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_board.h rename to port/msp-exp430f5438-cc2564b/firmware/hal_board.h diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_lcd.c b/port/msp-exp430f5438-cc2564b/firmware/hal_lcd.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_lcd.c rename to port/msp-exp430f5438-cc2564b/firmware/hal_lcd.c diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_lcd.h b/port/msp-exp430f5438-cc2564b/firmware/hal_lcd.h similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_lcd.h rename to port/msp-exp430f5438-cc2564b/firmware/hal_lcd.h diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.c b/port/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.c rename to port/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.c diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.h b/port/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.h similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.h rename to port/msp-exp430f5438-cc2564b/firmware/hal_lcd_fonts.h diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_usb.c b/port/msp-exp430f5438-cc2564b/firmware/hal_usb.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_usb.c rename to port/msp-exp430f5438-cc2564b/firmware/hal_usb.c diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_usb.h b/port/msp-exp430f5438-cc2564b/firmware/hal_usb.h similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_usb.h rename to port/msp-exp430f5438-cc2564b/firmware/hal_usb.h diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_util.c b/port/msp-exp430f5438-cc2564b/firmware/hal_util.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_util.c rename to port/msp-exp430f5438-cc2564b/firmware/hal_util.c diff --git a/platform/msp-exp430f5438-cc2564b/firmware/hal_util.h b/port/msp-exp430f5438-cc2564b/firmware/hal_util.h similarity index 100% rename from platform/msp-exp430f5438-cc2564b/firmware/hal_util.h rename to port/msp-exp430f5438-cc2564b/firmware/hal_util.h diff --git a/platform/msp-exp430f5438-cc2564b/setup.jpg b/port/msp-exp430f5438-cc2564b/setup.jpg similarity index 100% rename from platform/msp-exp430f5438-cc2564b/setup.jpg rename to port/msp-exp430f5438-cc2564b/setup.jpg diff --git a/platform/msp-exp430f5438-cc2564b/src/hal_cpu.c b/port/msp-exp430f5438-cc2564b/src/hal_cpu.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/src/hal_cpu.c rename to port/msp-exp430f5438-cc2564b/src/hal_cpu.c diff --git a/platform/msp-exp430f5438-cc2564b/src/hal_tick.c b/port/msp-exp430f5438-cc2564b/src/hal_tick.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/src/hal_tick.c rename to port/msp-exp430f5438-cc2564b/src/hal_tick.c diff --git a/platform/msp-exp430f5438-cc2564b/src/hal_uart_dma.c b/port/msp-exp430f5438-cc2564b/src/hal_uart_dma.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/src/hal_uart_dma.c rename to port/msp-exp430f5438-cc2564b/src/hal_uart_dma.c diff --git a/platform/msp-exp430f5438-cc2564b/src/main.c b/port/msp-exp430f5438-cc2564b/src/main.c similarity index 100% rename from platform/msp-exp430f5438-cc2564b/src/main.c rename to port/msp-exp430f5438-cc2564b/src/main.c diff --git a/platform/msp430f5229lp-cc2564b/.gitignore b/port/msp430f5229lp-cc2564b/.gitignore similarity index 100% rename from platform/msp430f5229lp-cc2564b/.gitignore rename to port/msp430f5229lp-cc2564b/.gitignore diff --git a/platform/msp430f5229lp-cc2564b/Makefile b/port/msp430f5229lp-cc2564b/Makefile similarity index 100% rename from platform/msp430f5229lp-cc2564b/Makefile rename to port/msp430f5229lp-cc2564b/Makefile diff --git a/platform/msp430f5229lp-cc2564b/btstack-config.h b/port/msp430f5229lp-cc2564b/btstack-config.h similarity index 100% rename from platform/msp430f5229lp-cc2564b/btstack-config.h rename to port/msp430f5229lp-cc2564b/btstack-config.h diff --git a/platform/msp430f5229lp-cc2564b/example/ble_server.c b/port/msp430f5229lp-cc2564b/example/ble_server.c similarity index 100% rename from platform/msp430f5229lp-cc2564b/example/ble_server.c rename to port/msp430f5229lp-cc2564b/example/ble_server.c diff --git a/platform/msp430f5229lp-cc2564b/firmware/hal_board.c b/port/msp430f5229lp-cc2564b/firmware/hal_board.c similarity index 100% rename from platform/msp430f5229lp-cc2564b/firmware/hal_board.c rename to port/msp430f5229lp-cc2564b/firmware/hal_board.c diff --git a/platform/msp430f5229lp-cc2564b/firmware/hal_board.h b/port/msp430f5229lp-cc2564b/firmware/hal_board.h similarity index 100% rename from platform/msp430f5229lp-cc2564b/firmware/hal_board.h rename to port/msp430f5229lp-cc2564b/firmware/hal_board.h diff --git a/platform/msp430f5229lp-cc2564b/firmware/hal_usb.c b/port/msp430f5229lp-cc2564b/firmware/hal_usb.c similarity index 100% rename from platform/msp430f5229lp-cc2564b/firmware/hal_usb.c rename to port/msp430f5229lp-cc2564b/firmware/hal_usb.c diff --git a/platform/msp430f5229lp-cc2564b/firmware/hal_usb.h b/port/msp430f5229lp-cc2564b/firmware/hal_usb.h similarity index 100% rename from platform/msp430f5229lp-cc2564b/firmware/hal_usb.h rename to port/msp430f5229lp-cc2564b/firmware/hal_usb.h diff --git a/platform/msp430f5229lp-cc2564b/setup.jpg b/port/msp430f5229lp-cc2564b/setup.jpg similarity index 100% rename from platform/msp430f5229lp-cc2564b/setup.jpg rename to port/msp430f5229lp-cc2564b/setup.jpg diff --git a/platform/msp430f5229lp-cc2564b/src/hal_cpu.c b/port/msp430f5229lp-cc2564b/src/hal_cpu.c similarity index 100% rename from platform/msp430f5229lp-cc2564b/src/hal_cpu.c rename to port/msp430f5229lp-cc2564b/src/hal_cpu.c diff --git a/platform/msp430f5229lp-cc2564b/src/hal_tick.c b/port/msp430f5229lp-cc2564b/src/hal_tick.c similarity index 100% rename from platform/msp430f5229lp-cc2564b/src/hal_tick.c rename to port/msp430f5229lp-cc2564b/src/hal_tick.c diff --git a/platform/msp430f5229lp-cc2564b/src/hal_uart_dma.c b/port/msp430f5229lp-cc2564b/src/hal_uart_dma.c similarity index 100% rename from platform/msp430f5229lp-cc2564b/src/hal_uart_dma.c rename to port/msp430f5229lp-cc2564b/src/hal_uart_dma.c diff --git a/platform/msp430f5229lp-cc2564b/src/main.c b/port/msp430f5229lp-cc2564b/src/main.c similarity index 100% rename from platform/msp430f5229lp-cc2564b/src/main.c rename to port/msp430f5229lp-cc2564b/src/main.c diff --git a/platform/mtk/.gitignore b/port/mtk/.gitignore similarity index 100% rename from platform/mtk/.gitignore rename to port/mtk/.gitignore diff --git a/platform/mtk/BTstackDaemonRespawn.c b/port/mtk/BTstackDaemonRespawn.c similarity index 100% rename from platform/mtk/BTstackDaemonRespawn.c rename to port/mtk/BTstackDaemonRespawn.c diff --git a/platform/mtk/LEScan/.classpath b/port/mtk/LEScan/.classpath similarity index 100% rename from platform/mtk/LEScan/.classpath rename to port/mtk/LEScan/.classpath diff --git a/platform/mtk/LEScan/.project b/port/mtk/LEScan/.project similarity index 100% rename from platform/mtk/LEScan/.project rename to port/mtk/LEScan/.project diff --git a/platform/mtk/LEScan/.settings/org.eclipse.jdt.core.prefs b/port/mtk/LEScan/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from platform/mtk/LEScan/.settings/org.eclipse.jdt.core.prefs rename to port/mtk/LEScan/.settings/org.eclipse.jdt.core.prefs diff --git a/platform/mtk/LEScan/AndroidManifest.xml b/port/mtk/LEScan/AndroidManifest.xml similarity index 100% rename from platform/mtk/LEScan/AndroidManifest.xml rename to port/mtk/LEScan/AndroidManifest.xml diff --git a/platform/mtk/LEScan/bin/AndroidManifest.xml b/port/mtk/LEScan/bin/AndroidManifest.xml similarity index 100% rename from platform/mtk/LEScan/bin/AndroidManifest.xml rename to port/mtk/LEScan/bin/AndroidManifest.xml diff --git a/platform/mtk/LEScan/gen/com/bluekitchen/lescan/BuildConfig.java b/port/mtk/LEScan/gen/com/bluekitchen/lescan/BuildConfig.java similarity index 100% rename from platform/mtk/LEScan/gen/com/bluekitchen/lescan/BuildConfig.java rename to port/mtk/LEScan/gen/com/bluekitchen/lescan/BuildConfig.java diff --git a/platform/mtk/LEScan/gen/com/bluekitchen/lescan/R.java b/port/mtk/LEScan/gen/com/bluekitchen/lescan/R.java similarity index 100% rename from platform/mtk/LEScan/gen/com/bluekitchen/lescan/R.java rename to port/mtk/LEScan/gen/com/bluekitchen/lescan/R.java diff --git a/platform/mtk/LEScan/hs_err_pid91618.log b/port/mtk/LEScan/hs_err_pid91618.log similarity index 100% rename from platform/mtk/LEScan/hs_err_pid91618.log rename to port/mtk/LEScan/hs_err_pid91618.log diff --git a/platform/mtk/LEScan/hs_err_pid91628.log b/port/mtk/LEScan/hs_err_pid91628.log similarity index 100% rename from platform/mtk/LEScan/hs_err_pid91628.log rename to port/mtk/LEScan/hs_err_pid91628.log diff --git a/platform/mtk/LEScan/ic_launcher-web.png b/port/mtk/LEScan/ic_launcher-web.png similarity index 100% rename from platform/mtk/LEScan/ic_launcher-web.png rename to port/mtk/LEScan/ic_launcher-web.png diff --git a/platform/mtk/LEScan/libs/android-support-v4.jar b/port/mtk/LEScan/libs/android-support-v4.jar similarity index 100% rename from platform/mtk/LEScan/libs/android-support-v4.jar rename to port/mtk/LEScan/libs/android-support-v4.jar diff --git a/platform/mtk/LEScan/proguard-project.txt b/port/mtk/LEScan/proguard-project.txt similarity index 100% rename from platform/mtk/LEScan/proguard-project.txt rename to port/mtk/LEScan/proguard-project.txt diff --git a/platform/mtk/LEScan/project.properties b/port/mtk/LEScan/project.properties similarity index 100% rename from platform/mtk/LEScan/project.properties rename to port/mtk/LEScan/project.properties diff --git a/platform/mtk/LEScan/res/drawable-hdpi/ic_launcher.png b/port/mtk/LEScan/res/drawable-hdpi/ic_launcher.png similarity index 100% rename from platform/mtk/LEScan/res/drawable-hdpi/ic_launcher.png rename to port/mtk/LEScan/res/drawable-hdpi/ic_launcher.png diff --git a/platform/mtk/LEScan/res/drawable-mdpi/ic_launcher.png b/port/mtk/LEScan/res/drawable-mdpi/ic_launcher.png similarity index 100% rename from platform/mtk/LEScan/res/drawable-mdpi/ic_launcher.png rename to port/mtk/LEScan/res/drawable-mdpi/ic_launcher.png diff --git a/platform/mtk/LEScan/res/drawable-xhdpi/ic_launcher.png b/port/mtk/LEScan/res/drawable-xhdpi/ic_launcher.png similarity index 100% rename from platform/mtk/LEScan/res/drawable-xhdpi/ic_launcher.png rename to port/mtk/LEScan/res/drawable-xhdpi/ic_launcher.png diff --git a/platform/mtk/LEScan/res/drawable-xxhdpi/ic_launcher.png b/port/mtk/LEScan/res/drawable-xxhdpi/ic_launcher.png similarity index 100% rename from platform/mtk/LEScan/res/drawable-xxhdpi/ic_launcher.png rename to port/mtk/LEScan/res/drawable-xxhdpi/ic_launcher.png diff --git a/platform/mtk/LEScan/res/layout/activity_main.xml b/port/mtk/LEScan/res/layout/activity_main.xml similarity index 100% rename from platform/mtk/LEScan/res/layout/activity_main.xml rename to port/mtk/LEScan/res/layout/activity_main.xml diff --git a/platform/mtk/LEScan/res/menu/main.xml b/port/mtk/LEScan/res/menu/main.xml similarity index 100% rename from platform/mtk/LEScan/res/menu/main.xml rename to port/mtk/LEScan/res/menu/main.xml diff --git a/platform/mtk/LEScan/res/values-sw600dp/dimens.xml b/port/mtk/LEScan/res/values-sw600dp/dimens.xml similarity index 100% rename from platform/mtk/LEScan/res/values-sw600dp/dimens.xml rename to port/mtk/LEScan/res/values-sw600dp/dimens.xml diff --git a/platform/mtk/LEScan/res/values-sw720dp-land/dimens.xml b/port/mtk/LEScan/res/values-sw720dp-land/dimens.xml similarity index 100% rename from platform/mtk/LEScan/res/values-sw720dp-land/dimens.xml rename to port/mtk/LEScan/res/values-sw720dp-land/dimens.xml diff --git a/platform/mtk/LEScan/res/values-v11/styles.xml b/port/mtk/LEScan/res/values-v11/styles.xml similarity index 100% rename from platform/mtk/LEScan/res/values-v11/styles.xml rename to port/mtk/LEScan/res/values-v11/styles.xml diff --git a/platform/mtk/LEScan/res/values-v14/styles.xml b/port/mtk/LEScan/res/values-v14/styles.xml similarity index 100% rename from platform/mtk/LEScan/res/values-v14/styles.xml rename to port/mtk/LEScan/res/values-v14/styles.xml diff --git a/platform/mtk/LEScan/res/values/dimens.xml b/port/mtk/LEScan/res/values/dimens.xml similarity index 100% rename from platform/mtk/LEScan/res/values/dimens.xml rename to port/mtk/LEScan/res/values/dimens.xml diff --git a/platform/mtk/LEScan/res/values/strings.xml b/port/mtk/LEScan/res/values/strings.xml similarity index 100% rename from platform/mtk/LEScan/res/values/strings.xml rename to port/mtk/LEScan/res/values/strings.xml diff --git a/platform/mtk/LEScan/res/values/styles.xml b/port/mtk/LEScan/res/values/styles.xml similarity index 100% rename from platform/mtk/LEScan/res/values/styles.xml rename to port/mtk/LEScan/res/values/styles.xml diff --git a/platform/mtk/LEScan/src/com/bluekitchen/btstack/SocketConnectionUnix.java b/port/mtk/LEScan/src/com/bluekitchen/btstack/SocketConnectionUnix.java similarity index 100% rename from platform/mtk/LEScan/src/com/bluekitchen/btstack/SocketConnectionUnix.java rename to port/mtk/LEScan/src/com/bluekitchen/btstack/SocketConnectionUnix.java diff --git a/platform/mtk/LEScan/src/com/bluekitchen/lescan/MainActivity.java b/port/mtk/LEScan/src/com/bluekitchen/lescan/MainActivity.java similarity index 100% rename from platform/mtk/LEScan/src/com/bluekitchen/lescan/MainActivity.java rename to port/mtk/LEScan/src/com/bluekitchen/lescan/MainActivity.java diff --git a/platform/mtk/Makefile b/port/mtk/Makefile similarity index 100% rename from platform/mtk/Makefile rename to port/mtk/Makefile diff --git a/platform/mtk/SPPClient/.classpath b/port/mtk/SPPClient/.classpath similarity index 100% rename from platform/mtk/SPPClient/.classpath rename to port/mtk/SPPClient/.classpath diff --git a/platform/mtk/SPPClient/.project b/port/mtk/SPPClient/.project similarity index 100% rename from platform/mtk/SPPClient/.project rename to port/mtk/SPPClient/.project diff --git a/platform/mtk/SPPClient/.settings/org.eclipse.jdt.core.prefs b/port/mtk/SPPClient/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from platform/mtk/SPPClient/.settings/org.eclipse.jdt.core.prefs rename to port/mtk/SPPClient/.settings/org.eclipse.jdt.core.prefs diff --git a/platform/mtk/SPPClient/AndroidManifest.xml b/port/mtk/SPPClient/AndroidManifest.xml similarity index 100% rename from platform/mtk/SPPClient/AndroidManifest.xml rename to port/mtk/SPPClient/AndroidManifest.xml diff --git a/platform/mtk/SPPClient/bin/AndroidManifest.xml b/port/mtk/SPPClient/bin/AndroidManifest.xml similarity index 100% rename from platform/mtk/SPPClient/bin/AndroidManifest.xml rename to port/mtk/SPPClient/bin/AndroidManifest.xml diff --git a/platform/mtk/SPPClient/gen/com/bluekitchen/sppclient/BuildConfig.java b/port/mtk/SPPClient/gen/com/bluekitchen/sppclient/BuildConfig.java similarity index 100% rename from platform/mtk/SPPClient/gen/com/bluekitchen/sppclient/BuildConfig.java rename to port/mtk/SPPClient/gen/com/bluekitchen/sppclient/BuildConfig.java diff --git a/platform/mtk/SPPClient/gen/com/bluekitchen/sppclient/R.java b/port/mtk/SPPClient/gen/com/bluekitchen/sppclient/R.java similarity index 100% rename from platform/mtk/SPPClient/gen/com/bluekitchen/sppclient/R.java rename to port/mtk/SPPClient/gen/com/bluekitchen/sppclient/R.java diff --git a/platform/mtk/SPPClient/ic_launcher-web.png b/port/mtk/SPPClient/ic_launcher-web.png similarity index 100% rename from platform/mtk/SPPClient/ic_launcher-web.png rename to port/mtk/SPPClient/ic_launcher-web.png diff --git a/platform/mtk/SPPClient/libs/android-support-v4.jar b/port/mtk/SPPClient/libs/android-support-v4.jar similarity index 100% rename from platform/mtk/SPPClient/libs/android-support-v4.jar rename to port/mtk/SPPClient/libs/android-support-v4.jar diff --git a/platform/mtk/SPPClient/proguard-project.txt b/port/mtk/SPPClient/proguard-project.txt similarity index 100% rename from platform/mtk/SPPClient/proguard-project.txt rename to port/mtk/SPPClient/proguard-project.txt diff --git a/platform/mtk/SPPClient/project.properties b/port/mtk/SPPClient/project.properties similarity index 100% rename from platform/mtk/SPPClient/project.properties rename to port/mtk/SPPClient/project.properties diff --git a/platform/mtk/SPPClient/res/drawable-hdpi/ic_launcher.png b/port/mtk/SPPClient/res/drawable-hdpi/ic_launcher.png similarity index 100% rename from platform/mtk/SPPClient/res/drawable-hdpi/ic_launcher.png rename to port/mtk/SPPClient/res/drawable-hdpi/ic_launcher.png diff --git a/platform/mtk/SPPClient/res/drawable-mdpi/ic_launcher.png b/port/mtk/SPPClient/res/drawable-mdpi/ic_launcher.png similarity index 100% rename from platform/mtk/SPPClient/res/drawable-mdpi/ic_launcher.png rename to port/mtk/SPPClient/res/drawable-mdpi/ic_launcher.png diff --git a/platform/mtk/SPPClient/res/drawable-xhdpi/ic_launcher.png b/port/mtk/SPPClient/res/drawable-xhdpi/ic_launcher.png similarity index 100% rename from platform/mtk/SPPClient/res/drawable-xhdpi/ic_launcher.png rename to port/mtk/SPPClient/res/drawable-xhdpi/ic_launcher.png diff --git a/platform/mtk/SPPClient/res/drawable-xxhdpi/ic_launcher.png b/port/mtk/SPPClient/res/drawable-xxhdpi/ic_launcher.png similarity index 100% rename from platform/mtk/SPPClient/res/drawable-xxhdpi/ic_launcher.png rename to port/mtk/SPPClient/res/drawable-xxhdpi/ic_launcher.png diff --git a/platform/mtk/SPPClient/res/layout/activity_main.xml b/port/mtk/SPPClient/res/layout/activity_main.xml similarity index 100% rename from platform/mtk/SPPClient/res/layout/activity_main.xml rename to port/mtk/SPPClient/res/layout/activity_main.xml diff --git a/platform/mtk/SPPClient/res/menu/main.xml b/port/mtk/SPPClient/res/menu/main.xml similarity index 100% rename from platform/mtk/SPPClient/res/menu/main.xml rename to port/mtk/SPPClient/res/menu/main.xml diff --git a/platform/mtk/SPPClient/res/values-sw600dp/dimens.xml b/port/mtk/SPPClient/res/values-sw600dp/dimens.xml similarity index 100% rename from platform/mtk/SPPClient/res/values-sw600dp/dimens.xml rename to port/mtk/SPPClient/res/values-sw600dp/dimens.xml diff --git a/platform/mtk/SPPClient/res/values-sw720dp-land/dimens.xml b/port/mtk/SPPClient/res/values-sw720dp-land/dimens.xml similarity index 100% rename from platform/mtk/SPPClient/res/values-sw720dp-land/dimens.xml rename to port/mtk/SPPClient/res/values-sw720dp-land/dimens.xml diff --git a/platform/mtk/SPPClient/res/values-v11/styles.xml b/port/mtk/SPPClient/res/values-v11/styles.xml similarity index 100% rename from platform/mtk/SPPClient/res/values-v11/styles.xml rename to port/mtk/SPPClient/res/values-v11/styles.xml diff --git a/platform/mtk/SPPClient/res/values-v14/styles.xml b/port/mtk/SPPClient/res/values-v14/styles.xml similarity index 100% rename from platform/mtk/SPPClient/res/values-v14/styles.xml rename to port/mtk/SPPClient/res/values-v14/styles.xml diff --git a/platform/mtk/SPPClient/res/values/dimens.xml b/port/mtk/SPPClient/res/values/dimens.xml similarity index 100% rename from platform/mtk/SPPClient/res/values/dimens.xml rename to port/mtk/SPPClient/res/values/dimens.xml diff --git a/platform/mtk/SPPClient/res/values/strings.xml b/port/mtk/SPPClient/res/values/strings.xml similarity index 100% rename from platform/mtk/SPPClient/res/values/strings.xml rename to port/mtk/SPPClient/res/values/strings.xml diff --git a/platform/mtk/SPPClient/res/values/styles.xml b/port/mtk/SPPClient/res/values/styles.xml similarity index 100% rename from platform/mtk/SPPClient/res/values/styles.xml rename to port/mtk/SPPClient/res/values/styles.xml diff --git a/platform/mtk/SPPClient/src/com/bluekitchen/btstack/SocketConnectionUnix.java b/port/mtk/SPPClient/src/com/bluekitchen/btstack/SocketConnectionUnix.java similarity index 100% rename from platform/mtk/SPPClient/src/com/bluekitchen/btstack/SocketConnectionUnix.java rename to port/mtk/SPPClient/src/com/bluekitchen/btstack/SocketConnectionUnix.java diff --git a/platform/mtk/SPPClient/src/com/bluekitchen/sppclient/MainActivity.java b/port/mtk/SPPClient/src/com/bluekitchen/sppclient/MainActivity.java similarity index 100% rename from platform/mtk/SPPClient/src/com/bluekitchen/sppclient/MainActivity.java rename to port/mtk/SPPClient/src/com/bluekitchen/sppclient/MainActivity.java diff --git a/platform/mtk/bluetoothdrv-stub.c b/port/mtk/bluetoothdrv-stub.c similarity index 100% rename from platform/mtk/bluetoothdrv-stub.c rename to port/mtk/bluetoothdrv-stub.c diff --git a/platform/mtk/bluetoothdrv.h b/port/mtk/bluetoothdrv.h similarity index 100% rename from platform/mtk/bluetoothdrv.h rename to port/mtk/bluetoothdrv.h diff --git a/platform/mtk/btstack-config.h b/port/mtk/btstack-config.h similarity index 100% rename from platform/mtk/btstack-config.h rename to port/mtk/btstack-config.h diff --git a/platform/mtk/deinstaller.sh b/port/mtk/deinstaller.sh similarity index 100% rename from platform/mtk/deinstaller.sh rename to port/mtk/deinstaller.sh diff --git a/platform/mtk/docs/.gitignore b/port/mtk/docs/.gitignore similarity index 100% rename from platform/mtk/docs/.gitignore rename to port/mtk/docs/.gitignore diff --git a/platform/mtk/docs/data/.gitignore b/port/mtk/docs/data/.gitignore similarity index 100% rename from platform/mtk/docs/data/.gitignore rename to port/mtk/docs/data/.gitignore diff --git a/platform/mtk/docs/picts/cydiaimpactor.png b/port/mtk/docs/picts/cydiaimpactor.png similarity index 100% rename from platform/mtk/docs/picts/cydiaimpactor.png rename to port/mtk/docs/picts/cydiaimpactor.png diff --git a/platform/mtk/docs/picts/ruggear_initial_hci_dump.pdf b/port/mtk/docs/picts/ruggear_initial_hci_dump.pdf similarity index 100% rename from platform/mtk/docs/picts/ruggear_initial_hci_dump.pdf rename to port/mtk/docs/picts/ruggear_initial_hci_dump.pdf diff --git a/platform/mtk/docs/picts/scan_parameters_hci_dump.png b/port/mtk/docs/picts/scan_parameters_hci_dump.png similarity index 100% rename from platform/mtk/docs/picts/scan_parameters_hci_dump.png rename to port/mtk/docs/picts/scan_parameters_hci_dump.png diff --git a/platform/mtk/docs/ruggear-gettingstarted.pdf b/port/mtk/docs/ruggear-gettingstarted.pdf similarity index 100% rename from platform/mtk/docs/ruggear-gettingstarted.pdf rename to port/mtk/docs/ruggear-gettingstarted.pdf diff --git a/platform/mtk/docs/ruggear-gettingstarted.tex b/port/mtk/docs/ruggear-gettingstarted.tex similarity index 100% rename from platform/mtk/docs/ruggear-gettingstarted.tex rename to port/mtk/docs/ruggear-gettingstarted.tex diff --git a/platform/mtk/docs/scripts/plot_scan.py b/port/mtk/docs/scripts/plot_scan.py similarity index 100% rename from platform/mtk/docs/scripts/plot_scan.py rename to port/mtk/docs/scripts/plot_scan.py diff --git a/platform/mtk/docs/scripts/plot_scan_two_groups.py b/port/mtk/docs/scripts/plot_scan_two_groups.py similarity index 100% rename from platform/mtk/docs/scripts/plot_scan_two_groups.py rename to port/mtk/docs/scripts/plot_scan_two_groups.py diff --git a/platform/mtk/docs/scripts/process_scan.py b/port/mtk/docs/scripts/process_scan.py similarity index 100% rename from platform/mtk/docs/scripts/process_scan.py rename to port/mtk/docs/scripts/process_scan.py diff --git a/platform/mtk/hci_transport_h4_mtk.c b/port/mtk/hci_transport_h4_mtk.c similarity index 100% rename from platform/mtk/hci_transport_h4_mtk.c rename to port/mtk/hci_transport_h4_mtk.c diff --git a/platform/mtk/installer.sh b/port/mtk/installer.sh similarity index 100% rename from platform/mtk/installer.sh rename to port/mtk/installer.sh diff --git a/platform/mtk/package.sh b/port/mtk/package.sh similarity index 100% rename from platform/mtk/package.sh rename to port/mtk/package.sh diff --git a/platform/mtk/readme.txt b/port/mtk/readme.txt similarity index 100% rename from platform/mtk/readme.txt rename to port/mtk/readme.txt diff --git a/platform/mtk/restart.sh b/port/mtk/restart.sh similarity index 100% rename from platform/mtk/restart.sh rename to port/mtk/restart.sh diff --git a/platform/pic32-harmony/README b/port/pic32-harmony/README similarity index 100% rename from platform/pic32-harmony/README rename to port/pic32-harmony/README diff --git a/platform/pic32-harmony/app.X/.gitignore b/port/pic32-harmony/app.X/.gitignore similarity index 100% rename from platform/pic32-harmony/app.X/.gitignore rename to port/pic32-harmony/app.X/.gitignore diff --git a/platform/pic32-harmony/app.X/Makefile b/port/pic32-harmony/app.X/Makefile similarity index 100% rename from platform/pic32-harmony/app.X/Makefile rename to port/pic32-harmony/app.X/Makefile diff --git a/platform/pic32-harmony/app.X/nbproject/Makefile-default.mk b/port/pic32-harmony/app.X/nbproject/Makefile-default.mk similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/Makefile-default.mk rename to port/pic32-harmony/app.X/nbproject/Makefile-default.mk diff --git a/platform/pic32-harmony/app.X/nbproject/Makefile-genesis.properties b/port/pic32-harmony/app.X/nbproject/Makefile-genesis.properties similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/Makefile-genesis.properties rename to port/pic32-harmony/app.X/nbproject/Makefile-genesis.properties diff --git a/platform/pic32-harmony/app.X/nbproject/Makefile-impl.mk b/port/pic32-harmony/app.X/nbproject/Makefile-impl.mk similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/Makefile-impl.mk rename to port/pic32-harmony/app.X/nbproject/Makefile-impl.mk diff --git a/platform/pic32-harmony/app.X/nbproject/Makefile-local-default.mk b/port/pic32-harmony/app.X/nbproject/Makefile-local-default.mk similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/Makefile-local-default.mk rename to port/pic32-harmony/app.X/nbproject/Makefile-local-default.mk diff --git a/platform/pic32-harmony/app.X/nbproject/Makefile-variables.mk b/port/pic32-harmony/app.X/nbproject/Makefile-variables.mk similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/Makefile-variables.mk rename to port/pic32-harmony/app.X/nbproject/Makefile-variables.mk diff --git a/platform/pic32-harmony/app.X/nbproject/Package-default.bash b/port/pic32-harmony/app.X/nbproject/Package-default.bash similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/Package-default.bash rename to port/pic32-harmony/app.X/nbproject/Package-default.bash diff --git a/platform/pic32-harmony/app.X/nbproject/configurations.xml b/port/pic32-harmony/app.X/nbproject/configurations.xml similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/configurations.xml rename to port/pic32-harmony/app.X/nbproject/configurations.xml diff --git a/platform/pic32-harmony/app.X/nbproject/private/configurations.xml b/port/pic32-harmony/app.X/nbproject/private/configurations.xml similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/private/configurations.xml rename to port/pic32-harmony/app.X/nbproject/private/configurations.xml diff --git a/platform/pic32-harmony/app.X/nbproject/private/private.properties b/port/pic32-harmony/app.X/nbproject/private/private.properties similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/private/private.properties rename to port/pic32-harmony/app.X/nbproject/private/private.properties diff --git a/platform/pic32-harmony/app.X/nbproject/private/private.xml b/port/pic32-harmony/app.X/nbproject/private/private.xml similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/private/private.xml rename to port/pic32-harmony/app.X/nbproject/private/private.xml diff --git a/platform/pic32-harmony/app.X/nbproject/project.properties b/port/pic32-harmony/app.X/nbproject/project.properties similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/project.properties rename to port/pic32-harmony/app.X/nbproject/project.properties diff --git a/platform/pic32-harmony/app.X/nbproject/project.xml b/port/pic32-harmony/app.X/nbproject/project.xml similarity index 100% rename from platform/pic32-harmony/app.X/nbproject/project.xml rename to port/pic32-harmony/app.X/nbproject/project.xml diff --git a/platform/pic32-harmony/setup-bluetooth-audio-devkit.jpg b/port/pic32-harmony/setup-bluetooth-audio-devkit.jpg similarity index 100% rename from platform/pic32-harmony/setup-bluetooth-audio-devkit.jpg rename to port/pic32-harmony/setup-bluetooth-audio-devkit.jpg diff --git a/platform/pic32-harmony/src/app.c b/port/pic32-harmony/src/app.c similarity index 100% rename from platform/pic32-harmony/src/app.c rename to port/pic32-harmony/src/app.c diff --git a/platform/pic32-harmony/src/app.h b/port/pic32-harmony/src/app.h similarity index 100% rename from platform/pic32-harmony/src/app.h rename to port/pic32-harmony/src/app.h diff --git a/platform/pic32-harmony/src/app_debug.c b/port/pic32-harmony/src/app_debug.c similarity index 100% rename from platform/pic32-harmony/src/app_debug.c rename to port/pic32-harmony/src/app_debug.c diff --git a/platform/pic32-harmony/src/app_debug.h b/port/pic32-harmony/src/app_debug.h similarity index 100% rename from platform/pic32-harmony/src/app_debug.h rename to port/pic32-harmony/src/app_debug.h diff --git a/platform/pic32-harmony/src/btstack-config.h b/port/pic32-harmony/src/btstack-config.h similarity index 100% rename from platform/pic32-harmony/src/btstack-config.h rename to port/pic32-harmony/src/btstack-config.h diff --git a/platform/pic32-harmony/src/btstack_port.c b/port/pic32-harmony/src/btstack_port.c similarity index 100% rename from platform/pic32-harmony/src/btstack_port.c rename to port/pic32-harmony/src/btstack_port.c diff --git a/platform/pic32-harmony/src/btstack_port.h b/port/pic32-harmony/src/btstack_port.h similarity index 100% rename from platform/pic32-harmony/src/btstack_port.h rename to port/pic32-harmony/src/btstack_port.h diff --git a/platform/pic32-harmony/src/main.c b/port/pic32-harmony/src/main.c similarity index 100% rename from platform/pic32-harmony/src/main.c rename to port/pic32-harmony/src/main.c diff --git a/platform/pic32-harmony/src/spp_and_le_counter.h b/port/pic32-harmony/src/spp_and_le_counter.h similarity index 100% rename from platform/pic32-harmony/src/spp_and_le_counter.h rename to port/pic32-harmony/src/spp_and_le_counter.h diff --git a/platform/pic32-harmony/src/system_config/bk-audio-dk/system_config.h b/port/pic32-harmony/src/system_config/bk-audio-dk/system_config.h similarity index 100% rename from platform/pic32-harmony/src/system_config/bk-audio-dk/system_config.h rename to port/pic32-harmony/src/system_config/bk-audio-dk/system_config.h diff --git a/platform/pic32-harmony/src/system_config/bk-audio-dk/system_definitions.h b/port/pic32-harmony/src/system_config/bk-audio-dk/system_definitions.h similarity index 100% rename from platform/pic32-harmony/src/system_config/bk-audio-dk/system_definitions.h rename to port/pic32-harmony/src/system_config/bk-audio-dk/system_definitions.h diff --git a/platform/pic32-harmony/src/system_config/bk-audio-dk/system_init.c b/port/pic32-harmony/src/system_config/bk-audio-dk/system_init.c similarity index 100% rename from platform/pic32-harmony/src/system_config/bk-audio-dk/system_init.c rename to port/pic32-harmony/src/system_config/bk-audio-dk/system_init.c diff --git a/platform/pic32-harmony/src/system_config/bk-audio-dk/system_tasks.c b/port/pic32-harmony/src/system_config/bk-audio-dk/system_tasks.c similarity index 100% rename from platform/pic32-harmony/src/system_config/bk-audio-dk/system_tasks.c rename to port/pic32-harmony/src/system_config/bk-audio-dk/system_tasks.c diff --git a/platform/posix-cc2564b/.gitignore b/port/posix-cc2564b/.gitignore similarity index 100% rename from platform/posix-cc2564b/.gitignore rename to port/posix-cc2564b/.gitignore diff --git a/platform/posix-cc2564b/Makefile b/port/posix-cc2564b/Makefile similarity index 100% rename from platform/posix-cc2564b/Makefile rename to port/posix-cc2564b/Makefile diff --git a/platform/posix-cc2564b/btstack-config.h b/port/posix-cc2564b/btstack-config.h similarity index 100% rename from platform/posix-cc2564b/btstack-config.h rename to port/posix-cc2564b/btstack-config.h diff --git a/platform/posix-cc2564b/main.c b/port/posix-cc2564b/main.c similarity index 100% rename from platform/posix-cc2564b/main.c rename to port/posix-cc2564b/main.c diff --git a/platform/posix-h4/.gitignore b/port/posix-h4/.gitignore similarity index 100% rename from platform/posix-h4/.gitignore rename to port/posix-h4/.gitignore diff --git a/platform/posix-h4/Makefile b/port/posix-h4/Makefile similarity index 100% rename from platform/posix-h4/Makefile rename to port/posix-h4/Makefile diff --git a/platform/posix-h4/btstack-config.h b/port/posix-h4/btstack-config.h similarity index 100% rename from platform/posix-h4/btstack-config.h rename to port/posix-h4/btstack-config.h diff --git a/platform/posix-h4/main.c b/port/posix-h4/main.c similarity index 100% rename from platform/posix-h4/main.c rename to port/posix-h4/main.c diff --git a/platform/posix-stlc2500d/.gitignore b/port/posix-stlc2500d/.gitignore similarity index 100% rename from platform/posix-stlc2500d/.gitignore rename to port/posix-stlc2500d/.gitignore diff --git a/platform/posix-stlc2500d/Makefile b/port/posix-stlc2500d/Makefile similarity index 100% rename from platform/posix-stlc2500d/Makefile rename to port/posix-stlc2500d/Makefile diff --git a/platform/posix-stlc2500d/btstack-config.h b/port/posix-stlc2500d/btstack-config.h similarity index 100% rename from platform/posix-stlc2500d/btstack-config.h rename to port/posix-stlc2500d/btstack-config.h diff --git a/platform/posix-stlc2500d/main.c b/port/posix-stlc2500d/main.c similarity index 100% rename from platform/posix-stlc2500d/main.c rename to port/posix-stlc2500d/main.c diff --git a/platform/posix-stlc2500d/setup.jpg b/port/posix-stlc2500d/setup.jpg similarity index 100% rename from platform/posix-stlc2500d/setup.jpg rename to port/posix-stlc2500d/setup.jpg diff --git a/platform/posix-wl183x/.gitignore b/port/posix-wl183x/.gitignore similarity index 100% rename from platform/posix-wl183x/.gitignore rename to port/posix-wl183x/.gitignore diff --git a/platform/posix-wl183x/Makefile b/port/posix-wl183x/Makefile similarity index 100% rename from platform/posix-wl183x/Makefile rename to port/posix-wl183x/Makefile diff --git a/platform/posix-wl183x/btstack-config.h b/port/posix-wl183x/btstack-config.h similarity index 100% rename from platform/posix-wl183x/btstack-config.h rename to port/posix-wl183x/btstack-config.h diff --git a/platform/posix-wl183x/main.c b/port/posix-wl183x/main.c similarity index 100% rename from platform/posix-wl183x/main.c rename to port/posix-wl183x/main.c diff --git a/platform/posix-wl183x/setup.jpg b/port/posix-wl183x/setup.jpg similarity index 100% rename from platform/posix-wl183x/setup.jpg rename to port/posix-wl183x/setup.jpg diff --git a/platform/stm32-f103rb-nucleo/.gitignore b/port/stm32-f103rb-nucleo/.gitignore similarity index 100% rename from platform/stm32-f103rb-nucleo/.gitignore rename to port/stm32-f103rb-nucleo/.gitignore diff --git a/platform/stm32-f103rb-nucleo/Makefile b/port/stm32-f103rb-nucleo/Makefile similarity index 100% rename from platform/stm32-f103rb-nucleo/Makefile rename to port/stm32-f103rb-nucleo/Makefile diff --git a/platform/stm32-f103rb-nucleo/README.md b/port/stm32-f103rb-nucleo/README.md similarity index 100% rename from platform/stm32-f103rb-nucleo/README.md rename to port/stm32-f103rb-nucleo/README.md diff --git a/platform/stm32-f103rb-nucleo/btstack-config.h b/port/stm32-f103rb-nucleo/btstack-config.h similarity index 100% rename from platform/stm32-f103rb-nucleo/btstack-config.h rename to port/stm32-f103rb-nucleo/btstack-config.h diff --git a/platform/stm32-f103rb-nucleo/libopencm3.rules.mk b/port/stm32-f103rb-nucleo/libopencm3.rules.mk similarity index 100% rename from platform/stm32-f103rb-nucleo/libopencm3.rules.mk rename to port/stm32-f103rb-nucleo/libopencm3.rules.mk diff --git a/platform/stm32-f103rb-nucleo/libopencm3.stm32f1.mk b/port/stm32-f103rb-nucleo/libopencm3.stm32f1.mk similarity index 100% rename from platform/stm32-f103rb-nucleo/libopencm3.stm32f1.mk rename to port/stm32-f103rb-nucleo/libopencm3.stm32f1.mk diff --git a/platform/stm32-f103rb-nucleo/main.c b/port/stm32-f103rb-nucleo/main.c similarity index 100% rename from platform/stm32-f103rb-nucleo/main.c rename to port/stm32-f103rb-nucleo/main.c diff --git a/platform/stm32-f103rb-nucleo/setup.jpg b/port/stm32-f103rb-nucleo/setup.jpg similarity index 100% rename from platform/stm32-f103rb-nucleo/setup.jpg rename to port/stm32-f103rb-nucleo/setup.jpg diff --git a/platform/stm32-f103rb-nucleo/spp_and_le_counter.gatt b/port/stm32-f103rb-nucleo/spp_and_le_counter.gatt similarity index 100% rename from platform/stm32-f103rb-nucleo/spp_and_le_counter.gatt rename to port/stm32-f103rb-nucleo/spp_and_le_counter.gatt diff --git a/platform/stm32-f103rb-nucleo/stm32f1-nucleo.ld b/port/stm32-f103rb-nucleo/stm32f1-nucleo.ld similarity index 100% rename from platform/stm32-f103rb-nucleo/stm32f1-nucleo.ld rename to port/stm32-f103rb-nucleo/stm32f1-nucleo.ld