![](/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
- Committer:
- jacquesolivierklein
- Date:
- 2019-01-09
- Revision:
- 31:2afcd3a7b307
- Parent:
- 30:39a2766bdd0c
File content as of revision 31:2afcd3a7b307:
Title : mbed-os-signal Purpose: Simple application example with 4 interrupt service routines (ISR) that trigger a thread thrgough its signals. 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 2019-01-06 : update mbed-os, IHMV1->V2, Thread::wait(int ms)-> wait(float s), ThreadGettid->osThreadGetId, DEFLAULT_STACK_SIZE -> OS_STACK_SIZE, add line 29 EventFlags my_event_flags; thread_signal.signal_set -> my_event_flags.set Simplify ISR (no access to bargraph). L432KC Firmare update (ST-LINK) -> test OK.