Skip to content

Commit 6e74eb4

Browse files
committed
Fix for CM0 with heap_useNewlib_ST
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 778bf9d commit 6e74eb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/portmacro.h

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
#if (__CORTEX_M == 0x00U)
1616
#include "../portable/GCC/ARM_CM0/portmacro.h"
17+
/* Stub for heap_useNewlib_ST */
18+
inline __attribute__(( always_inline )) static BaseType_t xPortIsInsideInterrupt( void ) { return pdFALSE; }
1719
#endif
1820

1921
#if (__CORTEX_M == 0x03U)

0 commit comments

Comments
 (0)