char cExpectedString[ 15 ];\r
char cReceivedString[ 15 ];\r
char cMessage;\r
-const TickType_t xShortBlockTime = pdMS_TO_TICKS( 5 );\r
+const TickType_t xShortBlockTime = pdMS_TO_TICKS( 150 );\r
\r
/* This task is created more than once so the task's parameter is used to\r
pass in a task number, which is then used as an index into the message\r
\r
void vGenerateM4ToM7Interrupt( void * xUpdatedMessageBuffer )\r
{\r
-MessageBufferHandle_t xUpdatedBuffer = ( MessageBufferHandle_t ) xUpdatedMessageBuffer;\r
-const char cMessage[] = "\r\nvGenerateM4ToM7Interrupt\r\n";\r
-\r
/* Called by the implementation of sbRECEIVE_COMPLETED() in FreeRTOSConfig.h.\r
See the comments at the top of this file. Write the handle of the data\r
message buffer to which data was written to the control message buffer. */\r
-#if 0\r
- if( xUpdatedBuffer != xControlMessageBuffer )\r
- {\r
- while( xMessageBufferSend( xControlMessageBuffer, &xUpdatedBuffer, sizeof( xUpdatedBuffer ), mbaDONT_BLOCK ) != sizeof( xUpdatedBuffer ) )\r
- {\r
- /* Nothing to do here. Note it is very bad to loop in an interrupt\r
- service routine. If a loop is really required then defer the\r
- routine to a task. */\r
- }\r
-\r
- /* Generate interrupt in the M4 core. */\r
- HAL_EXTI_D1_EventInputConfig( EXTI_LINE0, EXTI_MODE_IT, DISABLE );\r
- HAL_EXTI_D2_EventInputConfig( EXTI_LINE0, EXTI_MODE_IT, ENABLE );\r
- HAL_EXTI_GenerateSWInterrupt( EXTI_LINE0 );\r
- }\r
-#endif\r
\r
/* Generate interrupt in the M7 core. */\r
HAL_EXTI_D2_EventInputConfig( EXTI_LINE1, EXTI_MODE_IT, DISABLE );\r