![](/media/cache/profiles/af7fc8485f40dc495bc626d6dbe7faf1.50x50_q85.png)
Basic example showing the CMSIS-RTOS signals API
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_signals
signals example
Revision 2:7dc6330b7848, committed 2012-11-23
- Comitter:
- emilmont
- Date:
- Fri Nov 23 10:55:55 2012 +0000
- Parent:
- 1:8281c17352c6
- Commit message:
- update libraries
Changed in this revision
diff -r 8281c17352c6 -r 7dc6330b7848 main.cpp --- a/main.cpp Fri Jul 13 14:49:40 2012 +0000 +++ b/main.cpp Fri Nov 23 10:55:55 2012 +0000 @@ -3,7 +3,7 @@ DigitalOut led(LED1); -void led_thread(void const *argument) { +void led_thread(void const *args) { while (true) { // Signal flags that are reported as event are automatically cleared. osSignalWait(0x1, osWaitForever);
diff -r 8281c17352c6 -r 7dc6330b7848 mbed-rtos.lib --- a/mbed-rtos.lib Fri Jul 13 14:49:40 2012 +0000 +++ b/mbed-rtos.lib Fri Nov 23 10:55:55 2012 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#01158bb7600c +http://mbed.org/users/mbed_official/code/mbed-rtos/#80173c64d05d
diff -r 8281c17352c6 -r 7dc6330b7848 mbed.bld --- a/mbed.bld Fri Jul 13 14:49:40 2012 +0000 +++ b/mbed.bld Fri Nov 23 10:55:55 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