diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-02-02 14:56:18 -0800 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-02-02 14:56:18 -0800 |
commit | e2d292afdb43cd7d9391128563384e1edd53c52e (patch) | |
tree | e7577826c4a9e94e863556a1e9b721e55680ab88 /os | |
parent | 5c70974a399515fe5173c87c1e22c81bbbb2c1ab (diff) |
Moving the hooks into the os directory, where they belong.
Diffstat (limited to 'os')
-rw-r--r-- | os/Makefile | 1 | ||||
-rw-r--r-- | os/src/hooks.c | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/os/Makefile b/os/Makefile index d7d0419..37dbf56 100644 --- a/os/Makefile +++ b/os/Makefile @@ -9,6 +9,7 @@ include $(ROOTDIR)/arch/config.mk TARGET_SRCS = \ src/init.c \ +src/hooks.c \ \ src/filesystem.c \ src/fio.c \ diff --git a/os/src/hooks.c b/os/src/hooks.c new file mode 100644 index 0000000..2e18577 --- /dev/null +++ b/os/src/hooks.c @@ -0,0 +1,18 @@ +#include <FreeRTOS.h> +#include <task.h> +#include "osdebug.h" + +void vConfigureTimerForRunTimeStats() { + DBGOUT("vConfigureTimerForRunTimeStats()\r\n"); +} + +void vApplicationTickHook() { +// DBGOUT("vApplicationTickHook()\r\n"); +} + +void vApplicationStackOverflowHook(xTaskHandle *pxTask, signed portCHAR *pcTaskName) { + DBGOUT("vApplicationStackOverflowHook(%p, %s)\r\n", pxTask, pcTaskName); +} + +void vApplicationIdleHook() { +} |