![](/media/cache/group/logo-cachanx.jpg.50x50_q85.jpg)
Sample example of using EventFlags in mbed-os threads
Dependencies: IHM_V2
Purpose: Sample example of using EventFlags in mbed-os threads
that trigger a thread thrgough its EventFlags. Target: L432KC / Nboard (from IUT-Cachan) Tested: YES (2019-01-09) Author: Jacques-Olivier Klein - IUT de CACHAN Date: 2018-02-10 rev. 2019-01-09 OS_STACK_SIZE=4096 Libraries: mbed-os rev5345:c966348(03jan2019) + IHMV2 (from IUT-Cachan) rev6:ad91067
readme.txt@31:2afcd3a7b307, 2019-01-09 (annotated)
- Committer:
- jacquesolivierklein
- Date:
- Wed Jan 09 12:25:49 2019 +0000
- Revision:
- 31:2afcd3a7b307
- Parent:
- 30:39a2766bdd0c
update for mbed-os-5.11 (and IHM-V2)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jacquesolivierklein | 30:39a2766bdd0c | 1 | Title : mbed-os-signal |
jacquesolivierklein | 27:3546959ecd59 | 2 | |
jacquesolivierklein | 29:76fa085de35e | 3 | Purpose: Simple application example with 4 interrupt service routines (ISR) |
jacquesolivierklein | 29:76fa085de35e | 4 | that trigger a thread thrgough its signals. |
jacquesolivierklein | 27:3546959ecd59 | 5 | Target: L432KC / Nboard (from IUT-Cachan) |
jacquesolivierklein | 31:2afcd3a7b307 | 6 | Tested: YES (2019-01-09) |
jacquesolivierklein | 27:3546959ecd59 | 7 | Author: Jacques-Olivier Klein - IUT de CACHAN |
jacquesolivierklein | 31:2afcd3a7b307 | 8 | Date: 2018-02-10 rev. 2019-01-09 |
jacquesolivierklein | 31:2afcd3a7b307 | 9 | OS_STACK_SIZE=4096 |
jacquesolivierklein | 31:2afcd3a7b307 | 10 | Libraries: mbed-os rev5345:c966348(03jan2019) + IHMV2 (from IUT-Cachan) rev6:ad91067 |
jacquesolivierklein | 31:2afcd3a7b307 | 11 | |
jacquesolivierklein | 31:2afcd3a7b307 | 12 | 2019-01-06 : update mbed-os, IHMV1->V2, Thread::wait(int ms)-> wait(float s), |
jacquesolivierklein | 31:2afcd3a7b307 | 13 | ThreadGettid->osThreadGetId, DEFLAULT_STACK_SIZE -> OS_STACK_SIZE, |
jacquesolivierklein | 31:2afcd3a7b307 | 14 | add line 29 EventFlags my_event_flags; |
jacquesolivierklein | 31:2afcd3a7b307 | 15 | thread_signal.signal_set -> my_event_flags.set |
jacquesolivierklein | 31:2afcd3a7b307 | 16 | Simplify ISR (no access to bargraph). |
jacquesolivierklein | 31:2afcd3a7b307 | 17 | L432KC Firmare update (ST-LINK) -> test OK. |