aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/FreeRTOS/MapleFreeRTOS.cpp
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mit.edu>2011-09-16 22:14:42 -0400
committerRJ Ryan <rryan@mit.edu>2011-09-16 22:14:42 -0400
commit6bd3f6ae8b957ec3fdc3fbf53b969bfa1dbad69c (patch)
tree09d035f9eebf503ec3c31e5a72a0385d1671137c /libraries/FreeRTOS/MapleFreeRTOS.cpp
parent04f4b667595194a4acd29871226dc22463714686 (diff)
downloadlibrambutan-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 'libraries/FreeRTOS/MapleFreeRTOS.cpp')
0 files changed, 0 insertions, 0 deletions