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.
Fork of mbed-src by
Revision 625:88d3fa07e462, committed 2015-11-24
- Comitter:
- zskdan
- Date:
- Tue Nov 24 14:02:46 2015 +0000
- Parent:
- 624:15d19c4ec19a
- Commit message:
- remove unused service
Changed in this revision
--- 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