Basic CMSIS RTOS example

Dependencies:   mbed mbed-rtos

mbed 2 and mbed OS 5

This is an mbed 2 example. mbed OS 5 has integrated the mbed library with mbed-rtos. For an mbed-os example, please see:

Import programrtos_basic

basic rtos example

Files at this revision

API Documentation at this revision

Comitter:
emilmont
Date:
Fri Nov 23 10:49:40 2012 +0000
Parent:
2:558e42ab394d
Commit message:
update libraries

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 558e42ab394d -r 067f3686b245 main.cpp
--- a/main.cpp	Mon Jul 30 10:27:43 2012 +0000
+++ b/main.cpp	Fri Nov 23 10:49:40 2012 +0000
@@ -4,7 +4,7 @@
 DigitalOut led1(LED1);
 DigitalOut led2(LED2);
 
-void led2_thread(void const *argument) {
+void led2_thread(void const *args) {
     while (true) {
         led2 = !led2;
         osDelay(1000);
diff -r 558e42ab394d -r 067f3686b245 mbed-rtos.lib
--- a/mbed-rtos.lib	Mon Jul 30 10:27:43 2012 +0000
+++ b/mbed-rtos.lib	Fri Nov 23 10:49:40 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed-rtos/#70bd33086f56
+http://mbed.org/users/mbed_official/code/mbed-rtos/#80173c64d05d
diff -r 558e42ab394d -r 067f3686b245 mbed.bld
--- a/mbed.bld	Mon Jul 30 10:27:43 2012 +0000
+++ b/mbed.bld	Fri Nov 23 10:49:40 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/10b9abbe79a6
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/3d775a932e1d
\ No newline at end of file