The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: stackheap.h
- Revision:
- 4:5d1359a283bc
- Parent:
- 1:6b7f447ca868
--- a/stackheap.h Fri Nov 14 15:25:20 2008 +0000 +++ b/stackheap.h Thu Nov 27 16:23:24 2008 +0000 @@ -73,7 +73,11 @@ inline int stack_limit() { +#ifdef __GNUC__ + return (unsigned)__builtin_frame_address(0); +#else return __current_sp(); +#endif } inline int stack_size() {