mbed library sources that still uses the stm standard peripheral library
Fork of mbed-src by
Diff: common/exit.c
- Revision:
- 416:271884f87da0
- Parent:
- 158:3121b9889f7b
--- a/common/exit.c Tue Nov 25 07:15:09 2014 +0000 +++ b/common/exit.c Tue Nov 25 07:30:07 2014 +0000 @@ -22,6 +22,8 @@ #ifdef TOOLCHAIN_GCC_CW // TODO: Ideally, we would like to define directly "_ExitProcess" void mbed_exit(int return_code) { +#elif defined TOOLCHAIN_GCC_ARM +void _exit(int return_code) { #else void exit(int return_code) { #endif