FreeRTOS
+
0
/4 examples
SourceVu will show references to
configASSERT
from the following samples and libraries:
httpd sample
iperf sample
ntp_client_socket sample
ping sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
FreeRTOS
configASSERT
configASSERT macro
Syntax
Show:
Summary
Declaration
from
FreeRTOS.h:368
#define
configASSERT
(
x
)
Arguments
Argument
x
Examples
configASSERT
is referenced by 4 libraries and example projects:
httpd sample
iperf sample
ntp_client_socket sample
ping sample
References
from
0/4
examples
Code
Location
#define
configASSERT
(
x
)
FreeRTOS.h:368
#ifndef
configASSERT
FreeRTOS.h:367
configASSERT
(
(
uxBitsToWaitFor
&
eventEVENT_BITS_CONTROL_BYTES
)
==
0
)
;
event_groups.c:197
configASSERT
(
uxBitsToWaitFor
!=
0
)
;
event_groups.c:198
configASSERT
(
!
(
(
xTaskGetSchedulerState
(
)
==
taskSCHEDULER_SUSPENDED
)
&&
(
xTicksToWait
!=
0
)
)
)
;
event_groups.c:201
configASSERT
(
xEventGroup
)
;
event_groups.c:327
configASSERT
(
(
uxBitsToWaitFor
&
eventEVENT_BITS_CONTROL_BYTES
)
==
0
)
;
event_groups.c:328
configASSERT
(
uxBitsToWaitFor
!=
0
)
;
event_groups.c:329
configASSERT
(
!
(
(
xTaskGetSchedulerState
(
)
==
taskSCHEDULER_SUSPENDED
)
&&
(
xTicksToWait
!=
0
)
)
)
;
event_groups.c:332
configASSERT
(
xEventGroup
)
;
event_groups.c:482
configASSERT
(
(
uxBitsToClear
&
eventEVENT_BITS_CONTROL_BYTES
)
==
0
)
;
event_groups.c:483
configASSERT
(
xEventGroup
)
;
event_groups.c:562
configASSERT
(
(
uxBitsToSet
&
eventEVENT_BITS_CONTROL_BYTES
)
==
0
)
;
event_groups.c:563
configASSERT
(
pxEventBits
)
;
event_groups.c:654
configASSERT
(
pxTasksWaitingForBits
->
xListEnd
.
pxNext
!=
(
const
ListItem_t
*
)
&
(
pxTasksWaitingForBits
->
xListEnd
)
)
;
event_groups.c:666
configASSERT
(
(
(
uint8_t
*
)
(
pxBlock
)
>=
&
(
ucHeap
[
0
]
)
)
&&
\
heap_4.c:135
configASSERT
(
heapSUBTRACT_WILL_UNDERFLOW
(
pxBlock
->
xBlockSize
,
xWantedSize
)
==
0
)
;
heap_4.c:270
configASSERT
(
(
(
(
size_t
)
pxNewBlockLink
)
&
portBYTE_ALIGNMENT_MASK
)
==
0
)
;
heap_4.c:279
configASSERT
(
(
(
(
size_t
)
pvReturn
)
&
(
size_t
)
portBYTE_ALIGNMENT_MASK
)
==
0
)
;
heap_4.c:349
configASSERT
(
heapBLOCK_IS_ALLOCATED
(
pxLink
)
!=
0
)
;
heap_4.c:369
configASSERT
(
pxLink
->
pxNextFreeBlock
==
heapPROTECT_BLOCK_POINTER
(
NULL
)
)
;
heap_4.c:370
configASSERT
(
ucPrimaryCoreNum
==
INVALID_PRIMARY_CORE_NUM
)
;
port.c:372
configASSERT
(
get_core_num
(
)
==
0
)
;
/* we must be started on core 0 */
port.c:380
configASSERT
(
pxYieldSpinLock
[
portGET_CORE_ID
(
)
]
==
NULL
)
;
port.c:459
configASSERT
(
uxCriticalNesting
)
;
port.c:487
configASSERT
(
xCoreID
!=
(
int
)
portGET_CORE_ID
(
)
)
;
port.c:542
configASSERT
(
!
portCHECK_IF_IN_ISR
(
)
)
;
port.c:1023
configASSERT
(
pxYieldSpinLock
[
portGET_CORE_ID
(
)
]
==
NULL
)
;
port.c:1033
configASSERT
(
pxLock
->
spin_lock
)
;
port.c:1038
configASSERT
(
!
portCHECK_IF_IN_ISR
(
)
)
;
port.c:1101
configASSERT
(
portIS_FREE_RTOS_CORE
(
)
)
;
port.c:1111
configASSERT
(
pxYieldSpinLock
[
portGET_CORE_ID
(
)
]
==
NULL
)
;
port.c:1112
configASSERT
(
pxLock
->
spin_lock
)
;
port.c:1121
configASSERT
(
ulLockNum
<
portRTOS_SPINLOCK_COUNT
)
;
portmacro.h:216
configASSERT
(
ulLockBit
<
256u
)
;
portmacro.h:219
configASSERT
(
ucRecursionCountByLock
[
ulLockNum
]
!=
255u
)
;
portmacro.h:227
configASSERT
(
ucRecursionCountByLock
[
ulLockNum
]
==
0
)
;
portmacro.h:238
configASSERT
(
(
ucOwnedByCore
[
ulCoreNum
]
&
ulLockBit
)
!=
0
)
;
portmacro.h:244
configASSERT
(
ucRecursionCountByLock
[
ulLockNum
]
!=
0
)
;
portmacro.h:245
configASSERT
(
(
cTxLock
)
!=
queueINT8_MAX
)
;
\
queue.c:282
configASSERT
(
(
cRxLock
)
!=
queueINT8_MAX
)
;
\
queue.c:297
configASSERT
(
pxQueue
)
;
queue.c:311
configASSERT
(
xReturn
!=
pdFAIL
)
;
queue.c:364
configASSERT
(
pxNewQueue
)
;
queue.c:554
configASSERT
(
xSemaphore
)
;
queue.c:696
configASSERT
(
xSemaphore
)
;
queue.c:732
configASSERT
(
pxMutex
)
;
queue.c:763
configASSERT
(
pxMutex
)
;
queue.c:823
configASSERT
(
xHandle
)
;
queue.c:927
configASSERT
(
pxQueue
)
;
queue.c:950
configASSERT
(
!
(
(
pvItemToQueue
==
NULL
)
&&
(
pxQueue
->
uxItemSize
!=
(
UBaseType_t
)
0U
)
)
)
;
queue.c:951
configASSERT
(
!
(
(
xCopyPosition
==
queueOVERWRITE
)
&&
(
pxQueue
->
uxLength
!=
1
)
)
)
;
queue.c:952
configASSERT
(
!
(
(
xTaskGetSchedulerState
(
)
==
taskSCHEDULER_SUSPENDED
)
&&
(
xTicksToWait
!=
0
)
)
)
;
queue.c:955
configASSERT
(
pxQueue
)
;
queue.c:1168
configASSERT
(
!
(
(
pvItemToQueue
==
NULL
)
&&
(
pxQueue
->
uxItemSize
!=
(
UBaseType_t
)
0U
)
)
)
;
queue.c:1169
configASSERT
(
!
(
(
xCopyPosition
==
queueOVERWRITE
)
&&
(
pxQueue
->
uxLength
!=
1
)
)
)
;
queue.c:1170
configASSERT
(
pxQueue
)
;
queue.c:1344
configASSERT
(
pxQueue
->
uxItemSize
==
0
)
;
queue.c:1348
configASSERT
(
!
(
(
pxQueue
->
uxQueueType
==
queueQUEUE_IS_MUTEX
)
&&
(
pxQueue
->
u
.
xSemaphore
.
xMutexHolder
!=
NULL
)
)
)
;
queue.c:1353
configASSERT
(
(
pxQueue
)
)
;
queue.c:1513
configASSERT
(
!
(
(
(
pvBuffer
)
==
NULL
)
&&
(
(
pxQueue
)
->
uxItemSize
!=
(
UBaseType_t
)
0U
)
)
)
;
queue.c:1517
configASSERT
(
!
(
(
xTaskGetSchedulerState
(
)
==
taskSCHEDULER_SUSPENDED
)
&&
(
xTicksToWait
!=
0
)
)
)
;
queue.c:1522
configASSERT
(
(
pxQueue
)
)
;
queue.c:1666
configASSERT
(
pxQueue
->
uxItemSize
==
0
)
;
queue.c:1670
configASSERT
(
!
(
(
xTaskGetSchedulerState
(
)
==
taskSCHEDULER_SUSPENDED
)
&&
(
xTicksToWait
!=
0
)
)
)
;
queue.c:1675
configASSERT
(
(
pxQueue
)
)
;
queue.c:1889
configASSERT
(
!
(
(
(
pvBuffer
)
==
NULL
)
&&
(
(
pxQueue
)
->
uxItemSize
!=
(
UBaseType_t
)
0U
)
)
)
;
queue.c:1893
configASSERT
(
!
(
(
xTaskGetSchedulerState
(
)
==
taskSCHEDULER_SUSPENDED
)
&&
(
xTicksToWait
!=
0
)
)
)
;
queue.c:1898
configASSERT
(
pxQueue
)
;
queue.c:2045
configASSERT
(
!
(
(
pvBuffer
==
NULL
)
&&
(
pxQueue
->
uxItemSize
!=
(
UBaseType_t
)
0U
)
)
)
;
queue.c:2046
configASSERT
(
pxQueue
)
;
queue.c:2145
configASSERT
(
!
(
(
pvBuffer
==
NULL
)
&&
(
pxQueue
->
uxItemSize
!=
(
UBaseType_t
)
0U
)
)
)
;
queue.c:2146
configASSERT
(
pxQueue
->
uxItemSize
!=
0
)
;
/* Can't peek a semaphore. */
queue.c:2147
configASSERT
(
xQueue
)
;
queue.c:2203
configASSERT
(
pxQueue
)
;
queue.c:2224
configASSERT
(
pxQueue
)
;
queue.c:2245
configASSERT
(
pxQueue
)
;
queue.c:2260
configASSERT
(
pxQueue
)
;
queue.c:2642
configASSERT
(
pxQueue
)
;
queue.c:2687
configASSERT
(
xQueue
)
;
queue.c:3017
configASSERT
(
xQueue
)
;
queue.c:3067
configASSERT
(
xQueue
)
;
queue.c:3101
configASSERT
(
pxQueueSetContainer
)
;
/* LCOV_EXCL_BR_LINE */
queue.c:3320
configASSERT
(
pxQueueSetContainer
->
uxMessagesWaiting
<
pxQueueSetContainer
->
uxLength
)
;
queue.c:3321
configASSERT
(
xBufferSizeBytes
>
sbBYTES_TO_STORE_MESSAGE_LENGTH
)
;
stream_buffer.c:350
configASSERT
(
xBufferSizeBytes
>
0
)
;
stream_buffer.c:356
configASSERT
(
xBufferSizeBytes
>
0
)
;
stream_buffer.c:362
configASSERT
(
xTriggerLevelBytes
<=
xBufferSizeBytes
)
;
stream_buffer.c:365
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:563
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:606
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:668
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:728
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:762
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:798
configASSERT
(
pvTxData
)
;
stream_buffer.c:821
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:822
configASSERT
(
xRequiredSpace
>
xDataLengthBytes
)
;
stream_buffer.c:837
configASSERT
(
pxStreamBuffer
->
xTaskWaitingToSend
==
NULL
)
;
stream_buffer.c:885
configASSERT
(
pvTxData
)
;
stream_buffer.c:954
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:955
configASSERT
(
(
size_t
)
xMessageLength
==
xDataLengthBytes
)
;
stream_buffer.c:1017
configASSERT
(
pvRxData
)
;
stream_buffer.c:1063
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1064
configASSERT
(
pxStreamBuffer
->
xTaskWaitingToReceive
==
NULL
)
;
stream_buffer.c:1107
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1177
configASSERT
(
xBytesAvailable
==
0
)
;
stream_buffer.c:1198
configASSERT
(
pvRxData
)
;
stream_buffer.c:1223
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1224
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1339
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1367
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1407
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1446
configASSERT
(
xCount
>
(
size_t
)
0
)
;
stream_buffer.c:1483
configASSERT
(
(
xHead
+
xFirstLength
)
<=
pxStreamBuffer
->
xLength
)
;
stream_buffer.c:1491
configASSERT
(
(
xCount
-
xFirstLength
)
<=
pxStreamBuffer
->
xLength
)
;
stream_buffer.c:1499
configASSERT
(
xCount
!=
(
size_t
)
0
)
;
stream_buffer.c:1529
configASSERT
(
xFirstLength
<=
xCount
)
;
stream_buffer.c:1538
configASSERT
(
(
xTail
+
xFirstLength
)
<=
pxStreamBuffer
->
xLength
)
;
stream_buffer.c:1539
configASSERT
(
memset
(
pucBuffer
,
(
int
)
STREAM_BUFFER_BUFFER_WRITE_VALUE
,
xBufferSizeBytes
)
==
pucBuffer
)
;
stream_buffer.c:1604
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1641
configASSERT
(
pxStreamBuffer
)
;
stream_buffer.c:1656
configASSERT
(
pxStreamBuffer
->
xTaskWaitingToReceive
==
NULL
)
;
stream_buffer.c:1659
configASSERT
(
pxStreamBuffer
->
xTaskWaitingToSend
==
NULL
)
;
stream_buffer.c:1660
configASSERT
(
uxNotificationIndex
<
configTASK_NOTIFICATION_ARRAY_ENTRIES
)
;
stream_buffer.c:1663
configASSERT
(
uxTopPriority
)
;
\
tasks.c:185
configASSERT
(
(
listLIST_IS_EMPTY
(
pxDelayedTaskList
)
)
)
;
\
tasks.c:253
configASSERT
(
pxThisTCB
->
xTaskRunState
==
taskTASK_SCHEDULED_TO_YIELD
)
;
tasks.c:844
configASSERT
(
portGET_CRITICAL_NESTING_COUNT
(
)
>
0U
)
;
tasks.c:883
configASSERT
(
xSchedulerRunning
==
pdTRUE
)
;
tasks.c:1000
configASSERT
(
(
pxTCB
->
xTaskRunState
==
xCoreID
)
||
(
pxTCB
->
xTaskRunState
==
taskTASK_SCHEDULED_TO_YIELD
)
)
;
tasks.c:1084
configASSERT
(
(
(
(
portPOINTER_SIZE_TYPE
)
pxTopOfStack
&
(
portPOINTER_SIZE_TYPE
)
portBYTE_ALIGNMENT_MASK
)
==
0U
)
)
;
tasks.c:1840
configASSERT
(
uxPriority
<
configMAX_PRIORITIES
)
;
tasks.c:1894
configASSERT
(
uxSchedulerSuspended
==
0
)
;
tasks.c:2287
configASSERT
(
pxPreviousWakeTime
)
;
tasks.c:2353
configASSERT
(
(
xTimeIncrement
>
0U
)
)
;
tasks.c:2354
configASSERT
(
uxSchedulerSuspended
==
1U
)
;
tasks.c:2362
configASSERT
(
uxSchedulerSuspended
==
1U
)
;
tasks.c:2448
configASSERT
(
pxTCB
)
;
tasks.c:2498
configASSERT
(
uxNewPriority
<
configMAX_PRIORITIES
)
;
tasks.c:2780
configASSERT
(
uxSchedulerSuspended
==
0
)
;
tasks.c:3187
configASSERT
(
xTask
)
;
tasks.c:3285
configASSERT
(
xTaskToResume
)
;
tasks.c:3353
configASSERT
(
xTaskToResume
)
;
tasks.c:3415
configASSERT
(
(
sizeof
(
UBaseType_t
)
*
taskBITS_PER_BYTE
)
>=
configNUMBER_OF_CORES
)
;
tasks.c:3668
configASSERT
(
xReturn
!=
errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY
)
;
tasks.c:3748
configASSERT
(
portGET_CRITICAL_NESTING_COUNT
(
)
==
0
)
;
tasks.c:3867
configASSERT
(
uxSchedulerSuspended
!=
0U
)
;
tasks.c:3995
configASSERT
(
pxTCB
)
;
tasks.c:4197
configASSERT
(
strlen
(
pcNameToQuery
)
<
configMAX_TASK_NAME_LEN
)
;
tasks.c:4287
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
)
;
tasks.c:4500
configASSERT
(
(
xIdleTaskHandles
[
xCoreID
]
!=
NULL
)
)
;
tasks.c:4504
configASSERT
(
uxSchedulerSuspended
==
(
UBaseType_t
)
0U
)
;
tasks.c:4570
configASSERT
(
pxTCB
)
;
tasks.c:4599
configASSERT
(
portGET_CRITICAL_NESTING_COUNT
(
)
==
0
)
;
tasks.c:5171
configASSERT
(
pxEventList
)
;
tasks.c:5260
configASSERT
(
pxEventList
)
;
tasks.c:5290
configASSERT
(
uxSchedulerSuspended
!=
(
UBaseType_t
)
0U
)
;
tasks.c:5294
configASSERT
(
pxEventList
)
;
tasks.c:5322
configASSERT
(
pxUnblockedTCB
)
;
tasks.c:5377
configASSERT
(
uxSchedulerSuspended
!=
(
UBaseType_t
)
0U
)
;
tasks.c:5455
configASSERT
(
pxUnblockedTCB
)
;
tasks.c:5466
configASSERT
(
pxTimeOut
)
;
tasks.c:5522
configASSERT
(
pxTimeOut
)
;
tasks.c:5553
configASSERT
(
pxTicksToWait
)
;
tasks.c:5554
configASSERT
(
pxTCB
!=
NULL
)
;
tasks.c:5963
configASSERT
(
pxTCB
==
pxCurrentTCB
)
;
tasks.c:6708
configASSERT
(
pxTCB
->
uxMutexesHeld
)
;
tasks.c:6709
configASSERT
(
pxTCB
->
uxMutexesHeld
)
;
tasks.c:6802
configASSERT
(
pxTCB
!=
pxCurrentTCB
)
;
tasks.c:6829
configASSERT
(
portGET_CRITICAL_NESTING_COUNT
(
)
>
0U
)
;
tasks.c:7103
configASSERT
(
portGET_CRITICAL_NESTING_COUNT
(
)
>
0U
)
;
tasks.c:7164
configASSERT
(
uxIndexToWaitOn
<
configTASK_NOTIFICATION_ARRAY_ENTRIES
)
;
tasks.c:7635
configASSERT
(
uxIndexToWaitOn
<
configTASK_NOTIFICATION_ARRAY_ENTRIES
)
;
tasks.c:7739
configASSERT
(
uxIndexToNotify
<
configTASK_NOTIFICATION_ARRAY_ENTRIES
)
;
tasks.c:7856
configASSERT
(
xTaskToNotify
)
;
tasks.c:7857
configASSERT
(
xTickCount
==
(
TickType_t
)
0
)
;
tasks.c:7910
configASSERT
(
listLIST_ITEM_CONTAINER
(
&
(
pxTCB
->
xEventListItem
)
)
==
NULL
)
;
tasks.c:7925
configASSERT
(
xTaskToNotify
)
;
tasks.c:7978
configASSERT
(
uxIndexToNotify
<
configTASK_NOTIFICATION_ARRAY_ENTRIES
)
;
tasks.c:7979
configASSERT
(
xTickCount
==
(
TickType_t
)
0
)
;
tasks.c:8053
configASSERT
(
listLIST_ITEM_CONTAINER
(
&
(
pxTCB
->
xEventListItem
)
)
==
NULL
)
;
tasks.c:8064
configASSERT
(
xTaskToNotify
)
;
tasks.c:8156
configASSERT
(
uxIndexToNotify
<
configTASK_NOTIFICATION_ARRAY_ENTRIES
)
;
tasks.c:8157
configASSERT
(
listLIST_ITEM_CONTAINER
(
&
(
pxTCB
->
xEventListItem
)
)
==
NULL
)
;
tasks.c:8198
configASSERT
(
uxIndexToClear
<
configTASK_NOTIFICATION_ARRAY_ENTRIES
)
;
tasks.c:8286
configASSERT
(
uxIndexToClear
<
configTASK_NOTIFICATION_ARRAY_ENTRIES
)
;
tasks.c:8325
configASSERT
(
xReturn
)
;
timers.c:326
configASSERT
(
(
xTimerPeriodInTicks
>
0
)
)
;
timers.c:425
configASSERT
(
xTimer
)
;
timers.c:461
configASSERT
(
xCommandID
<
tmrFIRST_FROM_ISR_COMMAND
)
;
timers.c:472
configASSERT
(
xTimer
)
;
timers.c:512
configASSERT
(
xCommandID
>=
tmrFIRST_FROM_ISR_COMMAND
)
;
timers.c:523
configASSERT
(
(
xTimerTaskHandle
!=
NULL
)
)
;
timers.c:549
configASSERT
(
xTimer
)
;
timers.c:563
configASSERT
(
xTimer
)
;
timers.c:578
configASSERT
(
xTimer
)
;
timers.c:603
configASSERT
(
xTimer
)
;
timers.c:645
configASSERT
(
xTimer
)
;
timers.c:691
configASSERT
(
pxCallback
)
;
timers.c:957
configASSERT
(
(
pxTimer
->
xTimerPeriodInTicks
>
0
)
)
;
timers.c:1040
configASSERT
(
xTimer
)
;
timers.c:1169
configASSERT
(
xTimer
)
;
timers.c:1198
configASSERT
(
xTimer
)
;
timers.c:1219
configASSERT
(
xTimerQueue
)
;
timers.c:1276
Call Tree
from
0/4
examples
All items filtered out
All items filtered out
Data Use
from
0/4
examples
All items filtered out
All items filtered out
Class Tree
from
0/4
examples
All items filtered out
All items filtered out
Override Tree
from
0/4
examples
All items filtered out
All items filtered out
Implementations
from
0/4
examples
All items filtered out
All items filtered out
Instances
from
0/4
examples
Lifecycle
from
0/4
examples
All items filtered out
All items filtered out