diff options
author | Nis Sarup <nis@sarup.dk> | 2011-06-21 17:02:06 +0200 |
---|---|---|
committer | Nis Sarup <nis@sarup.dk> | 2011-06-21 17:02:06 +0200 |
commit | 4755bd8fe252ffdc07de99e11ef049402f875108 (patch) | |
tree | 6823c2549f27c160f6f49fd5ea87cb4573d2d027 /libraries/FreeRTOS/MapleFreeRTOS.cpp | |
parent | 7ebddc4fca0e77904f56471c9f2759c2ff256e5a (diff) | |
download | librambutan-4755bd8fe252ffdc07de99e11ef049402f875108.tar.gz librambutan-4755bd8fe252ffdc07de99e11ef049402f875108.zip |
FreeRTOS: Added FreeRTOS 7.0.1, including hook in libmaple/systick.c and example blinky.
Diffstat (limited to 'libraries/FreeRTOS/MapleFreeRTOS.cpp')
-rw-r--r-- | libraries/FreeRTOS/MapleFreeRTOS.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/FreeRTOS/MapleFreeRTOS.cpp b/libraries/FreeRTOS/MapleFreeRTOS.cpp new file mode 100644 index 0000000..da06b3d --- /dev/null +++ b/libraries/FreeRTOS/MapleFreeRTOS.cpp @@ -0,0 +1,17 @@ +#include "MapleFreeRTOS.h" + +extern "C" { + +void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName ) +{ + /* This function will get called if a task overflows its stack. If the + parameters are corrupt then inspect pxCurrentTCB to find which was the + offending task. */ + + ( void ) pxTask; + ( void ) pcTaskName; + + for( ;; ); +} + +} |