mbed-os5 only for TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Revision:
1:9db0e321a9f4
Parent:
0:5b88d5760320
--- a/mbed.h	Tue Dec 17 23:23:45 2019 +0000
+++ b/mbed.h	Tue Dec 31 06:02:27 2019 +0000
@@ -16,17 +16,17 @@
 #ifndef MBED_H
 #define MBED_H
 
-// start --- modified by JH1PJL Dec. 15th, 2019
+// start --- modified by JH1PJL Dec. 31st, 2019
 #if !defined(TARGET_NRF51_DK)
 #error "Please select Nordic nRF51-DK (Use as TYBLE16)"
 // Please refer following page 
 // https://os.mbed.com/platforms/Nordic-nRF51-DK/
 #endif
-// end ----- modified by JH1PJL Dec. 15th, 2019
+// end ----- modified by JH1PJL Dec. 31st, 2019
 
 #include "platform/mbed_version.h"
 
-#if MBED_CONF_RTOS_PRESENT
+#if MBED_CONF_RTOS_API_PRESENT
 #include "rtos/rtos.h"
 #endif
 
@@ -78,6 +78,7 @@
 #include "drivers/Ethernet.h"
 #include "drivers/CAN.h"
 #include "drivers/RawSerial.h"
+#include "drivers/UnbufferedSerial.h"
 #include "drivers/UARTSerial.h"
 #include "drivers/FlashIAP.h"
 #include "drivers/MbedCRC.h"
@@ -95,6 +96,7 @@
 #include "platform/LocalFileSystem.h"
 #include "drivers/InterruptIn.h"
 #include "platform/mbed_wait_api.h"
+#include "platform/mbed_thread.h"
 #include "hal/sleep_api.h"
 #include "platform/mbed_atomic.h"
 #include "platform/mbed_power_mgmt.h"
@@ -112,7 +114,6 @@
 
 // mbed Non-hardware components
 #include "platform/Callback.h"
-#include "platform/FunctionPointer.h"
 #include "platform/ScopedLock.h"
 
 #ifndef MBED_NO_GLOBAL_USING_DIRECTIVE