mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -04:00
Common source code:
- Remove configASSERT() if a queue cannot be created, malloc failed hook will be called anyway. Demo apps: - RZ/T blinky demo working, but still lots to do to improve the port.
This commit is contained in:
parent
28d8a27f8f
commit
b9f235846f
13 changed files with 1833 additions and 12 deletions
|
@ -444,7 +444,6 @@ QueueHandle_t xReturn = NULL;
|
|||
traceCREATE_MUTEX_FAILED();
|
||||
}
|
||||
|
||||
configASSERT( pxNewQueue );
|
||||
return pxNewQueue;
|
||||
}
|
||||
|
||||
|
@ -1219,8 +1218,8 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
|
|||
if the item size is not 0. */
|
||||
configASSERT( pxQueue->uxItemSize == 0 );
|
||||
|
||||
/* Normally a mutex would not be given from an interrupt, especially if
|
||||
there is a mutex holder, as priority inheritance makes no sense for an
|
||||
/* Normally a mutex would not be given from an interrupt, especially if
|
||||
there is a mutex holder, as priority inheritance makes no sense for an
|
||||
interrupts, only tasks. */
|
||||
configASSERT( !( ( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX ) && ( pxQueue->pxMutexHolder != NULL ) ) );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue