mbed library sources for airmote

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
zskdan
Date:
Tue Nov 24 14:02:46 2015 +0000
Parent:
624:15d19c4ec19a
Commit message:
remove unused service

Changed in this revision

targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/device.h Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/spi_api.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/device.h	Sun Nov 22 05:08:48 2015 +0000
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/device.h	Tue Nov 24 14:02:46 2015 +0000
@@ -25,13 +25,13 @@
 #define DEVICE_ANALOGIN         1
 #define DEVICE_ANALOGOUT        0
 
-#define DEVICE_SERIAL           1
+#define DEVICE_SERIAL           0
 
 #define DEVICE_I2C              1
 #define DEVICE_I2CSLAVE         0
 
-#define DEVICE_SPI              1
-#define DEVICE_SPISLAVE         1
+#define DEVICE_SPI              0
+#define DEVICE_SPISLAVE         0
 
 #define DEVICE_CAN              0
 
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c	Sun Nov 22 05:08:48 2015 +0000
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c	Tue Nov 24 14:02:46 2015 +0000
@@ -15,6 +15,7 @@
  */
 // math.h required for floating point operations for baud rate calculation
 //#include <math.h>
+#if 0
 #include <string.h>
 #include "mbed_assert.h"
 
@@ -298,3 +299,4 @@
 
 void serial_clear(serial_t *obj) {
 }
+#endif
\ No newline at end of file
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/spi_api.c	Sun Nov 22 05:08:48 2015 +0000
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/spi_api.c	Tue Nov 24 14:02:46 2015 +0000
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 //#include <math.h>
+#if 0
 #include "mbed_assert.h"
 #include "spi_api.h"
 #include "cmsis.h"
@@ -284,3 +285,4 @@
     obj->spis->EVENTS_ACQUIRED = 0;
     obj->spis->EVENTS_END      = 0;
 }
+#endif
\ No newline at end of file