Merge pull request #1182 from pokey9000/master

Fix KL43Z GCC_ARM build
pull/1170/head^2
Martin Kojtal 2015-06-15 08:05:34 +02:00
commit 963ff55070
1 changed files with 0 additions and 32 deletions

View File

@ -1,32 +0,0 @@
/* mbed Microcontroller Library - stackheap
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
*
* Setup a fixed single stack/heap memory model,
* between the top of the RW/ZI region and the stackpointer
*/
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h>
#include <errno.h>
extern void exit(int return_code);
int _kill(int pid, int sig) {
errno = EINVAL;
return -1;
}
void _exit(int status) {
exit(status);
}
int _getpid(void) {
return 1;
}
#ifdef __cplusplus
}
#endif