mbed-os/features/FEATURE_COMMON_PAL
Tero Jääskö f0cc00ef3b nanostack-hal: add alternative critical section implementation
The nanostack hal's critical section uses a mutex for mutual exclusion,
which is nice for many use cases. But when one needs to use the critical
section from interrupts, the RTX will have a assertion failure and panic.

Add a configurable for mbed_lib, which can be used to enable a alternative
version of critical section, which uses the underlying OS primitives, which
disables the interrupts.

Note: the default behavior is not changed, one needs to override the
"nanostack-hal.critical-section-usable-from-interrupt" to have "true".

Reason for this change is that there is a need for sending events using
nanostack event queue from interrupt context, eg. from a socket callback.
2018-02-27 17:12:55 +02:00
..
mbed-client-randlib Merge commit '829a5273f99d632340333ae4c404780db3f9202f' into nanostack-release-candidate 2017-11-16 14:21:49 +02:00
mbed-coap Update mbed-coap to version 4.2.0 2018-02-07 13:03:12 +02:00
mbed-trace Merge commit 'a5a8e95bd4ed695254159b6d84904116231ad640' into nanostack-release-candidate 2017-11-16 14:22:03 +02:00
nanostack-hal-mbed-cmsis-rtos nanostack-hal: add alternative critical section implementation 2018-02-27 17:12:55 +02:00
nanostack-libservice Merge commit 'db48ee553797312ab0b796797942a1c14db16c62' into nanostack-release-candidate 2017-11-16 14:22:17 +02:00
sal-stack-nanostack-eventloop Merge commit 'dd2b0955ae955137785c1dc6587594ea2c5161c5' 2017-08-23 15:10:21 +03:00