Replace deprecated inclusions of mbed.h

Replace all deprecated inclusions of mbed.h for mbed-drivers/mbed.h when using
mbed OS. Applications should compile for mbed classic.
master
Andres Amaya Garcia 2015-12-15 13:56:47 +00:00
parent fd8b73f914
commit 90de915fac
4 changed files with 20 additions and 4 deletions

View File

@ -15,7 +15,11 @@
*/
#include "nRF5xn.h"
#include "mbed.h"
#ifdef YOTTA_CFG_MBED_OS
#include "mbed-drivers/mbed.h"
#else
#include "mbed.h"
#endif
#include "ble/BLE.h"
#include "common/common.h"

View File

@ -17,7 +17,11 @@
#ifndef __NRF5x_GAP_H__
#define __NRF5x_GAP_H__
#include "mbed.h"
#ifdef YOTTA_CFG_MBED_OS
#include "mbed-drivers/mbed.h"
#else
#include "mbed.h"
#endif
#include "ble/blecommon.h"
#include "ble.h"
#include "ble/GapAdvertisingParams.h"

View File

@ -15,7 +15,11 @@
*/
#include "nRF5xGattServer.h"
#include "mbed.h"
#ifdef YOTTA_CFG_MBED_OS
#include "mbed-drivers/mbed.h"
#else
#include "mbed.h"
#endif
#include "common/common.h"
#include "btle/custom/custom_helper.h"

View File

@ -14,7 +14,11 @@
* limitations under the License.
*/
#include "mbed.h"
#ifdef YOTTA_CFG_MBED_OS
#include "mbed-drivers/mbed.h"
#else
#include "mbed.h"
#endif
#include "nRF5xn.h"
#include "ble/blecommon.h"
#include "nrf_soc.h"