Modified by Osama Ashaikh

Fork of mbed-rtos by mbed official

Files at this revision

API Documentation at this revision

Comitter:
oashaikh
Date:
Fri Sep 02 02:10:10 2016 +0000
Parent:
101:3d9d2b8b8f17
Commit message:
mbed error header file removed for now

Changed in this revision

rtos/Mutex.cpp Show annotated file Show diff for this revision Revisions of this file
rtos/Queue.h Show annotated file Show diff for this revision Revisions of this file
rtos/RtosTimer.cpp Show annotated file Show diff for this revision Revisions of this file
rtos/Thread.cpp Show annotated file Show diff for this revision Revisions of this file
rtx/TARGET_CORTEX_M/RTX_CM_lib.h Show annotated file Show diff for this revision Revisions of this file
--- a/rtos/Mutex.cpp	Mon Jan 11 17:00:32 2016 +0000
+++ b/rtos/Mutex.cpp	Fri Sep 02 02:10:10 2016 +0000
@@ -22,7 +22,7 @@
 #include "Mutex.h"
 
 #include <string.h>
-#include "mbed_error.h"
+//#include "mbed_error.h"
 
 namespace rtos {
 
@@ -33,7 +33,7 @@
 #endif
     _osMutexId = osMutexCreate(&_osMutexDef);
     if (_osMutexId == NULL) {
-        error("Error initializing the mutex object\n");
+        //error("Error initializing the mutex object\n");
     }
 }
 
--- a/rtos/Queue.h	Mon Jan 11 17:00:32 2016 +0000
+++ b/rtos/Queue.h	Fri Sep 02 02:10:10 2016 +0000
@@ -26,7 +26,7 @@
 #include <string.h>
 
 #include "cmsis_os.h"
-#include "mbed_error.h"
+//#include "mbed_error.h"
 
 namespace rtos {
 
@@ -48,7 +48,7 @@
     #endif
         _queue_id = osMessageCreate(&_queue_def, NULL);
         if (_queue_id == NULL) {
-            error("Error initialising the queue object\n");
+            //////error("Error initialising the queue object\n");
         }
     }
 
--- a/rtos/RtosTimer.cpp	Mon Jan 11 17:00:32 2016 +0000
+++ b/rtos/RtosTimer.cpp	Fri Sep 02 02:10:10 2016 +0000
@@ -24,7 +24,7 @@
 #include <string.h>
 
 #include "cmsis_os.h"
-#include "mbed_error.h"
+//#include "mbed_error.h"
 
 namespace rtos {
 
--- a/rtos/Thread.cpp	Mon Jan 11 17:00:32 2016 +0000
+++ b/rtos/Thread.cpp	Fri Sep 02 02:10:10 2016 +0000
@@ -21,7 +21,7 @@
  */
 #include "Thread.h"
 
-#include "mbed_error.h"
+//#include "mbed_error.h"
 
 namespace rtos {
 
@@ -37,7 +37,7 @@
     } else {
         _thread_def.stack_pointer = new uint32_t[stack_size/sizeof(uint32_t)];
         if (_thread_def.stack_pointer == NULL)
-            error("Error allocating the stack memory\n");
+            //error("Error allocating the stack memory\n");
         _dynamic_stack = true;
     }
     
--- a/rtx/TARGET_CORTEX_M/RTX_CM_lib.h	Mon Jan 11 17:00:32 2016 +0000
+++ b/rtx/TARGET_CORTEX_M/RTX_CM_lib.h	Fri Sep 02 02:10:10 2016 +0000
@@ -31,7 +31,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *---------------------------------------------------------------------------*/
-#include "mbed_error.h"
+//#include "mbed_error.h"
 
 #if   defined (__CC_ARM)
 #pragma O3
@@ -158,7 +158,7 @@
 
   if (nr_mutex >= OS_MUTEXCNT) {
     /* If you are here, you need to increase the number OS_MUTEXCNT. */
-    error("Not enough stdlib mutexes\n");
+    //////error("Not enough stdlib mutexes\n");
   }
   *mutex = &std_libmutex[nr_mutex++];
   mutex_init (*mutex);