Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 144:bdf5e8432131, committed 2015-10-21
- Comitter:
- Wolfgang Betz
- Date:
- Wed Oct 21 11:56:41 2015 +0200
- Parent:
- 143:63f5e8a590d4
- Child:
- 145:024a552e4715
- Child:
- 146:06284ddd3fb9
- Commit message:
- Get rid of warnings
Changed in this revision
--- a/source/BlueNRGDevice.cpp Mon Oct 19 13:55:48 2015 +0200
+++ b/source/BlueNRGDevice.cpp Wed Oct 21 11:56:41 2015 +0200
@@ -37,7 +37,7 @@
* @{
*/
-#include "mbed.h"
+#include "mbed-drivers/mbed.h"
#include "BlueNRGDevice.h"
#include "BlueNRGGap.h"
#include "BlueNRGGattServer.h"
--- a/source/BlueNRGGap.cpp Mon Oct 19 13:55:48 2015 +0200 +++ b/source/BlueNRGGap.cpp Wed Oct 21 11:56:41 2015 +0200 @@ -41,7 +41,7 @@ */ #include "BlueNRGDevice.h" -#include "mbed.h" +#include "mbed-drivers/mbed.h" #include "Payload.h" #include "Utils.h" #include "debug.h"
--- a/source/BlueNRGGattClient.cpp Mon Oct 19 13:55:48 2015 +0200 +++ b/source/BlueNRGGattClient.cpp Wed Oct 21 11:56:41 2015 +0200 @@ -37,7 +37,7 @@ */ #include "BlueNRGGattClient.h" -#include "mbed.h" +#include "mbed-drivers/mbed.h" #include "BlueNRGGap.h" #include "Utils.h" #include "debug.h"
--- a/source/BlueNRGGattServer.cpp Mon Oct 19 13:55:48 2015 +0200 +++ b/source/BlueNRGGattServer.cpp Wed Oct 21 11:56:41 2015 +0200 @@ -40,7 +40,7 @@ */ #include "BlueNRGGattServer.h" -#include "mbed.h" +#include "mbed-drivers/mbed.h" #include "BlueNRGGap.h" #include "Utils.h" #include "debug.h"
--- a/source/platform/clock.c Mon Oct 19 13:55:48 2015 +0200 +++ b/source/platform/clock.c Wed Oct 21 11:56:41 2015 +0200 @@ -1,7 +1,7 @@ #include "clock.h" -#include "wait_api.h" -#include "rtc_time.h" +#include "mbed-drivers/wait_api.h" +#include "mbed-drivers/rtc_time.h" const uint32_t CLOCK_SECOND = 1000;
--- a/x-nucleo-idb0xa1/BlueNRGDevice.h Mon Oct 19 13:55:48 2015 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGDevice.h Wed Oct 21 11:56:41 2015 +0200 @@ -40,7 +40,7 @@ #include "btle.h" -#include "mbed.h" +#include "mbed-drivers/mbed.h" #include "ble/blecommon.h" #include "ble/BLE.h" #include "BlueNRGGap.h"
--- a/x-nucleo-idb0xa1/BlueNRGGap.h Mon Oct 19 13:55:48 2015 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGGap.h Wed Oct 21 11:56:41 2015 +0200 @@ -35,7 +35,7 @@ #ifndef __BLUENRG_GAP_H__ #define __BLUENRG_GAP_H__ -#include "mbed.h" +#include "mbed-drivers/mbed.h" #include "ble/blecommon.h" #include "btle.h" #include "ble/GapAdvertisingParams.h"
--- a/x-nucleo-idb0xa1/BlueNRGGattClient.h Mon Oct 19 13:55:48 2015 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGGattClient.h Wed Oct 21 11:56:41 2015 +0200 @@ -34,7 +34,7 @@ #ifndef __BLUENRG_GATT_CLIENT_H__ #define __BLUENRG_GATT_CLIENT_H__ -#include "mbed.h" +#include "mbed-drivers/mbed.h" #include "ble/blecommon.h" #include "btle.h" #include "ble/GattClient.h"
--- a/x-nucleo-idb0xa1/BlueNRGGattServer.h Mon Oct 19 13:55:48 2015 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGGattServer.h Wed Oct 21 11:56:41 2015 +0200 @@ -36,7 +36,7 @@ #ifndef __BLUENRG_GATT_SERVER_H__ #define __BLUENRG_GATT_SERVER_H__ -#include "mbed.h" +#include "mbed-drivers/mbed.h" #include "ble/blecommon.h" #include "btle.h" #include "ble/GattService.h"
--- a/x-nucleo-idb0xa1/utils/Payload.h Mon Oct 19 13:55:48 2015 +0200 +++ b/x-nucleo-idb0xa1/utils/Payload.h Wed Oct 21 11:56:41 2015 +0200 @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "mbed.h" +#include "mbed-drivers/mbed.h" #ifndef __PAYLOAD_H__ #define __PAYLOAD_H__
--- a/x-nucleo-idb0xa1/utils/Utils.h Mon Oct 19 13:55:48 2015 +0200
+++ b/x-nucleo-idb0xa1/utils/Utils.h Wed Oct 21 11:56:41 2015 +0200
@@ -21,7 +21,7 @@
#define __UTIL_H__
#include "hal_types.h"
-#include "mbed.h"
+#include "mbed-drivers/mbed.h"
#define STORE_LE_16(buf, val) ( ((buf)[0] = (uint8_t) (val) ) , \
((buf)[1] = (uint8_t) (val>>8) ) )
--- a/x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h Mon Oct 19 13:55:48 2015 +0200 +++ b/x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h Wed Oct 21 11:56:41 2015 +0200 @@ -56,7 +56,7 @@ Expansion boards modified in this way allow to be used on almost any Arduino-compliant base board. */ -#define IDB0XA1_D13_PATCH +// #define IDB0XA1_D13_PATCH #if defined(IDB0XA1_D13_PATCH) #define IDB0XA1_PIN_SPI_SCK (D13)