![](/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
Diff: readme.txt
- Revision:
- 31:2afcd3a7b307
- Parent:
- 30:39a2766bdd0c
--- a/readme.txt Sun Feb 11 19:23:36 2018 +0000 +++ b/readme.txt Wed Jan 09 12:25:49 2019 +0000 @@ -3,8 +3,15 @@ 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 +Tested: YES (2019-01-09) Author: Jacques-Olivier Klein - IUT de CACHAN -Date: 2018-02-11 -DEFAULT_STACK_SIZE=2048 -Libraries: mbed-os rev2741:bcf7085(26feb-2017) + IHMV1 (from IUT-Cachan) rev4:a9e51ac +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.