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.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: TARGET_NUCLEO_L152RE/TARGET_STM/serial_api_hal.h
- Revision:
- 160:5571c4ff569f
- Parent:
- 145:64910690c574
- Child:
- 170:e95d10626187
diff -r 1c57384330a6 -r 5571c4ff569f TARGET_NUCLEO_L152RE/TARGET_STM/serial_api_hal.h
--- a/TARGET_NUCLEO_L152RE/TARGET_STM/serial_api_hal.h Thu Nov 23 11:44:04 2017 +0000
+++ b/TARGET_NUCLEO_L152RE/TARGET_STM/serial_api_hal.h Wed Jan 17 16:13:02 2018 +0000
@@ -32,7 +32,12 @@
#define MBED_SERIAL_API_HAL_H
#include "serial_api.h"
+#include <string.h>
+#include "mbed_assert.h"
+#include "mbed_debug.h"
+#include "mbed_error.h"
+#include "PeripheralPins.h"
#ifdef __cplusplus
extern "C" {
@@ -47,14 +52,12 @@
#define SERIAL_S(obj) (obj)
#endif
-extern UART_HandleTypeDef uart_handlers[];
-
/** Initialize and configure the UART peripheral
*
* @param obj The serial object containing the configuration
*/
-void init_uart(serial_t *obj);
+HAL_StatusTypeDef init_uart(serial_t *obj);
#ifdef __cplusplus
}


