Add Xtensa port

The project file is for Xtensa Xplorer simulator.
Also add tests for one size stream buffer.
This commit is contained in:
Gaurav Aggarwal 2018-06-14 19:43:17 +00:00
parent 7d92e4dd8f
commit c4b1afc4ef
34 changed files with 8564 additions and 5 deletions

View file

@ -224,7 +224,14 @@ static void prvInitialiseNewStreamBuffer( StreamBuffer_t * const pxStreamBuffer,
(that is, it will hold discrete messages with a little meta data that
says how big the next message is) check the buffer will be large enough
to hold at least one message. */
configASSERT( xBufferSizeBytes > sbBYTES_TO_STORE_MESSAGE_LENGTH );
if( xIsMessageBuffer == pdTRUE )
{
configASSERT( xBufferSizeBytes > sbBYTES_TO_STORE_MESSAGE_LENGTH );
}
else
{
configASSERT( xBufferSizeBytes > 0 );
}
configASSERT( xTriggerLevelBytes <= xBufferSizeBytes );
/* A trigger level of 0 would cause a waiting task to unblock even when