Skip to content

Update heap_useNewlib from Dave Nadler to support newlib 3.1 #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 17, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix for CM0 with heap_useNewlib_ST
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Apr 17, 2021
commit 6e74eb4606c0c39d01f9faf7e5931b5f0528f0bb
2 changes: 2 additions & 0 deletions src/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

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

#if (__CORTEX_M == 0x03U)
Expand Down