<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 2015-June-15, at 1:12 PM, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" class="">sebastian.huber@embedded-brains.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><style class=""> body {height: 100%; color:#000000; font-size:12pt; font-family:arial,helvetica,sans-serif;}</style><div class=""><div class="">This is unfortunately not the bug we are looking after. I fixed the _CPU_ISR_Get_level() function for ARMv7-M.<br class=""></div></div></div></blockquote><br class=""></div><div class=""><br class=""></div><div class="">When did you fix it? In my pulled code armv7m-isr-level-get.c on line 29 is showing:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 12px; font-family: 'Courier New';" class=""><span style="color: #931a68" class=""><b class="">#ifdef</b></span> ARM_MULTILIB_ARCH_V7M</div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New'; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New';" class="">uint32_t _CPU_ISR_Get_level( <span style="color: #931a68" class=""><b class="">void</b></span> )</div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New';" class="">{</div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New'; color: rgb(147, 26, 104);" class=""><span style="color: #000000" class=""> </span><b class="">return</b><span style="color: #000000" class=""> 0;</span></div><div style="margin: 0px; font-size: 12px; font-family: 'Courier New';" class="">}</div><div class=""><br class=""></div><div class="">The assert in _Thread_Lock_acquire_default_critical (threadimpl.h@990) shows: <span style="font-family: 'Courier New'; font-size: 12px;" class=""> </span><span style="font-family: 'Courier New'; font-size: 12px;" class="">_Assert( _ISR_Get_level() != 0 );</span></div><div class=""><br class=""></div></div>Since _ISR_Get_level is a define for _CPU_ISR_Get_level (isrlevel.h) and always returns 0, this can never succeed.<div class=""><br class=""></div><div class="">Am I missing something?</div><div class=""><br class=""></div><div class="">Andrei</div></body></html>