mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-21 04:07:49 -04:00
Add Xtensa port
The project file is for Xtensa Xplorer simulator. Also add tests for one size stream buffer.
This commit is contained in:
parent
7d92e4dd8f
commit
c4b1afc4ef
34 changed files with 8564 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue