Skip to content
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

Only GCC_ARM toolchain is supported, removing legacy code #9714

Merged
merged 1 commit into from Feb 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions platform/mbed_retarget.cpp
Expand Up @@ -1203,7 +1203,7 @@ extern "C" WEAK void __cxa_pure_virtual(void)
// Provide implementation of _sbrk (low-level dynamic memory allocation
// routine) for GCC_ARM which compares new heap pointer with MSP instead of
// SP. This make it compatible with RTX RTOS thread stacks.
#if defined(TOOLCHAIN_GCC_ARM) || defined(TOOLCHAIN_GCC_CR)
#if defined(TOOLCHAIN_GCC_ARM)

#if defined(TARGET_CORTEX_A)
extern "C" uint32_t __HeapLimit;
Expand Down Expand Up @@ -1255,7 +1255,7 @@ extern "C" WEAK caddr_t _sbrk(int incr)
#endif
#endif

#if defined(TOOLCHAIN_GCC_ARM) || defined(TOOLCHAIN_GCC_CR)
#if defined(TOOLCHAIN_GCC_ARM)
extern "C" void _exit(int return_code)
{
#else
Expand Down Expand Up @@ -1285,7 +1285,7 @@ extern "C" void exit(int return_code)
while (1);
}

#if !defined(TOOLCHAIN_GCC_ARM) && !defined(TOOLCHAIN_GCC_CR)
#if !defined(TOOLCHAIN_GCC_ARM)
} //namespace std
#endif

Expand Down

This file was deleted.

This file was deleted.