]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_A9_Zynq_ZC702/RTOSDemo/src/main.c
Add the option to specify a stack size in the standard demo MessageBuffer tests.
[freertos] / FreeRTOS / Demo / CORTEX_A9_Zynq_ZC702 / RTOSDemo / src / main.c
index 0e73951f660baad25d16dabeb04aa70c84344a83..eac0821589f0017a078be1260e662ede1cb3932a 100644 (file)
@@ -76,6 +76,8 @@
 #include "EventGroupsDemo.h"\r
 #include "TaskNotify.h"\r
 #include "IntSemTest.h"\r
+#include "StreamBufferInterrupt.h"\r
+#include "StreamBufferDemo.h"\r
 \r
 /* Xilinx includes. */\r
 #include "platform.h"\r
@@ -293,6 +295,14 @@ void vApplicationTickHook( void )
                /* Use mutexes from interrupts. */\r
                vInterruptSemaphorePeriodicTest();\r
 \r
+               /* Writes to stream buffer byte by byte to test the stream buffer trigger\r
+               level functionality. */\r
+               vPeriodicStreamBufferProcessing();\r
+\r
+               /* Writes a string to a string buffer four bytes at a time to demonstrate\r
+               a stream being sent from an interrupt to a task. */\r
+               vBasicStreamBufferSendFromISR();\r
+\r
                /* Test flop alignment in interrupts - calling printf from an interrupt\r
                is BAD! */\r
                #if( configASSERT_DEFINED == 1 )\r