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: LwIPNetworking NetServicesMin EthernetInterface EthernetInterface_RSF ... more
Revision 18:8b8671ab556f, committed 2016-05-05
- Comitter:
- mbed_official
- Date:
- Thu May 05 20:45:38 2016 +0100
- Parent:
- 17:12e78a2462d0
- Commit message:
- Synchronized with git revision 860fdd282b0dc3631a6c46b39442d4ab5343e534
Full URL: https://github.com/mbedmicro/mbed/commit/860fdd282b0dc3631a6c46b39442d4ab5343e534/
rtx update to v4.79
Changed in this revision
| arch/sys_arch.c | Show annotated file Show diff for this revision Revisions of this file |
| arch/sys_arch.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 12e78a2462d0 -r 8b8671ab556f arch/sys_arch.c
--- a/arch/sys_arch.c Fri Oct 09 08:00:21 2015 +0100
+++ b/arch/sys_arch.c Thu May 05 20:45:38 2016 +0100
@@ -285,7 +285,7 @@
* @return a new mutex */
err_t sys_mutex_new(sys_mutex_t *mutex) {
#ifdef CMSIS_OS_RTX
-#ifdef __MBED_CMSIS_RTOS_CA9
+#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM)
memset(mutex->data, 0, sizeof(int32_t)*4);
#else
memset(mutex->data, 0, sizeof(int32_t)*3);
diff -r 12e78a2462d0 -r 8b8671ab556f arch/sys_arch.h
--- a/arch/sys_arch.h Fri Oct 09 08:00:21 2015 +0100
+++ b/arch/sys_arch.h Thu May 05 20:45:38 2016 +0100
@@ -40,7 +40,7 @@
osMutexId id;
osMutexDef_t def;
#ifdef CMSIS_OS_RTX
-#ifdef __MBED_CMSIS_RTOS_CA9
+#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM)
int32_t data[4];
#else
int32_t data[3];
