mbed library sources, mbed-dev only for TYBLE16

Fork of mbed-dev by mbed official

Please refer flowing link.
/users/kenjiArai/notebook/tyble16-module-will-become-a-mbed-family--mbedliza/

Revision:
180:96ed750bd169
Parent:
178:79309dc6340a
--- a/platform/mbed_mem_trace.h	Thu Dec 07 14:01:42 2017 +0000
+++ b/platform/mbed_mem_trace.h	Wed Jan 17 15:23:54 2018 +0000
@@ -73,6 +73,17 @@
 void mbed_mem_trace_set_callback(mbed_mem_trace_cb_t cb);
 
 /**
+ * Trace lock.
+ * @note Locking prevent recursive tracing of malloc/free inside relloc/calloc
+ */
+void mbed_mem_trace_lock();
+
+/**
+ * Trace unlock.
+ */
+void mbed_mem_trace_unlock();
+
+/**
  * Trace a call to 'malloc'.
  * @param res the result of running 'malloc'.
  * @param size the 'size' argument given to 'malloc'.