diff options
author | RJ Ryan <rryan@mit.edu> | 2011-09-16 22:14:42 -0400 |
---|---|---|
committer | RJ Ryan <rryan@mit.edu> | 2011-09-16 22:14:42 -0400 |
commit | 6bd3f6ae8b957ec3fdc3fbf53b969bfa1dbad69c (patch) | |
tree | 09d035f9eebf503ec3c31e5a72a0385d1671137c /libmaple/fsmc.h | |
parent | 04f4b667595194a4acd29871226dc22463714686 (diff) | |
download | librambutan-6bd3f6ae8b957ec3fdc3fbf53b969bfa1dbad69c.tar.gz librambutan-6bd3f6ae8b957ec3fdc3fbf53b969bfa1dbad69c.zip |
Add a libc abort() implementation.
The STL in particular relies on abort() for entering an error
state. Without an abort() definition, the use of many STL primitives
results in a link error because the default implementation of abort()
uses _kill, _exit, and _getpid -- none of which are present. My
abort() implementation writes an error message to the error USART and
enters the throbbing-LED error state.
Signed-off-by: RJ Ryan <rryan@mit.edu>
Diffstat (limited to 'libmaple/fsmc.h')
0 files changed, 0 insertions, 0 deletions