zephyr/lib
Carlos Stuart 655d3cc2b0 lib: cmsis_rtos_v2: Default thread prioity
If an unitialized/zeroed optional attribute was passed to osThreadNew
the priority would be osThreadNone i.e. uninitialized. This causes an
ASSERT to be hit as the priority isn't valid (it is not between
osPriorityIdle and osPriorityISR).

The fix checks the passed in priority is not osPriorityNone and assigns
osPriorityNormal. This is the correct CMSIS behaviour.

The ASSERT will still be hit if the priority is invalid (<0).

Signed-off-by: Carlos Stuart <carlosstuart1970@gmail.com>
2019-02-06 10:20:17 -05:00
..
cmsis_rtos_v1 lib: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
cmsis_rtos_v2 lib: cmsis_rtos_v2: Default thread prioity 2019-02-06 10:20:17 -05:00
gui gui: Upstep LittlevGL to version 5.3 2019-02-04 15:32:29 -05:00
libc arch/x86_64: New architecture added 2019-01-11 15:18:52 -05:00
os misc: assert_post_action: Treat POSIX arch like others 2019-02-03 10:28:51 -08:00
posix lib: posix: fix build break due to size comparsion 2019-02-01 23:41:09 -05:00
CMakeLists.txt lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00
Kconfig lib: flatten all loose components into one lib 2019-01-22 07:45:22 -05:00